ispCP - Board - Support
no SASL authentication mechanisms - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: no SASL authentication mechanisms (/thread-6213.html)

Pages: 1 2


no SASL authentication mechanisms - Outlaw - 03-27-2009 09:12 AM

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?


RE: no SASL authentication mechanisms - joximu - 03-28-2009 12:34 AM

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


RE: no SASL authentication mechanisms - Outlaw - 03-28-2009 02:44 AM

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.


RE: no SASL authentication mechanisms - rbtux - 03-28-2009 03:05 AM

is your mail group id 12 instead of 8 and you don't have altered your config?


RE: no SASL authentication mechanisms - Outlaw - 03-28-2009 09:43 AM

Where? In /etc/group?


RE: no SASL authentication mechanisms - rbtux - 03-28-2009 08:00 PM

nope dovecot and postfix main.cf


RE: no SASL authentication mechanisms - Outlaw - 03-28-2009 11:15 PM

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?


RE: no SASL authentication mechanisms - Outlaw - 03-29-2009 11:37 PM

(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?


RE: no SASL authentication mechanisms - joximu - 03-30-2009 01:21 AM

no

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

/J


RE: no SASL authentication mechanisms - Outlaw - 03-30-2009 08:42 AM

joximu mayby you write your config. i look and comparsion?
I check all in config several time and looking good ;/