• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

qmail problems after upgrading to 9.3

J

Joloco

Guest
Hello!

After upgrading to Plesk 9.3, I've been experiencing some problems with qmail.

There's two issues:


1) Mails sent (via PHP's mail function) are sometimes bouncing, depending on the destination host. The problem is the "return-path" header is set to [email protected] (numbers changed!) which isn't valid. (I can get around the problem by specifying a return-path header in my PHP script, but ideally I'd like to get rid of the problem completely.)

2) Mails sent from the server to me (cron reports mainly, but also the Plesk update email) are sent from #@[] which is failing for the same reason.


The destination mail server is rejecting the emails for having invalid "from" or "return-path" addresses.

With both issues, the log shows lines like these... (Anonymised and edited for ease of reading!)


Mar 7 07:49:44 s12345678 qmail: 1265260584.544304 info msg 22473956: bytes 2951 from <#@[]> qp 17033 uid 2021
...
Mar 7 07:49:44 s12345678 qmail: 1265260584.730077 delivery 1412: deferral: 123.45.67.890_does_not_like_recipient./Remote_host_said:_421_invalid_sender_domain_'[]'_(misconfigured_dns?)/Giving_up_on_123.45.67.890./
...
Mar 8 03:35:30 s12345678 qmail-remote-handlers[26961]: [email protected]
...
Mar 8 03:35:30 s12345678 qmail: 1268029350.931254 delivery 256: deferral: 123.45.67.890_does_not_like_recipient./Remote_host_said:_421_invalid_sender_domain_'s12345678.s12345678'_(misconfigured_dns?)/Giving_up_on_123.45.67.890./

Any ideas anyone? :)

Thanks in advance!

Joe
 
Hello, the update process of Plesk writes the wrong data in the "me" file. You have to change follwing data:

path: /var/qmail/control/me
wrong data: s12345678
correct data: <your server name> (e.g. s12345678.server.net)
 
Last edited by a moderator:
Back
Top