Renaud Allard wrote: > On Thu, 08 Jan 2009 18:03:26 -0800 Steve Garcia <[email protected]> wrote > >> Eli Sand wrote: >>> Steve wrote: >>> >>>> How would I go about disabling spamassassin scans for outbound >>>> messages? >>> Combine it with the "authenticated" acl test to see if your users have >>> authenticated via SMTP (hopefully you use SMTP auth...). >> No, they don't. They authenticate with PAM. They are all local to the >> machine (via ssh), using alpine. >> > > In this case, this is even easier, just put > !hosts = localhost : > > Before your spamassassin ACL
Aha! This sounds promising. I'm still wrapping my mind around how the ACLs work. I'm using a very slightly modified Debian Etch exim4 config, and the spamassassin stuff is all in "acl_check_data". As near as I can tell, all that I'm doing in acl_check_data is examining the results of the spamassassin scan and making determinations of message disposition based on score. Would I place the statement at the *top* of that ACL? acl_check_data: !hosts = localhost : or before the acl? !hosts = localhost : acl_check_data: or inside each clause that looks at the spamassassin results? warn message = X-Spam-Flag: YES !hosts = localhost : spam = Debian-exim The last looks like the most likely, am I correct? -- Steve Garcia [email protected] Ignorance killed the cat; Curiosity was framed. -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
