Postfix SMTP server: errors from host

Автор: | 06/10/2013
 

Postfix - mail serverНа почтовый ящик пользователя root начали приходить письма такого содержания:

Transcript of session follows.

Out: 220 akira.domain.org.ua ESMTP Postfix
In: EHLO host.ru
Out: 250-akira.domain.org.ua
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-AUTH PLAIN LOGIN
Out: 250-AUTH=PLAIN LOGIN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: MAIL FROM:<sender@host.ru>
Out: 452 4.3.1 Insufficient system storage
In: RCPT TO:<reg@domain.kiev.ua>
Out: 503 5.5.1 Error: need MAIL command
In: DATA
Out: 503 5.5.1 Error: need RCPT command

Session aborted, reason: lost connection

For other details, see the local mail logfile

В логе появились записи такого плана:

# cat /var/log/maillog | grep “host.ru”
Jun 10 02:17:37 akira postfix/smtpd[2250]: connect from host.ru[88.212.202.29]
Jun 10 02:17:37 akira postfix/smtpd[2250]: NOQUEUE: reject: MAIL from host.ru[88.212.202.29]: 452 4.3.1 Insufficient system storage; proto=ESMTP helo=<host.ru>
Jun 10 02:17:37 akira postfix/smtpd[2250]: lost connection after DATA from host.ru[88.212.202.29]
Jun 10 02:17:37 akira postfix/smtpd[2250]: disconnect from host.ru[88.212.202.29]
Jun 10 02:17:37 akira postfix/smtpd[2250]: connect from host.ru[88.212.202.29]
Jun 10 02:17:37 akira postfix/smtpd[2250]: NOQUEUE: reject: MAIL from host129.rax.ru[88.212.202.29]: 452 4.3.1 Insufficient system storage; proto=ESMTP helo=<host.ru>
Jun 10 02:17:37 akira postfix/smtpd[2250]: lost connection after DATA from host.ru[88.212.202.29]
Jun 10 02:17:37 akira postfix/smtpd[2250]: disconnect from host.ru[88.212.202.29]

Проверка диска показывает, что:

# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/da0p3 2G 219M 1.6G 12% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/da0p4 2G 16M 1.8G 1% /tmp
/dev/da0p5 7.9G 7.9G 65M 0% /var
/dev/da0p6 16G 11G 3.9G 75% /usr
linprocfs 4.0k 4.0k 0B 100% /usr/compat/linux/proc

Очевидно, что проблема из-за забитого раздела /var/.

После очистки проблема была решена.