lmtp:unix:private/dovecot-lmtp

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

lmtp:unix:private/dovecot-lmtp

ratatouille-2
Hello all!

Since some modifications on my testserver I have the following problem:
connect to smtp.amimanera.de[private/dovecot-lmtp]: No such file or directory

# fgrep -r dovecot-lmtp /etc
/etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp
/etc/dovecot/conf.d/10-master.conf: unix_listener /var/spool/postfix/private/dovecot-lmtp {

ll /var/spool/postfix/private
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 anvil
srw-rw-rw- 1 root    root    0 22. Jan 13:46 auth
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 bounce
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 defer
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 discard
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 dnsblog
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 error
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 lmtp
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 local
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 policy-spf
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 proxymap
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 proxywrite
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 relay
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 retry
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 rewrite
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 scache
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 smtp
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 smtpd
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 tlsmgr
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 tlsproxy
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 trace
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 verify
srw-rw-rw- 1 postfix postfix 0 22. Jan 17:53 virtual

Shouldn't there be dovecot-lmtp socket?
Can't find out what's wrong at the moment.

  Andreas
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

Wietse Venema
ratatouille:
> Hello all!
>
> Since some modifications on my testserver I have the following problem:
> connect to smtp.amimanera.de[private/dovecot-lmtp]: No such file or directory
>
> # fgrep -r dovecot-lmtp /etc
> /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp

Is there a 'dovecot-lmtp' entry in master.cf?

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

ratatouille-2
Wietse Venema <[hidden email]> schrieb am 22.01.20 um 12:45:07 Uhr:

> ratatouille:
> > Hello all!
> >
> > Since some modifications on my testserver I have the following problem:
> > connect to smtp.amimanera.de[private/dovecot-lmtp]: No such file or directory
> >
> > # fgrep -r dovecot-lmtp /etc
> > /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp  
>
> Is there a 'dovecot-lmtp' entry in master.cf?

No, the only ocurrence there is
lmtp      unix  -       -       n       -       -       lmtp

  Andreas
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

Wietse Venema
In reply to this post by Wietse Venema
Wietse Venema:

> ratatouille:
> > Hello all!
> >
> > Since some modifications on my testserver I have the following problem:
> > connect to smtp.amimanera.de[private/dovecot-lmtp]: No such file or directory
> >
> > # fgrep -r dovecot-lmtp /etc
> > /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp
>
> Is there a 'dovecot-lmtp' entry in master.cf?

Sorry, I was confused. This is Postfix looking for a UNIX-domain
socket with the name private/dovecot-lmtp under the Postfix
$queue_directory.

That socket would be created by Dovecot, not Postfix master.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

Daniel Armengod
Andreas,

The creation of the listening socket is responsibility of the Dovecot
server.

Have you verified that Dovecot is up and running?

The relevant setting (dovecot 10-master.conf) appears to be correct in
the snippet you provide.

On 2020-01-22 19:24, Wietse Venema wrote:

> Wietse Venema:
>> ratatouille:
>>> Hello all!
>>>
>>> Since some modifications on my testserver I have the following problem:
>>> connect to smtp.amimanera.de[private/dovecot-lmtp]: No such file or directory
>>>
>>> # fgrep -r dovecot-lmtp /etc
>>> /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp
>> Is there a 'dovecot-lmtp' entry in master.cf?
> Sorry, I was confused. This is Postfix looking for a UNIX-domain
> socket with the name private/dovecot-lmtp under the Postfix
> $queue_directory.
>
> That socket would be created by Dovecot, not Postfix master.
>
> Wietse
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

ratatouille-2
Daniel Armengod <[hidden email]> schrieb am 22.01.20 um 19:39:33 Uhr:

> Andreas,
>
> The creation of the listening socket is responsibility of the Dovecot
> server.
>
> Have you verified that Dovecot is up and running?
>
> The relevant setting (dovecot 10-master.conf) appears to be correct in
> the snippet you provide.

dovecot is running but it does not create doceot-lmtp. It creates lmtp socket.

service lmtp {
 unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}

I searched nearly the whole system for lmtp and desinstalled web, which
I had installed for testingpurposes.

Don't know. Maybe I should ask at the dovecot list. Mail stays in the queue.

  Andreas
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

Wietse Venema
ratatouille:

> Daniel Armengod <[hidden email]> schrieb am 22.01.20 um 19:39:33 Uhr:
>
> > Andreas,
> >
> > The creation of the listening socket is responsibility of the Dovecot
> > server.
> >
> > Have you verified that Dovecot is up and running?
> >
> > The relevant setting (dovecot 10-master.conf) appears to be correct in
> > the snippet you provide.
>
> dovecot is running but it does not create doceot-lmtp. It creates lmtp socket.
>
> service lmtp {
>  unix_listener /var/spool/postfix/private/dovecot-lmtp {
>     group = postfix
>     mode = 0600
>     user = postfix
>   }
> }

Does the socket exist? Is the Dovecot daemon running?

        Wietse

> I searched nearly the whole system for lmtp and desinstalled web, which
> I had installed for testingpurposes.
>
> Don't know. Maybe I should ask at the dovecot list. Mail stays in the queue.
>
>   Andreas
>
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

ratatouille-2
In reply to this post by ratatouille-2
ratatouille <[hidden email]> schrieb am 22.01.20 um 20:41:25 Uhr:

> dovecot is running but it does not create doceot-lmtp. It creates lmtp socket.
>
> service lmtp {
>  unix_listener /var/spool/postfix/private/dovecot-lmtp {
>     group = postfix
>     mode = 0600
>     user = postfix
>   }
> }
>
> I searched nearly the whole system for lmtp and desinstalled web, which

Sorry, I meant webmin.

  Andreas
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

ratatouille-2
In reply to this post by Wietse Venema
Wietse Venema <[hidden email]> schrieb am 22.01.20 um 14:44:42 Uhr:

> > dovecot is running but it does not create doceot-lmtp. It creates lmtp socket.
> >
> > service lmtp {
> >  unix_listener /var/spool/postfix/private/dovecot-lmtp {
> >     group = postfix
> >     mode = 0600
> >     user = postfix
> >   }
> > }  
>
> Does the socket exist? Is the Dovecot daemon running?

Dovecot is running.

# ps aux |grep dovecot
root      1883  0.0  0.1  16088  1172 ?        Ss   20:24   0:00 /usr/sbin/dovecot
dovecot   1901  0.0  0.1   9748  1116 ?        S    20:24   0:00 dovecot/anvil
root      1902  0.0  0.1   9880  1316 ?        S    20:24   0:00 dovecot/log
root      1912  0.0  0.2  19880  2812 ?        S    20:24   0:00 dovecot/config
dovenull  9922  0.0  0.4  44232  4088 ?        S    20:44   0:00 dovecot/imap-login
support   9925  0.0  0.2  15960  2856 ?        S    20:44   0:00 dovecot/imap
dovenull  9927  0.0  0.4  44232  4084 ?        S    20:44   0:00 dovecot/imap-login
andreas   9928  0.0  0.2  15972  2924 ?        S    20:44   0:00 dovecot/imap
dovenull  9929  0.0  0.3  44232  3976 ?        S    20:44   0:00 dovecot/imap-login

srw-rw-rw- 1 postfix postfix 0 22. Jan 20:24 lmtp

  Andreas
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

Wietse Venema
ratatouille:
> srw-rw-rw- 1 postfix postfix 0 22. Jan 20:24 lmtp

that is not /var/spool/postfix/private/dovecot-lmtp

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

ratatouille-2
Wietse Venema <[hidden email]> schrieb am 22.01.20 um 14:50:48 Uhr:

> ratatouille:
> > srw-rw-rw- 1 postfix postfix 0 22. Jan 20:24 lmtp  
>
> that is not /var/spool/postfix/private/dovecot-lmtp

/var/spool/postfix/private/dovecot-lmtp is not created and I don't know
why. Just subscribed to the dovecot-list.

  Andreas
Reply | Threaded
Open this post in threaded view
|

Re: lmtp:unix:private/dovecot-lmtp

ratatouille-2
In reply to this post by Wietse Venema
Wietse Venema <[hidden email]> schrieb am 22.01.20 um 14:50:48 Uhr:

> ratatouille:
> > srw-rw-rw- 1 postfix postfix 0 22. Jan 20:24 lmtp  
>
> that is not /var/spool/postfix/private/dovecot-lmtp

The problem was something, I assume webmin, modified
dovecot.conf from protocols = imap lmtp sieve
to
protocols = imap pop3

All is fine again, email is delivered.

  Andreas