Unable to relay emails from postfix '530 5.7.57 SMTP; Client was not authenticated to send anonymous mail '

Solution Verified - Updated -

Issue

  • The postfix fails to relay email due to authentication error '530 5.7.57 SMTP; Client was not authenticated to send anonymous mail'

    # tail -f /var/log/maillog
    Jan 27 17:21:05 node1.example.com postfix/smtp[33064]: 19B90C1C30DC: to=<username@domain.com>, relay=relay.example.com[x.x.x.x]:25, delay=5.1, delays=0.01/0.01/0.05/5, dsn=5.7.57, status=bounced (host relay.example.com[x.x.x.x] said: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM command))
    Jan 27 17:21:05 node1.example.com  postfix/smtp[33064]: 19B90C1C30DC: lost connection with relay.example.com[x.x.x.x] while sending RCPT TO
    
  • When sending email through telnet getting ' 504 5.7.4 Unrecognized authentication type '.

    # telnet x.x.x.x 25
    auth plain AHRlc3QAcmVkaGF0
    504 5.7.4 Unrecognized authentication type                                   ## Unrecognized authentication type
    451 4.7.0 Timeout waiting for client input
    Connection closed by foreign host.
    
  • How to configure postfix to support NTLM authentication mechanism ?

Environment

  • Red Hat Enterprise Linux (All Versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content