On Sun, 28 Jan 2018 18:02:59 +0000 steve-ALUG@hst.me.uk allegedly wrote:
I had another google; this seems more promising, perhaps?
https://www.howtoforge.com/configure-custom-postfix-bounce-messages links to... http://www.postfix.org/bounce.5.html
Thanks Steve.
I had already looked at that. Unfortunately it doesn't do what you might expect it to. Bounces (and the other templates) simply lets you change the error message which will be delivered to /local/ mail users. So I can tailor the message I (or other users of my mail system) get when an email I am trying to send to "blah@domain" fails at some remote system (and I thus get a message like:
"This is the mail system at host smtp.rlogin.net.
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
blah@domain: host mailer.for.domain [12.34.67.78] said: 550 5.1.1 blah@domain: Recipient address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command)"
I can change the bounces templates so that the first bit "This is the mail system at smtp.rlogin.net...." and so on says anything I like. But that doesn't help me. I want to do the opposite and change the message I give to other mail systems if I reject a mail.
Thanks anyway. I'm still searching.
Mick
--------------------------------------------------------------------- Mick Morgan gpg fingerprint: FC23 3338 F664 5E66 876B 72C0 0A1F E60B 5BAD D312 http://baldric.net/about-trivia ---------------------------------------------------------------------