W dniu 2009-03-04 21:32, Jim McIver pisze:
I have Postfix 2.1 on Freebsd 4.10 and am having trouble blocking email from a domain.

Here is a snipet of the postqueue -p:

DF6A927D       3512 Tue Mar  3 18:42:35  MAILER-DAEMON
(connect to mx1.mail.yahoo.co.jp[124.83.183.240]: server dropped connection without sending the initial SMTP greeting)
                                        [email protected]

D5EFB277       3508 Tue Mar  3 18:42:28  MAILER-DAEMON
(connect to mx3.mail.yahoo.co.jp[203.216.247.184]: server dropped connection without sending the initial SMTP greeting)
                                        [email protected]

D870B221       3248 Tue Mar  3 15:03:34  MAILER-DAEMON
(connect to mx5.mail.yahoo.co.jp[203.216.243.173]: server dropped connection without sending the initial SMTP greeting)
                                        [email protected]

DA5AC227       3583 Tue Mar  3 14:46:26  MAILER-DAEMON
(host mx3.mail.yahoo.co.jp[124.83.155.153] said: 451 VS14-RT5 Mailbox bounce arrival rate exceeds system limit (#4.2.2) [email protected] (in reply to RCPT TO command))
                                        [email protected]

D11AD314       3248 Wed Mar  4 08:21:42  MAILER-DAEMON
(host mx3.mail.yahoo.co.jp[124.83.155.153] said: 451 VS14-RT5 Mailbox bounce arrival rate exceeds system limit (#4.2.2) [email protected] (in reply to RCPT TO command))
                                        [email protected]

D48452DB       3250 Wed Mar  4 11:39:04  MAILER-DAEMON
(host mx2.mail.yahoo.co.jp[203.216.243.170] said: 451 VS14-RT5 Mailbox bounce arrival rate exceeds system limit (#4.2.2) [email protected] (in reply to RCPT TO command))
                                        [email protected]

I would like to block the .co.jp so it doesn't pile up in postqueue.
This seems like your email address has been used as sender_address with some spam rejected by yahoo.co.jp (just a guess). Anyways your MAILER_DAEMON tries to send bounces to yahoo.co.jp. You'd have to check what's inside those bounced messages to find out what's the real problem, I mean why your mailserver is generating those bounces. You could reject those messages by rejecting recipients from yahoo.co.jp. but this is not recommended.
2nd:
I also receive over 400 messages daily from "[email protected]". The messages never go anywhere, they just pile up in the postqueue and I'd like to keep the postqueue -p cleaned out.

Snippet from maillog:

Mar 4 00:09:21 mail postfix/smtpd[36633]: NOQUEUE: reject: RCPT from unknown[89.218.164.251]: 554 <[email protected]>: Sender address rejected: Access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<89.218.164.251.metro.online.kz> Mar 4 02:41:25 mail postfix/smtpd[38622]: NOQUEUE: reject: RCPT from unknown[86.123.168.197]: 554 <[email protected]>: Sender address rejected: Access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<86-123-168-197.brasov.rdsnet.ro> Mar 4 02:59:03 mail postfix/smtpd[39694]: NOQUEUE: reject: RCPT from unknown[92.83.230.6]: 554 <[email protected]>: Sender address rejected: Access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<dsldevice.lan>

Looks fine. You are rejecting mails from [email protected] (and that obeys with your config check_sender_access hash:/usr/local/etc/postfix/sender_access). You shouldn't see those in queue.

Pawel Lesniak

Reply via email to