[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setforward doubt



"Rodrigo P. Telles" <rodrigo@xxxxxxxxxx> wrote:

>I've been writing/translating (to pt-BR) some DOCs about qmail, fastforward and some
>stuff.
>I'm trying to understand some pieces of setforward man page, like this:
>=============
>DUPLICATES
>~       When fastforward is building the recipient list for a message, it keeps
>track of  the  recipient  addresses
>~       and external mailing lists it has used.  If the same command shows up
>again, it skips it.  For example:
>
>~          everybody@xxxxx: programmers@xxxxx, testers@xxxxx;
>~          programmers@xxxxx: joe@xxxxx, bob@xxxxx;
>~          testers@xxxxx: joe@xxxxx, fred@xxxxx;
>
>~       A  message  to  everybody@xxxxx will be sent to joe@xxxxx only once.
>(This also means that addresses in an
>~       internal forwarding loop are discarded.)
>
>~       Exception: If a target has an owner address, commands for that target are
>considered  different  from  commands for ``outside'' targets.
>==============
>
>But its not so clear to me !
>My doubt is:
>=========
>Exception: If a target has an owner address, commands for that target are
>considered  different  from  commands for ``outside'' targets.
>=========
>
>Can someone explain me this behaviour by example(s) ?

Sure. Add:

testers-owner@xxxxx: joe@xxxxx

to DJB's example. A message to everybody@xxxxx will be sent to
joe@xxxxx twice: once for programmers@ and once for testers@ because
the existence of testers-owner@ makes testers@ "special".

What's happening is that setforward is doing alias duplication
elimination for regular aliases but not for mailing lists, which are
indicated by the existence of the -owner alias.

-Dave