Am 08.09.2011 14:20, schrieb Wietse Venema: > Josef Karliak: >> Good day everybody, >> could I change SMTP error message ? For example email doesn't >> exists, email return message like "5.1.1 smtp; 550 5.1.1 >> <noem...@fn.ca>: Recipient address rejected: User unknown in local >> recipient table> #SMTP#. Could I change this message, for my own >> message in the czech language ? (without diacritics of course:) > > Wietse: >> No. However, you can APPEND a local text to the reply if you >> upgrade to Postfix 2.8. > > Reindl Harald: >> this is a nice feature and active here since 2011-01 >> >> but be careful if you use postfix behind a barracuda-spamfirewall >> the firewall has to be exlcuded from "smtpd_reject_footer" because >> it will answer only the last line (reject footer) to a sending >> server if the rcpt does not exist and the sender does not get "User >> unknown" > > For automated processing, "550 5.1.1" at the beginning of the last > line should be sufficient to determine that the address is invalid. > For human processing, it matters little what the text says... > > Wietse
not really because this string does never exist on the receiving server and there are way too much servers answering with 550 for other errors too :-( status=bounced (host somlay.org[72.9.231.10] said: 550 No Such User Here (in reply to RCPT TO command)) status=bounced (host gmail-smtp-in.l.google.com[74.125.39.27] said: 550-5.1.1 The email account that you tried to reach does not exist status=bounced (host mx1.hotmail.com[65.55.37.120] said: 550 Requested action not taken: mailbox unavailable
signature.asc
Description: OpenPGP digital signature