#1  
Old 31st December 2007, 09:34
nexon nexon is offline
Junior Member
 
Join Date: Dec 2007
Location: Canada
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to nexon Send a message via MSN to nexon Send a message via Yahoo to nexon
Unhappy Postfix + sasl problem

Based on falko's Postfix + Mysql Tutorial for Centos 5.1 (http://www.howtoforge.com/virtual-us...ysql-centos5.1) I was having good progress up until I had to test the SMTP server, here is where the problem starts. When I try to connect to SMTP server it fails (not firewall) and I can't seem to figure it out

Trying to connect to SMTP automatically results in a refused connection (not firewall).
Code:
[root@guinness postfix]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@guinness postfix]#
When I look at /var/log/maillog I get this:
Code:
[root@guinness postfix]# cat /var/log/maillog

Dec 31 03:31:04 guinness postfix/smtpd[3483]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Dec 31 03:31:04 guinness postfix/smtpd[3483]: fatal: no SASL authentication mechanisms
Dec 31 03:31:05 guinness postfix/master[14238]: warning: process /usr/libexec/postfix/smtpd pid 3483 exit status 1
Dec 31 03:31:05 guinness postfix/master[14238]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
[root@guinness postfix]#
Here is my /usr/lib/sasl2/smtpd.conf file:
Code:
[root@guinness postfix]# cat /usr/lib/sasl2/smtpd.conf
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket
[root@guinness postfix]#
And finally here is my postfix /etc/postfix/main.cf contents:
Code:
[root@guinness postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = guinness.tylerc.org, localhost, localhost.localdomain
myhostname = guinness.tylerc.org
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
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
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
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_create_maildirsize = yes
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
virtual_uid_maps = static:5000
[root@guinness postfix]#
-Tyler
Reply With Quote
Sponsored Links
  #2  
Old 1st January 2008, 15:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

What's the output of
Code:
uname -a
?
__________________
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
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Postfix + SASL problem thim Installation/Configuration 3 4th February 2007 18:05
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
postfix SASL problem Abe HOWTO-Related Questions 10 18th August 2006 17:53


All times are GMT +2. The time now is 23:38.


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