URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 60788
[ Назад ]

Исходное сообщение
"Postfix (mysql) + greylist (gps) + aliases"

Отправлено Spinaker , 10-Окт-05 15:36 
Не могу решить проблему... Когда почта идет на ящик admin@flygroup.ru - почта задерживается greylistом (стоит gps для postfix). Когда почта идет на postmaster@flygroup.ru (адрес является aliasом admin@flygroup.ru) почта не задерживается greylistом...

Вот логи... Посылаем на admin@flygroup.ru, тут все нормально:
Oct 10 17:26:21 flygroup postfix/smtpd[8587]: connect from online.atritel.ru[83.172.16.2]
Oct 10 17:26:30 flygroup gps[8609]: started (ver.: 1.004 built: Oct  9 2005 02:40:29)
Oct 10 17:26:30 flygroup gps[8609]: new: 'admin@atritel.ru' -> 'admin@flygroup.ru', 'atritel.ru'
Oct 10 17:26:30 flygroup postfix/smtpd[8587]: NOQUEUE: reject: RCPT from online.atritel.ru[83.172.16.2]: 450 <admin@flygroup.ru>: Recipient
address rejected: Service is unavailable; from=<admin@atritel.ru> to=<admin@flygroup.ru> proto=ESMTP helo=<online.atritel.ru>
Oct 10 17:26:30 flygroup postfix/smtpd[8587]: disconnect from online.atritel.ru[83.172.16.2]
=====================================================
gps отверг сообщение...

Посылаем на postmaster@flygroup.ru, тут НЕ нормально:
Oct 10 17:25:57 flygroup postfix/smtpd[8587]: connect from online.atritel.ru[83.172.16.2]
Oct 10 17:25:57 flygroup postfix/smtpd[8587]: 461972E027: client=online.atritel.ru[83.172.16.2]
Oct 10 17:25:57 flygroup postfix/cleanup[8591]: 461972E027: message-id=<68924735.20051010172453@atritel.ru>
Oct 10 17:25:57 flygroup postfix/smtpd[8587]: disconnect from online.atritel.ru[83.172.16.2]
Oct 10 17:25:57 flygroup postfix/qmgr[7747]: 461972E027: from=<admin@atritel.ru>, size=943, nrcpt=1 (queue active)
Oct 10 17:25:57 flygroup postfix/virtual[8592]: 461972E027: to=<admin@flygroup.ru>, orig_to=<postmaster@flygroup.ru>, relay=virtual, delay=0
, status=sent (delivered to maildir)
Oct 10 17:25:57 flygroup postfix/qmgr[7747]: 461972E027: removed
=============================================================
Вот так спам успешно попадает в ящик админу.

Из mail.cf:
smtpd_recipient_restrictions = permit_mynetworks,
                            permit_sasl_authenticated,
                            reject_unlisted_recipient,
                            reject_unauth_destination,
                            check_policy_service unix:private/policy,
                            permit_auth_destination,
                            reject

smtpd_data_restrictions = reject_unauth_pipelining,
                            reject_non_fqdn_sender,
                            reject_non_fqdn_recipient,
                            reject_unknown_recipient_domain,
                            reject_unknown_sender_domain,
                            permit

smtpd_client_restrictions = permit_mynetworks,
                            permit_sasl_authenticated,
                            reject_rbl_client blackholes.mail-abuse.org,
                            reject_rbl_client dialups.mail-abuse.org,
                            reject_rbl_client relays.ordb.org,
                            reject_rbl_client dul.ru,
                            reject_rbl_client opm.blitzed.org,
                            reject_rbl_client list.dsbl.org,
                            reject_rbl_client sbl.spamhaus.org,
                            reject_rbl_client cbl.abuseat.org,
                            reject_rbl_client dul.dnsbl.sorbs.net,
                            reject_rbl_client dnsbl.njabl.org,
                            reject_rbl_client dynablock.njabl.org,
                            reject_rbl_client combined.njabl.org

smtpd_sender_restrictions = reject_non_fqdn_sender,
                            reject_unknown_sender_domain


Из master.cf
policy    unix  -       n       n       -       -       spawn
  user=nobody argv=/usr/local/bin/gps /usr/local/etc/gps.conf

Помогите разобраться...


Содержание

Сообщения в этом обсуждении
"Postfix (mysql) + greylist (gps) + aliases"
Отправлено jonatan , 10-Окт-05 15:52 
http://www.opennet.me/openforum/vsluhforumID1/57177.html