Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th May 2011, 19:36
gridorian gridorian is offline
Junior Member
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default warning: SASL authentication failure: cannot connect to saslauthd server: No such fil

Hello, guys.

I'm trying to move/re-configure my mail server from an older debian server to a gentoo one.

I kinda configured everything i know/remember, but I have one big problem.

I keep getting this warning. You have bellow my postfix config as well. Can you help me? What other config should I provide?
All posts i found online about this didn't help and chrooting and I would like to solve this without chrooting if possible .

May  9 18:31:29 gentoo postfix/smtpd[24968]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
May  9 18:31:29 gentoo postfix/smtpd[24968]: warning: unknown[]: SASL LOGIN authentication failed: generic failure
May  9 18:31:29 gentoo postfix/smtpd[24968]: > unknown[]: 535 5.7.8 Error: authentication failed: generic failure
append_at_myorigin = no
append_dot_mydomain = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = //usr/lib64/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list =
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix-2.6.5/html
inet_protocols = all
local_recipient_maps = $alias_maps, $virtual_alias_maps, $virtual_mailbox_maps
local_transport = relay:[]:10024
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 40960000
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = ns.domain.foo
myorigin = fomain.foo
newaliases_path = /usr/bin/newaliases
owner_request_special = no
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps proxy:mysql:/etc/mail/vmysql/filter.cf
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.5/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_tls_cert_file = /etc/postfix/smtpd.cert
smtp_tls_key_file = /etc/postfix/smtpd.key
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,       permit_sasl_authenticated,      reject_rbl_client bl.spamcop.net,       reject_rbl_client sbl.spamhaus.org,     reject_rbl_client cbl.abuseat.org,      reject_unknown_sender_domain,reject_unknown_recipient_domain,        reject_non_fqdn_hostname,       reject_non_fqdn_sender, reject_non_fqdn_recipient,      reject_unauth_destination,      reject_unauth_pipelining,       reject_invalid_hostname,        permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains = 
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /srv/mail/
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_maildir_extended = yes
virtual_maildir_limit_message = The user you are trying to reach has exceeded their quota.
virtual_minimum_uid = 100
virtual_overquota_bounce = yes
virtual_transport = maildrop
virtual_uid_maps = static:5000
yume wa yume de shikanai...

Last edited by gridorian; 9th May 2011 at 19:40.
Reply With Quote
Sponsored Links
Old 10th May 2011, 19:42
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Is saslauthd running? What's the output of
ps aux | grep -i saslauthd
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 11th May 2011, 20:55
gridorian gridorian is offline
Junior Member
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

it's OK. i fixed that

i actually forgot to tell postfix in master.cf to talk to sasl.
yume wa yume de shikanai...
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 18:25
Mail problem after upgrade to The-Ghost Installation/Configuration 15 11th April 2010 16:37
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 12:24
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08
postfix does not authenticate through saslauthd openman Server Operation 32 21st November 2008 11:29

All times are GMT +2. The time now is 02:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.