I would like to add a custom exim filter files for incoming mail which has a link with "php?" then delivered it to spam folder or mark it as spam like give it a spam score
I can't use the SpamAssassin for that becouse the SpamAssassin doesn't scan the mail which has a big size , no recommended to make the SpamAssassin scanning large messages that can lead to increased CPU or memory usage
so the exim filter look like below , but I couldn't complete its wording to do what I need
===================
#links with .php & html - roul
if
$message_body contains ".php?"
and $message_body contains "http"
then
.........
endif
===================
Thanks
I can't use the SpamAssassin for that becouse the SpamAssassin doesn't scan the mail which has a big size , no recommended to make the SpamAssassin scanning large messages that can lead to increased CPU or memory usage
so the exim filter look like below , but I couldn't complete its wording to do what I need
===================
#links with .php & html - roul
if
$message_body contains ".php?"
and $message_body contains "http"
then
.........
endif
===================
Thanks
Last edited: