Hello list,

Now a days we are getting lots of spam emails from our own email-ids. I want to 
block this. I have tried to block senders domains which are local and not doing 
smtp-auth. While implementing I come across a new problem like, when I rejected 
a spam coming from my own email-id from another spam server, I got 
Bounce-Notification message also. As the account(my email id) is local, it 
entitled to get the Bounce Notification. How to overcome this issue? Any 
suggestion or reading.

Postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
local_destination_concurrency_limit = 5
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maximal_queue_lifetime = 15d
message_size_limit = 30240000
mydestination = $myhostname, $mydomain, mx1.$mydomain, localhost.$mydomain
mynetworks = x.x.x.x/32, 127.0.0.0/8,x.x.x.x/32,x.x.x.x
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
recipient_canonical_maps = hash:/etc/postfix/hashfiles/postfix_canonical
relay_domains = /etc/postfix/hashfiles/relay_domains
relay_recipient_maps = hash:/etc/postfix/hashfiles/relay_recipients
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sender_bcc_maps = hash:/etc/postfix/sender_bcc
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP UBE prohibited.
smtpd_helo_restrictions = check_helo_access 
hash:/etc/postfix/hashfiles/postfix_helo
smtpd_recipient_restrictions = 
permit_mynetworks
check_recipient_access pcre:/etc/postfix/ascii.pcre
permit_sasl_authenticated 
check_sender_access hash:/etc/postfix/check_backscatterer 
reject_invalid_hostname 
reject_non_fqdn_sender
reject_non_fqdn_recipient
reject_unauth_destination
/* check_sender_access hash:/etc/postfix/access_sender */
check_sender_access hash:/etc/postfix/hashfiles/postfix_sender
reject_rbl_client       sbl-xbl.spamhaus.org
reject_rbl_client       list.dsbl.org 
reject_rbl_client       dnsbl.sorbs.net
reject_rbl_client       bl.spamcop.net
reject_rbl_client       cbl.abuseat.org
reject_rbl_client       multi.uribl.com
reject_rbl_client       dsn.rfc-ignorant.org
reject_rbl_client       dul.dnsbl.sorbs.net
reject_rbl_client       ix.dnsbl.manitu.net
reject_rbl_client       combined.rbl.msrbl.net
reject_rbl_client       rabl.nuclearelephant.com
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous

cat /etc/postfix/access_sender
abc.com      REJECT

I am trying to reject the mails which is coming from a...@abc.com without 
smtp-authentication. It is being rejected but the bounce message is getting 
delivered to a...@abc.com as this domain and email is local. This is the 
problem.
Bijayant Kumar


      Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

Reply via email to