POP3 before SMTP stopped working
On a couple servers, I think updated to 132.0.14. POP3 before SMTP authenication has stopped working. /etc/recent_authed_mail_ips is always empty. Is this related to the dovecot issues?
-
Hey there! This is almost certainly related to the recent Dovecot issues. Do you have any specific entries from /var/log/maillog or /var/log/messages showing a failure? If so, I can likely trace it back to a specific case.
0 -
No, there are no error messages that I can see. I did run a strace on tailwatchd and although it opens /var/log/maillog it never did write to /etc/recent_authed_mail_ips unlike an older server that does it regularly.
0 -
I think it is a change in the log syntax in /var/log/maillog
Old format: imap-login: Login: user=
New format begins with: imap-login: Logged in: user=
0 -
Yes that is it. I changed the regex in /usr/local/cpanel/Cpanel/TailWatch/RecentAuthedMailIpTracker.pm and it now works
0 -
Excellent find! I've created case CPANEL-50725 to have our team look into this, as I'm actually unsure if this is related to the current Dovecot adjustments, although the timing would certainly indicate that.
I know this isn't a common feature for users to enable in 2025, but it's still something we should fix.
It's also worth noting that your .pm file will likely get overwritten as part of the nightly update.
0 -
Update - this is scheduled to be resolved in version 134. I'm not yet sure if it will get backported to version 132.
0 -
Great. Thanks.
0 -
Update - this will be included in future versions of 132, as well as all versions of 134 and 136 since this was a quick and easy adjustment to make!
0 -
Update - this will be in version 132.0.19, which will be the next release!
0
Please sign in to leave a comment.
Comments
9 comments