• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Resolved How to obtain the IP of a webmail login

SalvadorS

Regular Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.60
Hello,

From time to time spammers uses webmail to send spam (after obtain a password from a client of course) But if you check the logs you can see this in the /var/log/mail.info:

Apr 24 09:35:59 server dovecot: imap-login: Login: user=<xxx@yyy.com>, method=PLAIN, rip=::1, lip=::1, mpid=3457223, TLS, session=<1obCuNIW0t0AAAAAAAAAAAAAAAAAAAAB
Apr 24 09:35:59 dv3 dovecot: service=imap, user=xxx@yyy.com, ip=[::1]. Disconnected: Logged out rcvd=92, sent=793

So you don´t know the IP of the user who is starting the session in webmail.

Ip is very important as you can see from where is the user login and know if it is the client or not.

But as you can see the login is ip=[::1]

So, if it is possible to know somewhere what is the exact ip of that login?

Thank you
 
The ip=[::1] indicates localhost, which means they probably logged in via webmail.

To find their IP(s) look in the Roundcube logs in the /var/log/plesk-roundcube/ directory.
 
Back
Top