LinuxForum.Fans
Тема

Логи sendmail

Автор: zusicks438 2 сообщений 2875 просмотров
#257898

Суть такова: в папке "Входящие" стремительно начали появляться вот такие сообщения:

Return-path: <>
Envelope-to: admin@сайт.ком
Delivery-date: Fri, 08 Jun 2012 19:06:30 +0400
Received: from Debian-exim by сайт.ком with local (Exim 4.72)
id 1Sd0lX-0002vm-HW
for admin@сайт.ком; Fri, 08 Jun 2012 19:06:22 +0400
Date: Fri, 08 Jun 2012 19:06:19 +0400
Message-Id: <E1Sd0lX-0002vm-HW@сайт.ком>
X-Failed-Recipients: artemchuk31@yahoo.com
Auto-Submitted: auto-replied
From: Mail Delivery System <Mailer-Daemon@сайт.ком>
To: admin@сайт.ком
Subject: Mail delivery failed: returning message to sender

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

artemchuk31@yahoo.com
SMTP error from remote mail server after end of data:
host mta6.am0.yahoodns.net [66.94.237.64]: 554 delivery error:
dd This user doesn't have a yahoo.com account (artemchuk31@yahoo.com) [-5] - mta1298.mail.mud.yahoo.com

------ This is a copy of the message, including all the headers. ------

Return-path: <admin@сайт.ком>
Received: from best by сайт.ком with local (Exim 4.72)
(envelope-from <admin@сайт.ком>)
id 1SctHQ-0007n9-Be
for artemchuk31@yahoo.com; Fri, 08 Jun 2012 11:06:44 +0400
Date: Fri, 08 Jun 2012 11:06:44 +0400
To: artemchuk31@yahoo.com
Subject: Valide su informaciуn
X-PHP-Originating-Script: 5002:mailer.php
Message-ID: <TheSystem@сайт.ком>
X-Priority: 3
X-Mailer: php
From: BANCO DE CHILE <noreplay@bchile.cl>
Reply-To: noreplay@bchile.cl
MIME-Version: 1.0
Content-Type: text/html
Content-Transfer-Encoding: 8bit

Тут текст сообщения, явный спам.

Появляется логичное предположение: кто-то активно спамит с клиентского сервера. Сменил пароль к ящику - не помогло. Отключил службы POP3 и SMTP - не помогло. Напрашивается вывод о том, что кто-то спамит через sendmail, поэтому ни smtp, ни пароли им не нужны, а файл, отправляющий почту, уже находится на сервере.

А как вообще узнать, какой скрипт отправляет почту через sendmail? Должна же быть такая информация в каких-то логах.

#258089

А, в php.ini оказывается это настраивается :)

Войдите или зарегистрируйтесь, чтобы ответить.