Hannu <[EMAIL PROTECTED]> writes:

> I have a forwarded mailbox and I use fetchmail to retrieve my mail
> from my mailbox. When a mail is released from the pending queue,
> standard TMDA sends the message to the origina envelope recipient.
> This causes the mail to get an extra round to my mail forwarding
> service.
> 
> I fixed this by changing one line at tmda-rfilter.
> I changed following line in Function release_pending:
>     recipient = msg.get('x-tmda-recipient')
> to
>     recipient = msg.get('delivered-to')
> 
> This way, the released message is not delivered to the original
> envelope receiver (*which in fact, might be several mailboxes, if
> local aliases are used!*) but only to my own local mailbox. Are there
> any risks?

Probably not if your change is local and only affects you.  We
wouldn't change this for the official version of TMDA since, if you
have an address configured as an alias for several mailboxes,
presumably each of those mailboxes should receive a copy.  As you've
noted, re-injecting the message to the X-TMDA-Recipient will cause
that to happen, whereas re-injecting it to Delivered-To will not.

Given your particular situation and your knowledge of your MTA's
configuration, it seems a safe change to make.


Tim

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to