> Do you see anything useful in logs?
nope
randy
FreeBSD psg.com 11.3-RELEASE-p3 FreeBSD 11.3-RELEASE-p3
dovecot 2.3.6 (7eab80676) (latest from binary package system)
symptom: multiple imap4s users complain that they can not fetch mail
stopping and restarting dovecot is a temporary workaround
dovenull 37130.0 0.0 11036 6816 - I
> I was wondering if it is possible to use Dovecot as both incoming and
> outgoing.
no. but if it was systemd it would, and pick up the paper post too.
randy
>> # cat /etc/pam.d/dovecot
>> passdb {
>> driver = pam
>> # args = failure_show_msg=yes
>> # args = max_requests=12
>> args = %s
>> }
>
> this info belongs into Dovecot's conf files, not into /etc/pam.d.
doh. i misread the wiki page. thanks.
> copy or link /etc/pam.d/imap do /etc/pam.d/do
> do you have a /etc/pam.d/dovecot file, does it define all necessary
> settings?
probably not, as i do not know what the necessary ones are :)
i did as best i could using
https://wiki.dovecot.org/PasswordDatabase/PAM as guidance
randy
> What is in the pam.d/dovecot file? (Remember to strip passwords if
> included)
# cat /etc/pam.d/dovecot
passdb {
driver = pam
# args = failure_show_msg=yes
# args = max_requests=12
args = %s
}
and /etc/pam.d/{imap,pop3} were untouched; both as follows
#
# $FreeBSD: releng/10.3/etc/pam.
>> auth: in openpam_parse_chain(): /etc/pam.d/dovecot(1): missing or invalid
>> facility
>
> I do not think that it has something to do with the dovecot settings
> itself but perhaps with the pam facility settings instead?
i can believe that. any clues to debug?
randy
>> passdb {
>> driver = pam
>> }
>> passdb {
>> driver = pam
>> name = pam
>> }
> Are those two passdb blocks intentional?
>
> One of them is missing the name parameter.
doh. first removed.
Aug 3 06:49:23 psg auth: in openpam_parse_chain(): /etc/pam.d/dovecot(1):
missing or invalid faci
# dovecot --version
2.2.31 (65cde28)
on freebsd 64 10.3
system converted to dovecot 2 against my will and consuming a lot of
time sorting it out. i am glad google does not charge. have spent
two hours on this one alone; and undoubtedly it is my st00pidity. so
excuse my desperate posting to lazy