Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-13-2010, 07:26 PM   #1
Registered: Aug 2006
Posts: 153

Rep: Reputation: 16
Postfix - Dovecot - SASL auth

I am trying to setup a postfix server which supports SASL authentication with dovecot.

Somehow I managed to setup the postfix server and dovecot is also installed. I am able to receive mails in my Outlook, but sending mails is not successful. The SMTP server (Dovecot is handling SMTP requests) seems to be working fine, but the authentication mechanism seems to be not working and hence the server replies back with the error "Relay access denied"

My configuration is as below :

[root@server ~]# postconf -n
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
debug_peer_list =
disable_vrfy_command = yes
html_directory = no
inet_interfaces = all
invalid_hostname_reject_code = 554
local_recipient_maps = proxy:unixasswd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_size_limit = 4294967296
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain =
myhostname =
mynetworks =
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
non_fqdn_reject_code = 554
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains =
relay_domains_reject_code = 554
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions =
smtpd_data_restrictions =
smtpd_error_sleep_time = 0
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions =
strict_rfc821_envelopes = yes
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 550
unverified_sender_reject_code = 554
Am I missing out something ? Someone pls help
Old 07-13-2010, 11:31 PM   #2
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
google postfix dovecot gentoo howto.... it's a really good doc...

I think that might help
Old 07-13-2010, 11:49 PM   #3
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 16
thanks a lot MrChilly.

Will update you on the same.
Old 07-14-2010, 01:48 AM   #4
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 16
Originally Posted by MrChilly0 View Post
google postfix dovecot gentoo howto.... it's a really good doc...

I think that might help
Hi, the documentation seems to be a good one. But it did not help. In fact, I am not searching for such a complicated config. There is a simple configuration which worked for me once and even working now also on one of my local, test machine. Unfortunately, I am unable to replicate it into the new server

Is there any other assistance for this ?
Old 07-14-2010, 09:08 AM   #5
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 16
No help


auth, smtp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix SASL auth not working Mr. A Debian 3 03-11-2010 08:59 AM
Postfix sasl auth problem fandar Linux - Server 1 01-02-2010 08:39 AM
postfix/dovecot - sasl authentication works no more ddaas Linux - Server 6 05-15-2009 04:45 AM
Postfix SASL Auth...Problems... JamesGolick Linux - Software 1 08-05-2005 10:32 AM
SASL-AUTH Postfix Mandrake 9.1 jsnow50 Linux - Software 0 09-29-2003 04:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration