Re: [Exim] vacation condition broken

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Moses Moore
Data:  
Para: tengel
CC: exim-users
Assunto: Re: [Exim] vacation condition broken
On Thu, 2004-05-13 at 12:09, Troy Engel wrote:
> On the aliases -- is your vacation router in exim.conf *after* the alias
> expansion router? In practice it works best if it's right before
> localuser, next to last (well, at least for us).


Yeah, I thought so to, so that the $local_part has a chance to change
before I try !match{$header_to:}{(?i)$localpart}. Since I'm using
or{{}{}...}, the ${if {}{no}{yes}} should return 'no' if any of the
or{{}{}...} expansions match. It's not just the match{{}{}} that's not
working, but I've tried all four expansions.

Just in case I'm mistaken, the directors are, in order:

forced_fail:
driver= aliasfile
# big list of :fail: aliases

amavis_director:
# antivirus scanner, forwards to another MTA
# skips if coming from localhost and has a 'scanned' header

virtualusers:
driver= aliasfile
file = /etc/exim/aliases.$domain

system_aliases:
driver= aliasfile
file = /etc/aliases

user_vacation:
driver = smartuser
# blah blah blah

procmail:
driver = localuser
transport = procmail_pipe

localdeliver:
driver = smartuser
transport = cyrus_delivery