X-Spam-Status: Yes, hits=8.7 required=5.0 tests=UNDISC_RECIPS,NO_REAL_NAME,CLICK_BELOW,UPPERCASE_25_50, CLICK_HERE_LINK version=2.31 X-Spam-Flag: YES X-Spam-Level: ******** X-Spam-Checker-Version: SpamAssassin 2.31 (devel $Id: SpamAssassin.pm,v 1.94.2.2 2002/06/20 17:20:29 hughescr Exp $) X-Spam-Report: 8.7 hits, 5 required; * 4.0 -- Valid-looking To "undisclosed-recipients" * 0.5 -- From: does not include a real name * 1.5 -- BODY: Asks you to click below * 1.9 -- BODY: message body is 25-50% uppercase * 0.8 -- BODY: Tells you to click on a URL
/etc/imap/procmailrc
/etc/postfix/header_checks
.man 5 pcre_table
). Example:In this file, define rules for use by Postfix. For this purpose, use Perl Compatible Regular Expressions (PCRE; for a description please refer to the manpage /^(To|From):*friend@(public.com|localhost.net)/ REJECT /^From:.*infowatch\.net/ REJECT /^To: ListMembers@theneffect/ REJECT
/etc/postfix/main.cf
and insert the following line:header_checks = pcre:/etc/postfix/header_checks
rcpostfix reload
/etc/postfix/body_checks
.man 5 pcre_table
). Example:/^Hi! How are you/ REJECT /(usa\.net|hotmail\.com|yahoo\.com)\?subject=remove/ REJECT /(filename|name)=".*\.(asd|chm|exe|doc|dll|hlp|hta|js|ocx|pif)"/ REJECT
/etc/postfix/main.cf
and insert the following lines:body_checks = pcre:/etc/postfix/body_checks
rcpostfix reload
/etc/postfix/access
and add rules as follows:
#Blocking a domain, no host of this domain (including subdomains) is permitted to submit mail spammers.com REJECT #Blocking an individual IP address with error notification to the sender 213.95.15.200 550 Keep your SPAM #Blocking an entire subnet (213.95.x.x) 213.95 REJECTHelp is provided in the comments in the file or on the manpage
man 5 access
postmap /etc/postfix/access
rcpostfix reload
/etc/postfix/main.cf
and insert the following lines. Modify the rbl_domains
to the
server(s) you want to use. Before you do so, check which servers are available. Some servers are subject to registration and payment of a fee. The servers used in this example may not work!
smtpd_helo_restrictions = reject_maps_rbl maps_rbl_domains = blackholes.mail-abuse.org, relays.osirusoft.comReload the configuration:
rcpostfix reload
SDB-rsimai_slox_anti_spam
)