[exim] Excluding some domains from DATA ACL

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Pascal Rossi
Datum:  
To: exim-users
Betreff: [exim] Excluding some domains from DATA ACL
Hi,

We currently have the following situation in the data ACL:

- Virus scanning
- Spam scanning low points (goes into the users mailbox / or passed on to
external mailserver)
- Spam scanning medium points (gets delivered in a special .Spam mail folder
/ or passed on to external mailserver)
- Spam scanning high points (gets rejected at the gate)

Now one of my customers complained that it received a bounce message due to
not scoring high spam points (one of those cases where the mail is not spam
but is still lacking From, Message-id and all sorts of other fun stuff so it
gets high points from SA)


So first I thought I'll just put the domain in the DATA ACL section with
something like the following line: domains = +relay_to_hosts :
+local_domains : ! domain.tld

But then got an error that domain list wasn't allowed in the DATA ACL...

So now I was wondering what to do next... I googled, searched the exim users
archives (which seem to be broken when trying to scroll) but have not found
a good solution.

What is the best way to do this in the following two situations:

- Skip DATA ACL scanning all together
- Skip refusing the mail when scoring high points but still having every
message for that domain go through SA and ClamAV

I am guessing the first one can be done through an accept condition
statement on the top of the DATA ACL just like you accept any large size
email from spam scanning?

Cheers,

Pascal