--------------------------------------------------------------
A perl script wich takes some file and test it using Mail::SpamAssassin to get it´s spam score level
OS: gentoo 2005.0
MTA: postfix
SpamAssassin:
--------------------------------------------------------------
Using: Net test, Bayes, Razor2, DCC, Phyzor, SPF Test (and everything else suggested by spamassassin)
Rules:
rules_du_jour:
http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf
http://www.rulesemporium.com/rules/bigevil.cf
http://mywebpages.comcast.net/mkettler/sa/antidrug.cf
http://www.rulesemporium.com/rules/evilnumbers.cf
http://www.stearns.org/sa-blacklist/sa-blacklist.current
http://www.stearns.org/sa-blacklist/sa-blacklist.current.uri.cf
http://www.stearns.org/sa-blacklist/random.current.cf
http://www.timj.co.uk/linux/bogus-virus-warnings.cf
http://www.rulesemporium.com/rules/70_sare_adult.cf
http://www.rulesemporium.com/rules/99_sare_fraud_post25x.cf
http://www.rulesemporium.com/rules/99_sare_fraud_pre25x.cf
http://www.rulesemporium.com/rules/72_sare_bml_post25x.cf
http://www.rulesemporium.com/rules/71_sare_bml_pre25x.cf
http://www.rulesemporium.com/rules/70_sare_ratware.cf
http://www.rulesemporium.com/rules/70_sare_spoof.cf
http://www.rulesemporium.com/rules/70_sare_bayes_poison_nxm.cf
http://www.rulesemporium.com/rules/70_sare_oem.cf
http://www.rulesemporium.com/rules/70_sare_random.cf
http://www.rulesemporium.com/rules/70_sare_header.cf
http://www.rulesemporium.com/rules/70_sare_html.cf
http://www.rulesemporium.com/rules/70_sare_specific.cf
http://www.rulesemporium.com/rules/71_sare_redirect_pre3.0.0.cf
http://www.rulesemporium.com/rules/72_sare_redirect_post3.0.0.cf
http://www.rulesemporium.com/rules/70_sare_uri0.cf
http://www.rulesemporium.com/rules/70_sare_uri1.cf
http://www.rulesemporium.com/rules/70_sare_uri2.cf
http://www.rulesemporium.com/rules/70_sare_uri3.cf
http://www.rulesemporium.com/rules/70_sare_uri_eng.cf
http://www.rulesemporium.com/rules/70_sare_uri_arc.cf
Runtime: -------------------------------------------------------------- 4 processes in parallel mode
Harwdare: -------------------------------------------------------------- Intel Pentium III - 1ghz - 512RAM (pci133)
top: --------------------------------------------------------------- top - 23:03:27 up 10:39, 2 users, load average: 5.47, 5.35, 5.19 Tasks: 62 total, 2 running, 60 sleeping, 0 stopped, 0 zombie Cpu(s): 93.7% us, 5.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.6% hi, 0.0% si Mem: 514036k total, 490044k used, 23992k free, 6892k buffers Swap: 987988k total, 49672k used, 938316k free, 38012k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27220 xmail 19 0 98680 71m 3064 R 99.9 14.2 2:38.51 /progs/xmail/bin/mx_parser/mx_parser.pl - 1
27603 xmail 15 0 100m 95m 3064 S 36.8 19.0 2:06.76 /progs/xmail/bin/mx_parser/mx_parser.pl - 5
28171 xmail 16 0 93604 87m 3064 D 28.9 17.4 1:11.20 /progs/xmail/bin/mx_parser/mx_parser.pl - 4
27516 xmail 17 0 94644 88m 3064 D 13.1 17.6 2:03.70 /progs/xmail/bin/mx_parser/mx_parser.pl - 2
27308 xmail 18 0 97960 73m 3064 D 10.5 14.5 2:35.46 /progs/xmail/bin/mx_parser/mx_parser.pl - 3
So, here it goes again the "simple", but not short, question:
Q) With spamassassin (and all the above info) you need about 20 to 30 seconds per email message and LOTS of RAM and CPU:
a) TRUE
b) FALSE