Re: [exim] Archiving Problems

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dean Bishop
Dátum:  
Címzett: Todd Lyons
CC: exim-users
Tárgy: Re: [exim] Archiving Problems
Thanks Todd,

    I kinda figured that this was the basic problem.  It makes perfect sense but I just cannot seem to find the correct place to put my archiving routers.  Would you mind having a look at the config attached and poke me in the eye with the correct placement?  The config is a cPanel generated config (with my add-in routers and transports).


Thanks in advance,
dean




-----Original Message-----
From: tlyons@??? [mailto:tlyons@sitehelp.org] On Behalf Of Todd Lyons
Sent: Monday, November 14, 2011 10:52 AM
To: Dean Bishop
Cc: exim-users@???
Subject: Re: [exim] Archiving Problems

On Sat, Nov 12, 2011 at 7:49 AM, Dean Bishop <dbishop@???> wrote:
>                In the configuration below the result is that messages
> sent to aliases are being processed twice by the outgoing_archiver
> router and this causes in duplication in the outgoing archive.  It
> also attempts to archive messages sent by an aliased address in a
> directory name which is based on the sender_address_local_part which
> is the alias rather than the actual account.  I've been at this for a
> couple of weeks but just cannot find a solution.


The issue is probably ordering. You are archiving the message first with unseen, then processing how that message will actually get delivered. If it's an aliased email, the alias router generates the new email address(es) and re-runs that message through the routers, starting at the top. If you think about this, that means you want exim to NOT archive messages that are subject to expansion, but you DO want exim to archive messages that are subject to local delivery or remote delivery.

So the simple solution is to put the archiving router after the alias expansion router and before the local delivery and remote delivery routers (i.e. between them).

Regards...       Todd
--
If Americans could eliminate sugary beverages, potatoes, white bread, pasta, white rice and sugary snacks, we would wipe out almost all the problems we have with weight and diabetes and other metabolic diseases. -- Dr. Walter Willett, Harvard School of Public Health