• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error sending mail with qmail

Stuart Whittaker

New Pleskian
I have a client who sends mail via authenicated SMTP on my Linux system with Plesk 12.0.18 Update #78.

The mail agent is qmail.

He is sending and receiving mail quite happily except when he sends to one email address in particular. The message bounces everytime with the following message:


Hi. This is the qmail-send program at ***name of server***.
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]>:

Connected to xxx.xxx.xxx.xxx but sender was rejected.

Remote host said: 550-Requested action not taken: mailbox unavailable

550 invalid DNS MX or A/AAAA resource record

I've attempted to do the same thing from the linux command line using my clients credentials and this is the extract from the mail log:

Mar 4 16:03:22 svr1 qmail-queue-handlers[19260]: Handlers Filter before-queue for qmail started ...
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: from=
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: [email protected]
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: Unable to get sender domain by sender mailname
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: Unable to get sender domain by sender mailname
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: handlers_stderr: SKIP
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: SKIP during call 'check-quota' handler
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: starter: submitter[19264] exited normally
Mar 4 16:03:56 svr1 qmail: 1457107436.737159 new msg 1965648
Mar 4 16:03:56 svr1 qmail: 1457107436.737189 info msg 1965648: bytes 300 from <> qp 19264 uid 2020
Mar 4 16:03:56 svr1 qmail: 1457107436.752637 starting delivery 1712: msg 1965648 to remote [email protected]
Mar 4 16:03:56 svr1 qmail: 1457107436.752663 status: local 0/10 remote 1/20
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: Handlers Filter before-remote for qmail started ...
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: from=postmaster@***name of server***
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: [email protected]
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: Unable to get sender domain by sender mailname

Is anyone able to shed any light on this?

Thanks in anticipation
 
I have a client who sends mail via authenicated SMTP on my Linux system with Plesk 12.0.18 Update #78.

The mail agent is qmail.

He is sending and receiving mail quite happily except when he sends to one email address in particular. The message bounces everytime with the following message:


Hi. This is the qmail-send program at ***name of server***.
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]>:

Connected to xxx.xxx.xxx.xxx but sender was rejected.

Remote host said: 550-Requested action not taken: mailbox unavailable

550 invalid DNS MX or A/AAAA resource record

I've attempted to do the same thing from the linux command line using my clients credentials and this is the extract from the mail log:

Mar 4 16:03:22 svr1 qmail-queue-handlers[19260]: Handlers Filter before-queue for qmail started ...
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: from=
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: [email protected]
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: Unable to get sender domain by sender mailname
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: Unable to get sender domain by sender mailname
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: handlers_stderr: SKIP
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: SKIP during call 'check-quota' handler
Mar 4 16:03:56 svr1 qmail-queue-handlers[19260]: starter: submitter[19264] exited normally
Mar 4 16:03:56 svr1 qmail: 1457107436.737159 new msg 1965648
Mar 4 16:03:56 svr1 qmail: 1457107436.737189 info msg 1965648: bytes 300 from <> qp 19264 uid 2020
Mar 4 16:03:56 svr1 qmail: 1457107436.752637 starting delivery 1712: msg 1965648 to remote [email protected]
Mar 4 16:03:56 svr1 qmail: 1457107436.752663 status: local 0/10 remote 1/20
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: Handlers Filter before-remote for qmail started ...
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: from=postmaster@***name of server***
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: [email protected]
Mar 4 16:03:56 svr1 qmail-remote-handlers[19265]: Unable to get sender domain by sender mailname

Is anyone able to shed any light on this?

Thanks in anticipation

This might be due to a unpatched qmail install not handling DNS queries correctly (we moved off qmail years ago but reading around suggests its still not patched in most upstream packages of qmail)

http://fanf.livejournal.com/122220.html

Switching to Postfix or applying the patch to allow for the larger ANY DNS queries would rule this out as a cause.
 
Back
Top