[Exim] Shadow Transport glitch - REVISITED

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Odhiambo G. Washington
Datum:  
To: exim-users
Alte Treads: Re: [Exim] Shadow Transport glitch
Betreff: [Exim] Shadow Transport glitch - REVISITED
> > shadow_transport = backup_delivery
> > shadow_condition = ${lookup{$local_part}lsearch{/usr/local/etc/exim/mail_backup_users}{1}{0}}



I have run debug for delivery and I've realized why this condition is not
doing what I intended to do. The problem is actually with me. My setup
delivers mail locally using two transports, and two routers to boot.

We use procmail as LDA for scanning spam for local users. However, users
have to subscribe to this, thus the condition.

procmail:
driver = accept
check_local_user
transport = procmail_pipe
condition = ${lookup{$local_part}lsearch{/usr/local/etc/exim/spamcheck_users}{yes}{no}}


When this condition is TRUE, this mail is not passed to localuser router.

localuser:
driver = accept
check_local_user
transport = local_delivery


So once a an e-mail is processed by the procmail router, that's it. I still need to
keep a backup copy of this mail.

I am wondering if someone has some thoughts on how to go about this. Would it suffice
to just set a shadow transport to the procmail_pipe transport???



-Wash

--
Odhiambo Washington   <wash@???>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)



Be different: conform.