SPAMASSASSIN EXAMPLE

Posted: September 16, 2008 in SENDMAIL, SMTP
Tags: ,

SPAM ASSASSIN GLOBAL RULES FOR SENDMAIIL

Create a file procmailrc in /etc and out following

# vi /etc/procmailrc

DROPPRIVS=yes
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
$HOME/spam
~
~
Save and close

For fine tuning edit /etc/mail/spamassassin/local.cf and put following

# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.

required_hits 5.0
rewrite_header Subject *****SPAM*****
report_safe 0

whitelist_from mariana.tynelski-tobiasz@airbus.com
whitelist_from *.airbus.com

blacklist_from jessikalizbethhp@quixnet.net
blacklist_from agglomerate7@moellerdesign.com
blacklist_from akstcevoicemnsdgs@evoice.com
blacklist_from -mail@aengblom.com
blacklist_from elliee@thbapt.com
blacklist_from _gillian@aerosmithisland.com
blacklist_from cantius02@poloralphlauren.com
blacklist_from guttertnie73@podpc.com
blacklist_from dledelen@habitatstl.org
blacklist_from Anirudh-aps-clac@albergo-parigi-paris.com
blacklist_from positivesrq4@toranoo.com
blacklist_from administrator@freedownloadmanager.org
blacklist_from cates_re@meridianmt.com
blacklist_from spivey_fy@wwdb.org
blacklist_from b.conley_nx@budgetware.com
blacklist_from kumrah_1974@ADSTRA.COM
blacklist_from gcedeno@gytcontinental.com.gt
blacklist_from a-amyh@ace-bakery.com
blacklist_from a-adif@abriter.com
blacklist_from dnrecommendation@bodyandsoulspa.com
blacklist_from revocs@1to1essaywriting.com
blacklist_from newsletter@coffeecup.com
blacklist_from _neneders@ac-training.com
blacklist_from rhapsodicHattie@fieldman.com
blacklist_from a-arland@achilles.de
blacklist_from ejirvtfi@GFAX.GNCOMTEXT.COM
blacklist_from hammer@superlink.net
blacklist_from Marijn-metreles@ffw-sulzgries.de
blacklist_from tih-hmelm@lik.nu
blacklist_from stevefredkgrge@knightsystems.net
blacklist_from Miles@fh-augsburg.de

header CONTAINS_VIG Subject =~ /viagra, Cialix Pills, sex, xxx, penis, pussy/
body CONTAINS_PEN /viagra, sex, xxx, penis, pussy/
score CONTAINS_VIG 1.5
score CONTAINS_PEN 1.5
describe CONTAINS_VIG Bad Word
describe CONTAINS_PEN Bad Word

——————————————

Save and close

This file from my server config file …….
~

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s