The "lsof -i" is a lower-case i (just confirming if it got
auto-corrected by email spellcheck).
If "lsof" (or other tools) can't confirm an open port we've got other
problems. Need to get that part first. What is expected:
# lsof -i :126
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
master 1260 root 104u IPv4 33860 0t0 TCP
localhost.localdomain:126 (LISTEN)
Daniel
On 12/12/2018 3:07 AM, James Brown wrote:
On 12 Dec 2018, at 7:56 pm, Daniel Miller <dmil...@amfes.com
<mailto:dmil...@amfes.com>> wrote:
Based on your ASSP log it seems it's not reaching Postfix. First,
verify Postfix is listening.
lsof -i :126
You're showing your master.cf has port 126 open for all IP's - I'd
suggest explicitly declaring it for the localhost:
127.0.0.1:126 inet n etc.
But regardless - make sure lsof shows it listening either on the
explict address or the wildcard *. If you see your FQDN or other IP
listening to port 126 - and you're telling ASSP to connect to the
localhost...that's problem 1.
Do the same for your other port 10026.
Step 2 - authentication. Your Postfix log looks like Postfix isn't
talking to Dovecot. Assuming a "typical" Postfix & Dovecot
installation, and if you're looking for Dovecot authentication for
Postfix (meaning "smtpd_sasl_type = dovecot" in main.cf) you need to
have in Dovecot's 10-master.conf:
service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
group = postfix
}
}
You may have additional auth services - but that's the magic one that
Postfix is looking for.
Daniel
Thanks Daniel,
Good point re the narrowing down to localhost. Have done that.
lsof -I :126
Returned nothing as did lsof -I :10026
I already have 10-master.conf set up as you say.
Any idea how to set it up as Thomas suggests where Postfix listens on
465 and sends to ASSP after authenticating with Dovecot?
Thanks,
James.
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test