On Mon, May 24, 2010 at 2:05 PM, Linux Addict <linuxaddi...@gmail.com>wrote:

> Hello, One of my postfix server is sending thousands of messages to
> non-existent mail box in another internal server. The internal application
> sends mail as  mailb...@domain.net thru postfix. The TO addresses are
> invalid. I need reject  messages from those domains not resolved.
>
>
>
> to=<dmr0613420524125827...@dsaperftest.edu>, relay=none, delay=0.05,
> delays=0.01/0/0.04/0, dsn=5.4.4, status=bounced (Host or domain name not
> found. Name service error for name=dsaperftest.edu type=A: Host not found)
>
> thank you
> LA
>

These are the restrictions. Surely the host which is sending spam is part of
mynetworks.

smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_unauth_pipelining,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    reject_rbl_client blackholes.easynet.nl,
    reject_rbl_client cbl.abuseat.org,
    reject_rbl_client proxies.blackholes.wirehub.net,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client dnsbl.njabl.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client multihop.dsbl.org,
    permit

disable_vrfy_command = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
     reject_non_fqdn_hostname,
     reject_invalid_hostname,
     permit

transport_maps = hash:/etc/postfix/transport
smtpd_recipient_limit = 300
data_directory = /var/lib/postfix
smtpd_tls_wrappermode = no

Reply via email to