"554 5.7.1 <> Sender address rejected: Access denied" is shown in /var/log/maillog file.

Solution Unverified - Updated -

Issue

  • "554 5.7.1 <>: Sender address rejected: Access denied" is shown in /var/log/maillog file.
  • The envelope from is <> causing the email to be discarded based on smtpd_sender_restrictions setting. How to modify the smtpd_sender_restrictions 's so that the relay server can send NDR (Non-Delivery Report) emails to external recipients.

Environment

  • Red Hat Enterprise Linux
  • postfix

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