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

Subscriptions llsubscr at zudiewiener.com
Mon May 26 04:08:56 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ok. Problem found and resolved.

!include conf.d/*.conf

was missing from my dovecot.conf.

Don't know how or why, but putting the line in fixed the problem.

Thanks,

Leo

On 25/05/14 10:33, Subscriptions wrote:
> ok. Obviously I'm no guru here, I'm just trying to figure out why
> this socket is missing.
> 
> If I shut down postfix, the sockets in private are still there.
> They are also all owned by postfix. If postfix is only the consumer
> then I assume dovecot must have write access to private, which it
> doesn't
> 
> Thanks
> 
> 
> 
> On 25/05/14 08:28, Reindl Harald wrote:
>> postfix can hardly create the socket because it is the
>> *consumer* of it - so dovecot is responsible
> 
>> as well as other sockets are *not* created at install but at
>> start time - a socket is not a regular file and you can compare
>> it to a listening TCP port
> 
>> Am 25.05.2014 00:21, schrieb Subscriptions:
>>> This may be a stupid question, but which process is supposed
>>> to create the socket. All other (existing) sockets in 
>>> /var/spool/postfix/private are owned by Postfix, so am
>>> assuming they were created when Postfix was installed.
>>> 
>>> On 24/05/14 22:00, Subscriptions wrote:
>>>> Made the changes, so entries in 10-master.conf are now:
>>>> 
>>>> ------ service auth { unix_listener auth-userdb { #mode =
>>>> 0666 #user = #group = }
>>>> 
>>>> # 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.
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJTgr5WAAoJEOXdNUiyB06kdSQP/R/kd+CXyuBbTtGhh5YnRES4
bmSM3rOJmGWrr9iB4Z7T6VMOeunvLvXSNfcGA6Vx2U49PkyGhk1+15QNiJN5zrk7
cCU0P7xKpSiqvCCLARbu+vtLu3vY8DWLqIMK61NC5b178dpN3Zw26F05Koc33+zE
OPE1sHF5cMzl4uueU3+yKPWURPDd/cop2SkugEKHlZbTV8RowKGRbVuDyhNfsqRz
vNxhg7u63/89BPH5T4N8iegEw4bunqVo823kGAzIwyYTBW0f+U9IVtOTkVfY5eDl
xDQxHMVBNF6f+iqwN6wRENFFW6k3OYTmgGWjB4qrJP/n+zNkcQPfZTUTWKxmKZnU
OAT2EQbkAFVo9mtM+yNmjkaVAlrTX4gGf84lJJfJzPbPrI1SEmsbZ8RRqiw5dCdw
1+yX36hK2n5Mg3HYAk/fmcQPKNNq7CJ51wUVdKoXD9Dz8+5uEqFtWb/U9eSp1Jvf
mHyMjmqbTLRnom//yrY62C//M3Cs12DAbs4BzfDEs7JFgEYrpCmA5o77+HVXvOQI
RL0oTpojIyRPG/4CU/xwG//hz0v4ptHH9kOHU7NdEpUcUoXXat3OJ5qgRchF2LYP
8dQRrxlFmzAqxKcZnT/xqMHRe/r/PhaB9CkVSYyvT0PWF0yBaDpXiZFZpXxi6JTh
DDs8LHG+xvuCtNS7Qqed
=PX9h
-----END PGP SIGNATURE-----


More information about the dovecot mailing list