
6th March 2006, 09:29
|
|
Member
|
|
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
postfix auth problem (sasl)
Hi! I cant use my postfix to send mail, i get this when i try to send it in the logs:
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: setting up TLS connection from xxxx[xxx]
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: TLS connection established from xxxx[xxx]: TLSv1 with ciith cipher RC4-MD5 (128/128 bits)
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: connect from xxxx[xxx]
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: warning: xxxx[xxx]: SASL LOGIN authentication failed
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: warning: Read failed in network_biopair_interop with errno=0: num_read=0, want_read=5
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: lost connection after AUTH from xxxx[xxx]
Mar 6 08:44:01 caveguard postfix/smtpd[4915]: disconnect from xxxx[xxx]
Mar 6 08:44:06 caveguard postfix/smtpd[4915]: setting up TLS connection from xxxx[xxx]
Anybody that knows what to do? What coud be the problem? I see that the TLS phase works, but when it try to identify the user it cant find db
Here is some other configs:
caveguard:~# cat /etc/default/saslauthd
# This needs to be uncommented before saslauthd will be run automatically
START=yes
PARAMS="-m /var/spool/postfix/var/run/saslauthd"
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"
MECHANISMS="pam"
#PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
and fro my main.cnf:
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
And
caveguard:~# cat /etc/postfix/sasl/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
Any tip?
|

6th March 2006, 11:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
saslauthd isn't running. Start it:
Code:
/etc/init.d/saslauthd start
|

6th March 2006, 11:39
|
|
Member
|
|
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
<quote>
caveguard:~# /etc/init.d/saslauthd start
Starting SASL Authentication Daemon: /usr/sbin/saslauthd already running.
</quote>
|

6th March 2006, 11:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Then try
Code:
/etc/init.d/saslauthd restart
|

6th March 2006, 13:47
|
|
Member
|
|
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Still the same error
|

6th March 2006, 19:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Which distribution do you use?
|

6th March 2006, 20:27
|
|
Member
|
|
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Debian sarge 3.1 amd64. Followd your howto in perfect setup for debian 3.1
|

6th March 2006, 22:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please redo the saslauthd configuration from http://www.howtoforge.com/perfect_setup_debian_sarge_p4 . Maybe you made a typo somewhere.
|

6th March 2006, 23:02
|
|
Member
|
|
Join Date: Jan 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Still the same error
|

6th March 2006, 23:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please post the output of
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:59.
|
|
Recent comments
1 day 1 hour ago
1 day 7 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 21 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 11 hours ago
2 days 16 hours ago
2 days 16 hours ago