1

Topic: "dovecot-auth" should be a socket pathname

I keep getting this error message in my mail log:

     "warning: when SASL type is "dovecot", SASL path "dovecot-auth" should be a socket pathname" 

Should I be concerned?  I've tried change it to the full path name but that doesn't work either.

I have the following in my main.cf:

     smtpd_sasl_type = dovecot
     smtpd_sasl_path = dovecot-auth

Thanks for any help you can give.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: "dovecot-auth" should be a socket pathname

Check your dovecot setting:

socket listen {
    master {
        path = xxx
        ...
    }
    client {
        path = yyy
        ...
    }
}

3

Re: "dovecot-auth" should be a socket pathname

ZhangHuangbin wrote:

Check your dovecot setting:

socket listen {
    master {
        path = xxx
        ...
    }
    client {
        path = yyy
        ...
    }
}

This is what I have:

    socket listen {
        master {
            path = /var/run/dovecot/auth-master
            mode = 0666
            user = vmail
            group = vmail
        }
        client {
            path = /var/spool/postfix/dovecot-auth
            mode = 0666
            user = postfix
            group = postfix
        }
    }
}

I'm using dovecot 1.2.9.  Could that be the cause of my issue?

4

Re: "dovecot-auth" should be a socket pathname

i have the same error ((

5 (edited by julio7000 2010-08-28 01:51:45)

Re: "dovecot-auth" should be a socket pathname

<EDITED>
THIS IS WRONG!!!!!!
PLEASE SEE MY OTHER POST BELLOW
<\EDITED>

Change in main.cf the following:

#smtpd_sasl_path = dovecot-auth
smtpd_sasl_path = /var/spool/postfix/dovecot-auth

6

Re: "dovecot-auth" should be a socket pathname

julio7000 wrote:

Change in main.cf the following:

#smtpd_sasl_path = dovecot-auth
smtpd_sasl_path = /var/spool/postfix/dovecot-auth

the suggested change results on my machine in this, so that the entire mail system is no longer working

Aug 25 10:10:57 mail postfix/smtpd[3085]: warning: SASL: Connect to /var/spool/postfix/dovecot-auth failed: No such file or directory
Aug 25 10:10:57 mail postfix/smtpd[3085]: fatal: no SASL authentication mechanisms
Aug 25 10:10:58 mail postfix/master[2370]: warning: process /usr/lib/postfix/smtpd pid 3085 exit status 1
Aug 25 10:10:58 mail postfix/master[2370]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

socket exists:

mail:~# ls -la /var/spool/postfix/dovecot-auth
srw-rw-rw- 1 postfix postfix 0 14. Aug 12:16 /var/spool/postfix/dovecot-auth

using dovecot 1.2.13 and postfix 2.7.1 on debian squeeze

7

Re: "dovecot-auth" should be a socket pathname

postfix-2.7.1? I didn't test 2.7.x before, so that may be the point.

8

Re: "dovecot-auth" should be a socket pathname

SOLVED

The socket dovecot-auth must be in /var/spool/postfix/private/

In dovecot.conf change:

        client {
            path = /var/spool/postfix/dovecot-auth
            mode = 0666
            user = postfix
            group = postfix

to
        client {
            path = /var/spool/postfix/private/dovecot-auth
            mode = 0666
            user = postfix
            group = postfix

In postfix main.cf:

#smtpd_sasl_path = dovecot-auth
smtpd_sasl_path = private/dovecot-auth

Restart both dovecot and postfix (start dovecot before postfix).

You can safely remove the old socket:
# rm /var/spool/postfix/dovecot-auth

Regards
julio @p si.com.br


Regards.

9

Re: "dovecot-auth" should be a socket pathname

Thank you julio, this solved my error perfectly.