Regex usage in antivirus.exim - not working
Hey all,
I can't seem to figure out what's going wrong here... I have a modified antivirus.exim file written by myself.
Here's the layout:
if
emails to filter
then
if
stuff to not filter (whitelist)
then
do nothing for the whitelisted
else
if
spam stuff
then
log etc
endif
if
spam stuff
then
log etc
endif
endif
enfif
Well... For some reason the following in the "emails to filter" section won't work: $message_headers: matches "(email1|email2)@(domain1|domain2).com"
Can someone point out whats missing here? I would really like to get this working again.
I have seperate logs for each section of spam stuff. I tried a single section, and it worked. But it seems that the problem is the emails to filter regex. So hopefully I can get that fixed today with your help!
Thanks!
Russ
---
Edit :: Title Change from "Exim Regex antivirus.exim" to "Regex usage in antivirus.exim - not working" - Reason: 14 views, no response
Hey all,
I can't seem to figure out what's going wrong here... I have a modified antivirus.exim file written by myself.
Here's the layout:
if
emails to filter
then
if
stuff to not filter (whitelist)
then
do nothing for the whitelisted
else
if
spam stuff
then
log etc
endif
if
spam stuff
then
log etc
endif
endif
enfif
Well... For some reason the following in the "emails to filter" section won't work: $message_headers: matches "(email1|email2)@(domain1|domain2).com"
Can someone point out whats missing here? I would really like to get this working again.
I have seperate logs for each section of spam stuff. I tried a single section, and it worked. But it seems that the problem is the emails to filter regex. So hopefully I can get that fixed today with your help!
Thanks!
Russ
---
Edit :: Title Change from "Exim Regex antivirus.exim" to "Regex usage in antivirus.exim - not working" - Reason: 14 views, no response
Last edited: