Hi guys,
I have the following problem. One of the cpanel users is infected with virus/spyware. The user uses pop before smtp auth and as you can imagine the virus can freely send mail using our server.
When I look in the logs, there is no way to find who is the cpanel user which sends this mail.
I have the following options enabled:
1. Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)
2. Prevent the user "nobody" from sending out mail to remote addresses
3. Include a list of Pop before SMTP senders in the X-PopBeforeSMTP header when relaying mail.
1. makes sense if the mail is sent locally php/perl/some other scripts and it does nothing in the current case, because the headers addes are useless
2. Is not related to this case
3. Adds pretty good list of pop before smtp authenticated users which is really cool, however the main problem is that nothing of the above is shown in the exim log.
The user I am talking about is sending random emails to yahoo.com which today just rejected the IP address of the server. I see in the logs that someone was trying to send tons of mail to yahoo.com and most of them were failing, because of unexistent user and after some time, yahoo started rejecting all the mail from our server to theirs. So the main problem is that even if the header popBeforeSMTP is added to the mail, I dont have a sample of this mail and since nothing is written in the log I can not track the user.
My question is: Is there any way to make exim to log which is the pop before smtp user which sends the mail?
Thanks in advance
I have the following problem. One of the cpanel users is infected with virus/spyware. The user uses pop before smtp auth and as you can imagine the virus can freely send mail using our server.
When I look in the logs, there is no way to find who is the cpanel user which sends this mail.
I have the following options enabled:
1. Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)
2. Prevent the user "nobody" from sending out mail to remote addresses
3. Include a list of Pop before SMTP senders in the X-PopBeforeSMTP header when relaying mail.
1. makes sense if the mail is sent locally php/perl/some other scripts and it does nothing in the current case, because the headers addes are useless
2. Is not related to this case
3. Adds pretty good list of pop before smtp authenticated users which is really cool, however the main problem is that nothing of the above is shown in the exim log.
The user I am talking about is sending random emails to yahoo.com which today just rejected the IP address of the server. I see in the logs that someone was trying to send tons of mail to yahoo.com and most of them were failing, because of unexistent user and after some time, yahoo started rejecting all the mail from our server to theirs. So the main problem is that even if the header popBeforeSMTP is added to the mail, I dont have a sample of this mail and since nothing is written in the log I can not track the user.
My question is: Is there any way to make exim to log which is the pop before smtp user which sends the mail?
Thanks in advance