• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

POP3 User ID Logging

M

mana_joe

Guest
I am attempting to get POP3 user ID logging information. For troubleshooting purposes I need to know who is logging in and retrieving email.

I am running the following under Fedora C2:
psa 7.5.4-fc2
courier-imap 3.0.8-fc2
I am running the courier POP3 sever.
I found a post somewhere that basically said to modify the following file:
/etc/courier-imap/pop3d

The line edit is as follows:
From:
##NAME: DEBUG_LOGIN:0
DEBUG_LOGIN=0
To:
##NAME: DEBUG_LOGIN:0
DEBUG_LOGIN=1

On a system not running the POP3 server under xinetd the messages will appear in the maillog (/usr/local/psa/var/log/maillog). See sample below:

Jul 9 12:52:33 servername pop3d: Connection, ip=[167.13.14.8]
Jul 9 12:52:33 hs1 pop3d: LOGIN: DEBUG: ip=[167.13.14.8], command=USER
Jul 9 12:52:33 hs1 pop3d: LOGIN: DEBUG: ip=[167.13.14.8], command=PASS
Jul 9 12:52:33 hs1 pop3d: LOGIN: DEBUG: ip=[167.13.14.8], username=test1
Jul 9 12:52:33 hs1 pop3d: auth_psa: starting client module
Jul 9 12:52:34 hs1 pop3d: IMAP connect from @ [167.13.14.8]DEBUG: auth_psa: ACCEPT, username test1
Jul 9 12:52:34 hs1 pop3d: LOGIN, user=test1, ip=[167.13.14.8]
…

On a system running the POP3 sever under xinetd I do not get the same results. The messages and information does not change to reflect the debug mode in the configuration file.

Any help would be greatly appreciated.
 
# Dump additional login diagnostics to syslog
# DEBUG_LOGIN=0 - turn off login debugging
# DEBUG_LOGIN=1 - turn on login debugging
# DEBUG_LOGIN=2 - turn on login debugging + log passwords too
Try changing the value to 2. The same would apply for the imapd config file as well.
 
I have the same outcome on the system running the xinetd sever when I change the debug mode to 2.
 
Back
Top