Article ID: 128059, created on Jan 14, 2016, last review on Jan 14, 2016

  • Applies to:
  • Plesk Automation

Symptoms

An email cannot be delivered to the address recipient@example.com. The email is returned to the sender with the following message:

<recipient@example.com>: host mx.example.com[203.0.113.2] said: 551
This mail server requires authentication before sending mail from a locally
hosted domain. Please reconfigure your mail client to authenticate before
sending mail. (in reply to MAIL FROM command)

The following entries are logged in /usr/local/psa/var/log/maillog on the sending mail server:

Jan 14 20:39:30 mail01 postfix/smtpd[4043]: CE83281687: client=ppa.provider.tld[172.16.0.31], sasl_method=LOGIN, sasl_username=sender@ppadomain.tld
Jan 14 20:39:30 mail01 postfix/cleanup[4342]: CE83281687: message-id=<20160114184242.Horde.RdLFXnCjbyG4c9JfEhs8tg1@webmail.ppadomain.tld>
Jan 14 20:39:30 mail01 postfix/qmgr[32612]: CE83281687: from=<sender@ppadomain.tld>, size=832, nrcpt=1 (queue active)
Jan 14 20:39:31 mail01 postfix/smtp[4318]: CE83281687: to=<recipient@example.com>, relay=mx.example.com[203.0.113.2]:25, delay=1.3, delays=0.52/0/0.77/0.06, dsn=5.0.0, status=bounced (host mx.example.com[203.0.113.2] said: 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail. (in reply to MAIL FROM command))
Jan 14 20:39:31 mail01 postfix/bounce[4477]: CE83281687: sender non-delivery notification: C003B81D20
Jan 14 20:39:31 mail01 postfix/qmgr[32612]: CE83281687: removed

where sender@ppadomain.tld is the sender's address.

Cause

The sender's domain ppadomain.tld exists on the destination server and considered as a local domain. This can be easily checked via telnet session like below (do not type text in brackets):

[root@mail01 ~]# telnet mx.example.com 25
Trying 203.0.113.2...
Connected to mx.example.com.
Escape character is '^]'.

[Server Response]  220 someisp.tld Mail Server
[Client Sending ]  HELO ppadomain.tld
[Server Response]  250 Hello ppadomain.tld
[Client Sending ]  MAIL FROM: <sender@ppadomain.tld>
[Server Response]  551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail.
[Client Sending ]  QUIT
[Server Response]  221 Service closing transmission channel
Connection closed by foreign host.

Resolution

An email should be sent from another domain or sender's domain ppadomain.tld should be deleted from the receiving mail server.

Search Words

authenticate sending email

551 This mail server requires authentication before sending mail from a locally hosted domain

551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail. (in reply to MAIL FROM command)

unable to send mail

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF