My mistake. The u...@domain.com is in the maillog. yahoo.co.jp is in postqueue -p
-jm

Paweł Leśniak wrote:
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)
                                        megu0327_he...@yahoo.co.jp

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)
                                        megu0327_he...@yahoo.co.jp

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)
                                        maria_rosmarinus0...@yahoo.co.jp

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) x_lily_05...@yahoo.co.jp (in reply to RCPT TO command))
                                        x_lily_05...@yahoo.co.jp

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) maria_rosmarinus0...@yahoo.co.jp (in reply to RCPT TO command))
                                        maria_rosmarinus0...@yahoo.co.jp

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) maria_rosmarinus0...@yahoo.co.jp (in reply to RCPT TO command))
                                        maria_rosmarinus0...@yahoo.co.jp

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 "u...@domain.com". 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 <u...@domain.com>: Sender address rejected: Access denied; from=<u...@domain.com> to=<ob...@lmtribune.com> 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 <u...@domain.com>: Sender address rejected: Access denied; from=<u...@domain.com> to=<mta...@lmtribune.com> 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 <u...@domain.com>: Sender address rejected: Access denied; from=<u...@domain.com> to=<kdr...@lmtribune.com> proto=SMTP helo=<dsldevice.lan>

Looks fine. You are rejecting mails from u...@domain.com (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