Am 13.02.2015 um 15:50 schrieb Mats Luspa:
I have configured an outgoing server that relays one domain to a
smtp-host and the rest of the addresses to the internet.

I'm using the transport_maps-option and have no value on relayhost.
The transport-map has the following information:

irf.se    smtp:[mail.irf.se]:XXXXX
*         smtp:

this is *not* local delivery
this is *smtp*

wildcard is *always* bad

http://www.postfix.org/ADDRESS_VERIFICATION_README.html
http://www.postfix.org/LOCAL_RECIPIENT_README.html
http://www.postfix.org/LOCAL_RECIPIENT_README.html#main_config

It works well for mail-addresses that exists. However when I send mail
to a non-existing mail address it is only deferred when it should be
rejected. I have checked the log files and it seems that my outgoing
mail server gets the reject code 550 but continues to consider the
non-existing mailaddress as a local mail address and tries to deliver
it locally. When that not succeed it put the mail message into the
deferred queue. The result is that it now continues to try to send
that mail and the sending user gets "Undeliverable"-messages
continuously.

What configuration should be done to stop local delivery of a message
after the server has gotten code 550 for that message?

who knows when you don't provide "postconnf -n" and no logs while talk about local delivery but say above you are using smtp tramsports

Reply via email to