Re: [Exim] Using Spam Assassin with Exim for remote addresse…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Phil Pennock
Data:  
Para: Rice, Kevin
CC: 'exim-users@exim.org'
Asunto: Re: [Exim] Using Spam Assassin with Exim for remote addresses
--
On 2001-12-21 at 13:03 -0600, Rice, Kevin wrote:
> What I was using as examples was the following director for forwarding:
>
> forwarddomain:
> driver = smartuser
> domains = testshield.xyzzy.com
> new_address = $local_part@???
>
> ..and the director from the docs from Andi Gohr for using Spam Assassin for
> filtering:
>
> #Spam Assassin
> spamcheck_director:
> condition = "${if eq {$received_protocol}{spam-scanned} {0}{1}}"
> driver = smartuser
> transport = spamcheck



> This didn't seem to work in that the forwarddomain director overrode the
> spamcheck one. So I tried to combine the two directors and came up with the
> following:


To quote from the default configuration file:
######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################


Order matters. Put spamcheck_director before forwarddomain. Second
time around, the $received_protocol should be "spam-scanned", so the
condition will be 0 and fail, so the director will be skipped and only
then will forwarddomain be seen.
--
I pretend to work. They pretend to pay me.
--
[ Content of type application/pgp-signature deleted ]
--