SMTP Restrictions How to create black list For email-id


By through creating blacklist if we sent mail to specific mail id if it is present blacklist then it will not sent to that end customer. By through creating SMTP restriction we will avoid Spam and unwanted mails. How to avoid Spam mail in red hat Linux RHEL5 we edit file in file.

Step 1: Rhel5
edit file
#vim /etc/mail/ Create black list in file config
Line no:102
Step 2:
add entries in access file
#vim /etc/mail/access
Line no:last REJECT OK
Connect:sys44 OK
Step 3:
restart the sendmail service
#service sendmail restart
Step 4:
add dns entry
#vim /etc/resolv.conf
Step 5:
test the restrictions from sys4
#echo “test email “ |mail ­s “sample” ­v
the email will not send .

No comments:
Write comments