I apologize if this has already been asked, but my google-fu is not strong enough to find the answer I am seeking.
Basically, I need to find out which users are connecting to port 25 instead of 587. I need to get the users off port 25 so I can stop allowing logins on that port (this is a system I inherited and I'm trying to restore some sanity to their setup). There is nothing in the logs that I can see which allows me to differentiate connections on port 25 and port 587. (I'm currently on Postfix 2.10.1 running on Gentoo Linux, if that makes a difference.) I've tried turning up the debug level (smtpd -v) but all that seems to do is provide more information in the log without telling me what I want to know. I've also tried turning on smtpd_client_port_logging, but it pretty much did exactly what it says, giving me the client's port but not telling me what server port was hit. What am I missing here? I'm sure it's obvious to someone, but it's completely blowing by me. Thanks in advance. Chris