Exim Regex antivirus.exim

MPCN_Russ1

Member
Jun 26, 2003
19
0
151
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
 
Last edited:

MPCN_Russ1

Member
Jun 26, 2003
19
0
151
Hey all,

Can anyone follow up? Steve (WHG)? I posted this over on your site too, and it hasn't yet been authorized. Can anyone give any hint or direction? Exim doesn't error on the regex. But it doesn't review any of the filters.

Hopefully someone has an idea on this. PLEASE review!

Thanks all,
Russ
 

Manuel_accu

Well-Known Member
Jun 19, 2005
191
0
166

MPCN_Russ1

Member
Jun 26, 2003
19
0
151
Hey all,

Apparently, it was my attempt at the whitelist. I removed the whitelist section and it all works with the (email1|email2)@(domain1|domain2).com setup.

So... Not I just need to figure out what's wrong with my whitelist :( or rather why it's not filtering past it!

Thanks all,
Russ