Current time: 11-30-2024, 01:58 AM Hello There, Guest! (LoginRegister)


Post Reply 
no SASL authentication mechanisms
Author Message
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #1
no SASL authentication mechanisms
I have postfix + dovecot
I can login on mailbox but i don't send anything.
In logs, i have:

Code:
Mar 26 23:58:52 localhost postfix/smtpd[2217]: warning: SASL: Connect to smtpd failed: No such file or directory
Mar 26 23:58:52 localhost postfix/smtpd[2217]: fatal: no SASL authentication mechanisms
Mar 26 23:58:53 localhost postfix/master[2214]: warning: process /usr/libexec/postfix/smtpd pid 2217 exit status 1
Mar 26 23:58:53 localhost postfix/master[2214]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

saslauth is running and:
saslauthd -v
saslauthd 2.1.22
authentication mechanisms: getpwent rimap shadow

What is wrong?
03-27-2009 09:12 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: no SASL authentication mechanisms
you don't need saslauth - postfix has its own sasl-daemon.
do you have an smtpd.conf somewhere (/etc/postfix/sasl or so)?
-> rename it and restart postfix and try again.

/J
03-28-2009 12:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #3
RE: no SASL authentication mechanisms
i don't have strong ;/
this problem fixed, i can send mail but i recieves mail in log:

deliver(admin@test.outlaw.one.pl): Mar 27 17:43:01 Fatal: setgid(8) failed with euid=1001, gid=12, egid=12: Operation not permitted
Mar 27 17:43:01 localhost postfix/pipe[4778]: 8E5E8252076: to=<admin@test.outlaw.one.pl>, relay=dovecot, delay=22376, delays=22376/0.05/0/0.01, dsn=4.3.0, status=deferred (temporary failure)

i set setuid on /var/libexec/dovecot/deliver
chmod 4755 deliver

but this not change anything.
03-28-2009 02:44 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: no SASL authentication mechanisms
is your mail group id 12 instead of 8 and you don't have altered your config?
03-28-2009 03:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #5
RE: no SASL authentication mechanisms
Where? In /etc/group?
03-28-2009 09:43 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: no SASL authentication mechanisms
nope dovecot and postfix main.cf
03-28-2009 08:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #7
RE: no SASL authentication mechanisms
postfix:

virtual_gid_maps = static:12
setgid_group = postdrop

dovecot
mail_privileged_group = mail

this look ok. I change in /etc/group 8<>12 and work! Smile but...
do it is correct?
03-28-2009 11:15 PM
Find all posts by this user Quote this message in a reply
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #8
RE: no SASL authentication mechanisms
(03-28-2009 12:34 AM)joximu Wrote:  you don't need saslauth - postfix has its own sasl-daemon.
do you have an smtpd.conf somewhere (/etc/postfix/sasl or so)?
-> rename it and restart postfix and try again.

/J

So i have smtp.conf somewhere? I haven't it anywhere so meybe this is problem?
03-29-2009 11:37 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: no SASL authentication mechanisms
no

check the groups and gid of mail in the dovecot and postfix configs.

/J
03-30-2009 01:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #10
RE: no SASL authentication mechanisms
joximu mayby you write your config. i look and comparsion?
I check all in config several time and looking good ;/
03-30-2009 08:42 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)