Hello

We moved from sendmail to postfix (unfortunately but my admin colleagues 
whated it that way).

We use MIMEDefang to do some sender / recipient rewriting, mainly to implement 
email forwarding in a SRS compatible way.

Now I have found a situation, where add_recipient apparently fails, but I'm 
not yet able to tell why.

We got a local user, [email protected]

Now that user is forwarding his emails to:

[email protected]
[email protected]
[email protected]

MIMEDefang doest this:

compute SRS sender
change_sender($srs-sender)
delete_recipient([email protected])
add_recipient([email protected])
add_recipient([email protected])
add_recipient([email protected])

This works, the sender is rewriten, the email is received by all three 
recipients.

Now that user wants to still have a copy deliviered to his inbox:

MIMEDefang doest this:

compute SRS sender
change_sender($srs-sender)
add_recipient([email protected])
add_recipient([email protected])
add_recipient([email protected])

The only diference is, that I don't delete the recipient.

Now my MIMEDefang debug output show, that all the parts changing sender and 
recipients are run.
But postfix then ignores those changes and delivers the email only via lmtp 
and only to [email protected]. The sender is not rewritten.

I did als try:

compute SRS sender
change_sender($srs-sender)
delete_recipient([email protected])
add_recipient([email protected])
add_recipient([email protected])
add_recipient([email protected])
add_recipient([email protected])

Same result, only local delivery.

Does anyone have a hint where to look for the cause of that problem?
Or is there some postfix restrictions, that sender/recipients only can be 
rewritten if after that rewrite none of the recipients are local.

Postfix 2.10.2 in use.

Btw, is there a way to tell postfix what to do in case a milter fails? No hits 
with Google....

Kind regards

Benoit Panizzon
-- 
I m p r o W a r e   A G    -    
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 07
CH-4133 Pratteln                Fax  +41 61 826 93 02
Schweiz                         Web  http://www.imp.ch
______________________________________________________
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to