On 4/23/2013 12:26 AM, Feel Zhou wrote:
> Hello, my friend
> This is tom, I'm sending my greeting from China
> I got some problem, and need your help
> This mail is in the queue, but I hold it,just like that
> C94C6AC00D4!    3372 Wed Apr 17 19:07:51  MAILER-DAEMON
>                                        (mail for uhb.com
> <http://uhb.com> loops back to myself)
>                                          lon...@uhb.com
> <mailto:lon...@uhb.com>
> Then I found it's not a good  mx recorder,
> uhb.com <http://uhb.com>.                85650   IN      MX      3
> mail.uhb.com <http://mail.uhb.com>.
> mail.uhb.com <http://mail.uhb.com>.           86020   IN     
> A       127.0.0.1
> How can I reject these mail before it in the queue
> Thanks for your time.
> TOM

http://www.postfix.org/postconf.5.html#check_sender_mx_access

Use it something like this:

# main.cf
smtpd_recipient_restrictions =
  permit_mynetworks
  permit_sasl_authenticated
  reject_unauth_destination
  check_sender_mx_access hash:/etc/postfix/bogus_sender_mx
  ... other UCE controls ...


# bogus_sender_mx
127.0.0.1   REJECT bogus sender mx loopback address found





  -- Noel Jones

Reply via email to