Re: [exim] duplicate delivery removal

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: Mihamina Rakotomandimby
CC: exim-users
Sujet: Re: [exim] duplicate delivery removal
Mihamina Rakotomandimby <mihamina@???> (Tue May 17 13:41:16 2011):
> Hi all,
>
> Let the aliases file:
> [...]
> team: manager, guy1, guy2, guy3
> [...]
>
> When someone send an email to
> [...]
> To: manager
> Cc: team
> [...]
>
> Then "manager" gets the email twice.
> That is a problem (in our use case point of view).


Sure that they get the mail twice only because of the shown setup?
I just tested it:

    /etc/aliases:
    team:   heiko, www-data


Then

    date | exim heiko team


And checked the log:

    2011-05-17 13:53:24 1QMIq4-00086Z-IT TO: heiko@???, team@??? (2)
    2011-05-17 13:53:24 1QMIq4-00086Z-IT <= root@??? U=root P=local S=339
    2011-05-17 13:53:24 1QMIq4-00086Z-IT => www-data <team@???> R=localuser T=local_delivery
    2011-05-17 13:53:24 1QMIq4-00086Z-IT => |procmail <heiko@???> R=userforward T=address_pipe


This is conforming to the specs:

    3.11 Duplicate addresses
    ------------------------


    Once routing is complete, Exim scans the addresses that are assigned to local
    and remote transports, and discards any duplicates that it finds. During this
    check, local parts are treated as case-sensitive. This happens only when
    actually delivering a message; when testing routers with -bt, all the routed
    addresses are shown.



May be, you where confused from the routers debug output or from

    exim -bt


this still shows the complete routing.
But, may be, *I* am wrong somewhere.

--
Heiko :: dresden : linux : SCHLITTERMANN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B