Re: Postfix - message queue filling with Host or name not found - try again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Nov 16, 2010 at 11:49 AM, Rob Kampen <rkampen@xxxxxxxxxxxxxxxxx> wrote:
> Hi list,
> I have noted over the last week or so my DNS servers are dumping lots of
> messages for bogus domain lookups. Examining the postfix queue with
> postqueue -p: ÂI see many
> (Host or domain name not found. Name service error for
> name=bdgiedjhea.po6e4ina.com type=MX: Host not found, try again)
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ÂJake@xxxxxxxxxxxxxxxxxxxxxxx
> My question - why does this stay in the message queue - why not dumped back
> with message undeliverable or dropped?
> I understand this is probably related to my config - which follows:
> <main.cf>


Here's what you want (copied from my config):

maps_rbl_reject_code = 450
non_fqdn_reject_code = 450
smtpd_delay_reject = yes
smtpd_helo_required = yes

smtpd_helo_restrictions =
        reject_unauth_pipelining
        permit_sasl_authenticated
        permit_mynetworks
        reject_invalid_hostname
        reject_non_fqdn_hostname
        reject_unknown_helo_hostname
        permit

smtpd_sender_restrictions =
        reject_unauth_pipelining
        reject_non_fqdn_sender
        reject_non_fqdn_recipient
        reject_unknown_recipient_domain
        reject_unknown_sender_domain
        permit

smtpd_client_restrictions =
#       sleep 1
        reject_unauth_pipelining
        permit_sasl_authenticated
        permit_mynetworks
        reject_unknown_client_hostname
        permit

smtpd_recipient_restrictions =
        reject_unauth_pipelining
        reject_non_fqdn_recipient
        reject_unknown_recipient_domain
        permit_mynetworks
        permit_sasl_authenticated
        reject_unauth_destination
        #fully automated RBLs
        reject_rbl_client truncate.gbudb.net
        reject_rbl_client dnsbl.proxybl.org
        reject_rbl_client psbl.surriel.com
        reject_rbl_client db.wpbl.info
        reject_rbl_client bl.spamcop.net
#       reject_rbl_client bl.spamcannibal.org  #blocked charles
        reject_rbl_client intercept.datapacket.net
        reject_rbl_client spamtrap.drbl.drand.net
#       reject_rbl_client dnsbl.ahbl.org #blocked godaddy
        reject_rbl_client dnsbl-1.uceprotect.net
        reject_rbl_client bhnc.njabl.org
        reject_rbl_client dnsbl.njabl.org
        #larder RBLs with some non-automation and larger ranges of IPs
#       reject_rbl_client dnsbl.sorbs.net #(blocked fedora)
#       reject_rbl_client dnsbl-2.uceprotect.net
        reject_rbl_client dnsbl-3.uceprotect.net
        reject_rbl_client zen.spamhaus.org
#       reject_rbl_client
#       reject_rbl_client dnsbl-2.uceprotect.net,
#       check_policy_service unix:private/spfpolicy
#       check_policy_service inet:127.0.0.1:10023
        permit

strict_rfc821_envelopes = yes
smtpd_reject_unlisted_sender = yes
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux