• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Reword qmail email notifications (failure notices etc)

Christopher McBride

Basic Pleskian
Hi,

I am looking to find out where I can reword the default notification emails qmail sends out if there's been a problem with delivering emails.

e.g.

Hi. This is the qmail-send program at domain.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.


It doesn't look quite professional saying "I've given up!"!


I've looked around everywhere, but just cant find out what to modify, or even where template files may be.


Any help would be appreciated!
 
Hello, Christopher

This error message means that Qmail was not able to deliver the bounce message. In another words the message was sent with user@sender_domain email address in the "From" field to inexistent mailbox user@destination_domain, and the message bounced back, but user@sender_domain mailbox also does not exist.

- It is recommended not to send bounce but reject mail for inexistent users, it can be set for every domain at the Domain->Mail->Preferences page in Plesk CP. To change this for multiply domains use group operations feature.

- Make sure that the domain you sent mail to is not listed in /var/qmail/control/locals configuration file. The file must contain 'localhost' entry only.

- If you get this error for a domain that is hosted on the PPP server, but has external MX, you have to disable 'Mail' service for this domain in Plesk Control Panel.

Please, check the following articles for more information:

http://kb.odin.com/en/1376
http://kb.odin.com/en/797


Another reason of the issue might be that Qmail uses TLS (SSL connection) to send mail. If destination SMTP server doesn't support TLS, you get the error listed above. Please, see the following article on how to check the if the server supports TLS:

http://kb.odin.com/en/1035
 
Thanks for the help - sorry I've not replied sooner - I just assumed that I would have gotten an email notification, but nothing came through.

The bounce message is a single-bounce, not a double-bounce as you explained.

The messages are being sent from the server to outside servers where email accounts do not exist.

e.g. sending an email to [email protected] returns this email immediately.

Hi. This is the qmail-send program at devonto.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[email protected]>:
65.55.37.120 does not like recipient.
Remote host said: 550 Requested action not taken: mailbox unavailable Giving up on 65.55.37.120.

The reason for the reply is correct, but it's just the wording that it is written in that I'd like to modify.


Thanks
 
To my best knowledge, Qmail should be patched in order to allow for custom error messages.

Parallels did tweek Qmail and applied various patches: i tried to check whether a custom error patch is applied. I did not find any, but I can be mistaken.

It is possible to apply your own patches and therefore patch for custom error messages. This advanced customizing of qmail is not for qmail noviches. Patching of pure qmail is easy, but patching of the qmail in plesk is cumbersome and very likely to break the proper working of qmail under plesk.

ADVICE: take it for granted that the qmail sends a specific error message.
 
Back
Top