SPAM ? Langsung Reject

Reject secara paksa mengguna relay Mail (MX server)

First stage (postfix)

# cd /etc/postfix
# mcedit sender_access

==>tambahin blacklist
spam@abimayu.com REJECT


# postmap hash:sender_access

==> tambahkan pada main.cf
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access

# /etc/init.d/postfix restart



Second stage (spamassassin)

# mcedit /etc/mail/spamassassin/local.cf

==> tambahkan
blacklist_from user@abadboy.com

# /etc/init.d/spamassassin restart

No comments:

Post a Comment