• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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