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.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th May 2011, 18: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 .

Code:
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[86.121.62.220]: SASL LOGIN authentication failed: generic failure
May  9 18:31:29 gentoo postfix/smtpd[24968]: > unknown[86.121.62.220]: 535 5.7.8 Error: authentication failed: generic failure
/etc/postfix/main.cnf
Code:
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 = 192.168.0.4
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:[127.0.0.1]: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 18:40.
Reply With Quote
Sponsored Links
  #2  
Old 10th May 2011, 18:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Is saslauthd running? What's the output of
Code:
ps aux | grep -i saslauthd
?
__________________
Falko
--
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
  #3  
Old 11th May 2011, 19:55
gridorian gridorian is offline
Junior Member
 
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
Reply

Bookmarks

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 17:25
Mail problem after upgrade to 3.0.2.1 The-Ghost Installation/Configuration 15 11th April 2010 15:37
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 11:24
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
postfix does not authenticate through saslauthd openman Server Operation 32 21st November 2008 10:29


All times are GMT +2. The time now is 12:54.


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