H
H
Happening2013-11-24 19:09:58
CentOS
Happening, 2013-11-24 19:09:58

How to track where spam is coming from?

Hello.
Spam is being sent from the server. I rummaged through the code of all sites, it was not possible to find where the spam comes from.
Is it possible to somehow track which file spam is being sent from?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Syomov, 2013-11-24
@Happening

It's hard to give advice. You didn't even specify the environment in which the sites work...
But if you use telepathy, then apparently you need to read this piece of php documentation ( http://php.net/manual/ru/mail.configuration.php ):
"mail .log string
Path to the log file where all calls to the mail() function will be logged. The entries in the log contain the full path to the script, line number, To recipient address, and headers."
And enable logging.
Also, theoretically, spam may not be sent through php, so you need to look at the mail server logs, and at least see which user it is sent from. Maybe this will give you food for thought...

M
Maxim, 2013-11-24
@maxout

http://us3.php.net/manual/en/mail.configuration.php#ini.mail.add-x-header
http://us3.php.net/manual/en/mail.configuration.php#ini .mail.log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question