Postfix smtp auth config

4 posts / 0 new
Last post
#1 Wed, 01/02/2008 - 15:01

Postfix smtp auth config

I am using Postfix for my mailserver.

I want to enable smtp authorization to force the user to login to send mail. so when they set up thier outlook profile they must enable the "my server requires authorization" to send email.

how do i set up smtp authorization for postfix?

Wed, 01/02/2008 - 15:51

from my /etc/postfix/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

Thu, 01/03/2008 - 08:02 (Reply to #2)

anyone.... have a clue how to enable this?

Tue, 01/08/2008 - 14:21 (Reply to #3)
Joe's picture

This should have been enabled by default during installation, if you used No changes should be needed, unless you're using @ in usernames (like user@domain.tld). If that's the case, you'll need to modify the saslauthd configuration as documented in this FAQ:

In short, add "-r" to the "FLAGS=" or "OPTIONS=" field (depending on OS and version) and restart saslauthd.

If this isn't the case, then we'll need to see the maillog or mail.log entries when you attempt to send to figure out why it is failing.


Check out the forum guidelines!

Topic locked