Ok, debian, my thing.. ;-)
Try :
Edit /etc/dovecot/dovecot.conf
To Change : protocols = imap lmtp
And add:
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
protocol lmtp {
[email protected]
hostname=mail.yourdomain.com
}
And in postfix main.cfg
mailbox_transport = lmtp:unix:private/dovecot-lmtp
Is this a setup with dovecot with sql?
Then you need some extra things.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:[email protected]] Namens Arian
> Sanusi
> Verzonden: woensdag 20 januari 2016 14:44
> Aan: [email protected]
> Onderwerp: Re: lmtp: transport unavailable
>
>
> >> Just did - the only thing that's there is not helpful to me,
> >> either: Jan 20 11:31:40 chichak postfix/qmgr[31189]: warning:
> >> connect to transport private/local: Connec tion refused
>
> > Looks like lack of rights or wrong path.
> lack of rights: postfix should be able to use the socket, if it actually
> has the path, as
> # ls /var/spool/postfix/private/dovecot-lmtp -l
> srw------- 1 postfix postfix 0 Jan 20 10:24
> /var/spool/postfix/private/dovecot-lmtp
> >
> > Did you run your smtp-source test as user postfix?
> yes: makes no difference.
> >
> > BTW - what user is your dovecot running with?
> root, standard debian config.
> >
> > What makes you shure, postfix will try to use
> > /var/spool/postfix/private/dovecot-lmtp?
>
> nothing makes me sure, as postfix does not actually say anywhere which
> socket it tries to use. (as long as the private/local above is not the
> path - I don't know where it'd get that, it's not mentioned in the config)
> There's some doku mentioning this[1], and main.cf has the entries quoted
> before, which should point there after chrooting.
>
> [1] http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP