header_checks = regexp:/etc/postfix/header_checks
isi file /etc/postfix/header_checks
/^From: "spammer/ REJECT
/^To: bob@here.com/ REDIRECT bob@there.com
/^Subject:.*viagra/ DISCARD
/^Subject: .*H00kup/ DISCARD menghapus semua yang ada kata H00kup
/^Subject: .*E-Mailed Invoices Invoice/ DISCARD
/^Subject: .*F\*ck/ DISCARD menghapus semua yang ada kata F*ck
Untuk menguji misalnya From: my spammer:
postmap -q "From: my spammer" regexp:/etc/postfix/header_checks
No comments:
Post a Comment