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

Subscriptions llsubscr at zudiewiener.com
Sun May 25 23:19:22 UTC 2014


ok. My 10-master.conf now looks like this:
-----------
service auth {
  client_limit = 2248
  unix_listener auth-userdb {
    mode = 0600
    user = virtual
    group = virtual
  }

  # 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
}
-----------

Have added the following to master.cf
------
dovecot   unix  -       n       n       -       -       pipe
   flags=DRhu user=virtual:virtual argv=/usr/libexec/dovecot/dovecot-lda
   -f ${sender} -e -d ${user}@${nexthop}
------

Restarted both dovecot and postfix; still no socket.

BTW,

When would yo expect the socket to be created; after restarting dovecot
or postfix?

Thanks,

Leo


On 25/05/14 17:58, Nick Edwards wrote:
> 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