[Dovecot] socket /var/spool/postfix/private/auth not created

Nick Edwards nick.z.edwards at gmail.com
Sun May 25 07:58:37 UTC 2014


On 5/24/14, Subscriptions <llsubscr at zudiewiener.com> wrote:
> Made the changes, so entries in 10-master.conf are now:
>
> ------
> service auth {
>   unix_listener auth-userdb {
>     #mode = 0666
>     #user =
>     #group =
>   }
>

this should have user/group that should match how postfix master.cf see's it

eg:

master.cf:
dovecot   unix  -       n       n       -       -       pipe
   flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/dovecot-lda
-f ${sender} -e -d ${user}@${nexthop}


dovecot:

service auth {
        client_limit = 2248
        unix_listener /var/spool/postfix/private/auth {
                group = postfix
                mode = 0660
                user = postfix
        }
        unix_listener auth-userdb {
                mode = 0600
                user = vmail
                group = vmail
        }
}





>   # Postfix smtp-auth
>   unix_listener /var/spool/postfix/private/auth {
>     mode = 0660
>     user = postfix
>     group = postfix
>   }
>   # Auth process is run as this user.
>   #user = $default_internal_user
>
> }
>
> Entries in 10-auth.conf are as follows (ass suggested by another post
> I found.
>
> ------------
> ...
> auth_mechanisms = plain login
> ...
>
> -----------
>
>
> Output from dovecot -n
>
> --------------
> # 2.2.9: /etc/dovecot/dovecot.conf
> # OS: Linux 3.13.0-24-generic x86_64 Ubuntu 14.04 LTS ext4
> auth_mechanisms = plain cram-md5
> auth_verbose = yes
> base_dir = /var/run/dovecot/
> info_log_path = /var/log/dovecot.info
> log_path = /var/log/dovecot
> log_timestamp = "%Y-%m-%d %H:%M:%S "
> mail_location = maildir:/home/vmail/%d/%n
> namespace {
>   inbox = yes
>   location =
>   prefix = INBOX.
>   separator = .
> }
> passdb {
>   args = /etc/dovecot/passwd
>   driver = passwd-file
> }
> protocols = imap pop3
> service auth {
>   executable = /usr/lib/dovecot/auth
>   user = root
> }
> service imap-login {
>   chroot = login
>   executable = /usr/lib/dovecot/imap-login
>   user = dovecot
> }
> service imap {
>   executable = /usr/lib/dovecot/imap
> }
> service pop3-login {
>   chroot = login
>   executable = /usr/lib/dovecot/pop3-login
>   user = dovecot
> }
>
> ---------------------------
>
> Did a reload.
>
> Tail of Logs files is as follows
> ------------dovecot.info -----
> 2014-05-24 21:53:49 imap-login: Info: Login:
> user=<leo at zudiewiener.com>, method=CRAM-MD5, rip=110.20.34.128,
> lip=103.4.235.252, mpid=3469, TLS, session=<9m7L/yP6xgBuFCKA>
> 2014-05-24 21:53:55 imap-login: Info: Login:
> user=<inge at zudiewiener.com>, method=CRAM-MD5, rip=110.20.34.128,
> lip=103.4.235.252, mpid=3471, TLS, session=<c+ktACT6yABuFCKA>
> 2014-05-24 21:54:00 imap-login: Info: Login:
> user=<ilsubscr at zudiewiener.com>, method=CRAM-MD5, rip=110.20.34.128,
> lip=103.4.235.252, mpid=3473, TLS, session=<emh3ACT6zgBuFCKA>
> -------------------------------
>
> -------- dovecot -------------
> 2014-05-24 21:29:49 config: Warning: Killed with signal 15 (by pid=1
> uid=0 code=kill)
> 2014-05-24 21:29:49 log: Warning: Killed with signal 15 (by pid=1
> uid=0 code=kill)
> 2014-05-24 21:29:49 master: Warning: Killed with signal 15 (by pid=1
> uid=0 code=kill)
> 2014-05-24 21:30:13 master: Warning: Killed with signal 15 (by pid=1
> uid=0 code=kill)
> 2014-05-24 21:30:13 log: Warning: Killed with signal 15 (by pid=1
> uid=0 code=kill)
> 2014-05-24 21:41:41 master: Warning: SIGHUP received - reloading
> configuration
> ---------------------------------
>
>
> Thanks,
>
> Leo
>
>
>
> On 24/05/14 20:48, Thomas Leuxner wrote:
>> * lister171254 <llsubscr at zudiewiener.com> 2014.05.24 11:56:
>>
>>> No matter what I try, the listener is not created.
>>>
>>> <http://dovecot.2317879.n4.nabble.com/file/n48182/32.png>
>>
>> Text does the trick as well and survives pictures in the archives
>> ;)
>>
>>> # Postfix smtp-auth unix_listener /var/spool/postfix/private/auth
>>> { mode = 0600 user = postfix group = postfix
>>
>> The wiki quoted and my running config both use 'mode = 0660'. Give
>> that a try:
>>
>> service auth { unix_listener /var/spool/postfix/private/auth {
>> group = postfix mode = 0660 user = postfix } user = doveauth }
>>
>> You may leave out the extra doveauth user which is a specific
>> flavor of my configuration. If that still fails, you should post
>> some log excerpts from dovecot after a reload which probably show
>> the problem.
>>
>> Regards Thomas
>>
>


More information about the dovecot mailing list