Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Postfix Documentation
Previous Page Home Next Page

Enabling SASL authentication in the Postfix SMTP server

In order to enable SASL support in the SMTP server:

smtpd_sasl_auth_enable = yes

In order to allow mail relaying by authenticated clients:

smtpd_recipient_restrictions = 
permit_sasl_authenticated ...

To report SASL login names in Received: message headers (Postfix version 2.3 and later):

smtpd_sasl_authenticated_header = yes

Note: the SASL login names will be shared with the entire world.

Older Microsoft SMTP client software implements a non-standard version of the AUTH protocol syntax, and expects that the SMTP server replies to EHLO with "250 AUTH=stuff" instead of "250 AUTH stuff". To accommodate such clients (in addition to conformant clients) use the following:

broken_sasl_auth_clients = yes
Postfix Documentation
Previous Page Home Next Page