Re: [Exim] exiscan-acl with SpamAssassin tags outgoing mail

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tom Kistner
Fecha:  
A: Brian Dessent
Cc: Exim Users
Asunto: Re: [Exim] exiscan-acl with SpamAssassin tags outgoing mail
Brian Dessent wrote:


> In other words, I'm looking for the magic to add to my configuration so
> that messages delivered locally (or from authenticated SMTP) are not
> scanned.


On top of the DATA ACL, put this:

accept authenticated = *
accept hosts = +relay_from_hosts

> So, my question is: How can I specify that it should use the local user
> name to which it's delivering the mail as the user to run SpamAssassin
> as? For example, messages addressed to brian run SA as brian, messages
> addressed to david run SA as david, and messages to wildcards/aliases
> (such as 'webmaster') run SA as the user to whom the message will


This is a can of worms. Read section 6 of this document:

http://duncanthrax.net/exiscan-acl/exiscan-acl-examples.txt

regards,

/tom