LINUX.ORG.RU
решено ФорумAdmin

Postfix sender non-delivery notification

 ,


0

1

Настраиваю Postfix для рассылки сообщений.

postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = mail.example.com, localhost.example.com, localhost
mydomain = example.com
myhostname = mail.example.com
mynetworks = 127.0.0.0/8, 192.168.200.0/24
myorigin = $mydomain
readme_directory = no
recipient_delimiter = +
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
unknown_local_recipient_reject_code = 550
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = hash:/etc/postfix/virtual_domain
virtual_mailbox_maps = hash:/etc/postfix/virtual_maps
virtual_uid_maps = static:5000

Если шлю почту с сервера где стоит postfix, то почта уходит на yandex.ru, google.ru нормально.

А если пробую с соседних серверов то в логах


Jun 24 01:52:34 mail postfix/smtpd[29811]: connect from example.ru[11.22.33.44]
Jun 24 01:52:34 mail postfix/smtpd[29811]: A70886BCB3F1: client=example.ru[11.22.33.44], sasl_method=PLAIN, sasl_username=test@example.com
Jun 24 01:52:34 mail postfix/cleanup[29815]: A70886BCB3F1: message-id=<>
Jun 24 01:52:34 mail postfix/qmgr[29728]: A70886BCB3F1: from=<test@example.com>, size=198, nrcpt=1 (queue active)
Jun 24 01:52:34 mail postfix/smtpd[29811]: disconnect from example.ru[11.22.33.44]
Jun 24 01:52:35 mail postfix/smtp[29816]: A70886BCB3F1: to=<user@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.71.26]:25, delay=0.65, delays=0.14/0/0.28/0.22, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.71.26] said: 550-5.7.1 [22.33.44.55      11] Our system has detected that this message is not 550-5.7.1 RFC 2822 compliant. To reduce the amount of spam sent to Gmail, this 550-5.7.1 message has been blocked. Please review 550 5.7.1 RFC 2822 specifications for more information. bl3si6028747lbb.131 - gsmtp (in reply to end of DATA command))
Jun 24 01:52:35 mail postfix/cleanup[29815]: 8D08D6BCB3F4: message-id=<20130623215235.8D08D6BCB3F4@mail.example.com>
Jun 24 01:52:41 mail postfix/qmgr[29728]: 8D08D6BCB3F4: from=<>, size=2676, nrcpt=1 (queue active)
Jun 24 01:52:41 mail postfix/bounce[29817]: A70886BCB3F1: sender non-delivery notification: 8D08D6BCB3F4
Jun 24 01:52:41 mail postfix/qmgr[29728]: A70886BCB3F1: removed
Jun 24 01:52:41 mail postfix/virtual[29819]: 8D08D6BCB3F4: to=<test@example.com>, relay=virtual, delay=5.7, delays=5.5/0/0/0.22, dsn=2.0.0, status=sent (delivered to maildir)
Jun 24 01:52:41 mail postfix/qmgr[29728]: 8D08D6BCB3F4: removed

почему так ? голову уже всю сломал:(

Помогите пожалуйста.

Ответ на: комментарий от blind_oracle

спасибо за наводку.

Много времени потратил.

marat04
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.