Postfix: странное поведение. Попытка отправить письмо сотни раз
Форум — Admin
В логах постфикса простыни (как минимум сотни строк) вида
Feb 1 19:33:24 politepol postfix/qmgr[1353]: ED856E15D2: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: E8DCCE5606: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: EAEAAE76E5: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: EEF84E5600: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: EA402E423E: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: E824AE0C3A: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: E8BAEE76A7: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: EF9DAE3ACD: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
Feb 1 19:33:24 politepol postfix/qmgr[1353]: E0400E0CC7: from=<noreply@politepol.com>, size=813, nrcpt=1 (queue active)
и
Feb 1 19:38:25 politepol postfix/error[22966]: EC5C1E5183: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=46668, delays=46667/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22934]: EC073E2EAD: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=75983, delays=75982/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22921]: EED77E1F62: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=97139, delays=97138/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22925]: EAD7CE20CB: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=96956, delays=96955/1.4/0/0, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22932]: E9CADE5123: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=46708, delays=46707/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22961]: EA4FFE210C: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=96924, delays=96923/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22975]: E0CA1E0D0B: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=109769, delays=109768/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22968]: E1837E78CE: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=17218, delays=17217/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22946]: EA1BEE0DB6: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=109533, delays=109532/1.4/0/0.01, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
Feb 1 19:38:25 politepol postfix/error[22972]: E487FE5770: to=<fgfdsfhjjhkj@yandex.com>, relay=none, delay=42330, delays=42329/1.4/0/0, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mail.gandi.net[217.70.178.9] refused to talk to me: 421 4.7.0 relay4-d.mail.gandi.net Error: too many connections from 46.226.108.155)
На этом же сервере лежит веб приложение. Которое может отправлять письма на fgfdsfhjjhkj@yandex.com (этот имейл фигурирует в логах). Единственное место где может быть отправлено множество писем на мой взгляд - это страница восстановления пароля, но я эту функцию отключил. Может ли быть проблема с postfix-ом?
Может нужен конфиг postfix-а (main.cf)? Вот он:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = politepol.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, politepol.com, localhost.com, , localhost
# relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
relayhost = mail.gandi.net:submission
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_use_tls=yes
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = plain, login
smtp_sasl_security_options = noanonymous
smtp_generic_maps = hash:/etc/postfix/generic
#smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
Буду благодарен за любой комментарий