On Nov 25, 2007 2:46 PM, Glenn Steen <<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On 25/11/2007, Israel Garcia <<a href="mailto:igalvarez@gmail.com">igalvarez@gmail.com</a>> wrote:<br>> Hi all, I'm running MailScanner-4.65-3.1(with DCC, razor2, pyzor) on a
<br>> CentOS4.5 Linux server. I installed too the package<br>> install-Clam-0.91.2-SA-3.2.3.tar.gz in order to activate spamassassin<br>> with mailscanner. I ran spamassassin -D --lint and there's no problem<br>
> in my configuration files. I also see in maillog file the spamassassin<br>> doing its work with spam:<br>><br>> Nov 25 04:54:51 hostname MailScanner[20611]: Message B25732B1DB.A9A63<br>> from <a href="http://75.93.188.141" target="_blank">
75.93.188.141</a> (<a href="mailto:jerrimy@donin.com">jerrimy@donin.com</a>) to <a href="http://mydomain.com" target="_blank">mydomain.com</a> is spam,<br>> SBL+XBL, <a href="http://spamcop.net" target="_blank">spamcop.net
</a>, SpamAssassin (not cached, score=30.984, required<br>> 6, DCC_CHECK 1.37, FH_HELO_EQ_D_D_D_D 0.50, FS_REPLICA 1.18,<br>> HELO_DYNAMIC_IPADDR2 4.39, HTML_MESSAGE 0.00, RATWARE_MS_HASH 2.78,<br>> RATWARE_OUTLOOK_NONAME
0.00, RCVD_IN_BL_SPAMCOP_NET 2.19, RCVD_IN_XBL<br>> 2.90, RDNS_DYNAMIC 0.10, SARE_SPEC_REPLICA_OBFU 1.81,<br>> SARE_SPEC_ROLEX_NOV5A 1.06, TVD_RCVD_IP 1.62, URIBL_AB_SURBL 1.61,<br>> URIBL_BLACK 1.96, URIBL_JP_SURBL
2.86, URIBL_OB_SURBL 2.13,<br>> URIBL_SC_SURBL 2.52)<br>><br>> Everything is fine BUT, when I run "qshape hold" I see the HOLD folder<br>> is FULL of messages waiting to be processed, I mean thousands of mails
<br>> waiting and there is a long delay in delivering.<br>> My link to internet is not full, I mean I see the normal traffic.<br>><br>> So, when I turn off spamassassin in MailScanner.conf there's almost no
<br>> messages in HOLD foder.<br>><br>> My questions are:<br>><br>> 1. How can I speed the spamassassin process in my server?<br></div></div>Use a caching only DNS, limit what you check (RBLs etc).... There are
<br>some things to do:-)<br><div class="Ih2E3d"></div></blockquote><div><br>I have in this server a caching only DNS...<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>> 2. Do I have to use all the plugins (DCC, razor2, pyzor, spamcop, and<br>> others that comes activated by default when I install spamassassin<br>> package)?<br></div>No. But they all contribute something:-). WRT Pyzor, make sure you use
<br>the "alternative" server, the official one will likely just time out.<br>What modules do you load?</blockquote><div><br>I use DCC, razor2, pyzor and all the stuff from /etc/mail/spamassassin config files:<br>
<br>-rw-r--r-- 1 root root 1089 Jun 2 13:40 init.pre<br>lrwxrwxrwx 1 root root 41 Jun 2 21:43 <a href="http://local.cf">local.cf</a> -> /etc/MailScanner/spam.assassin.prefs.conf<br>lrwxrwxrwx 1 root root 41 Nov 24 11:00
<a href="http://mailscanner.cf">mailscanner.cf</a> -> /etc/MailScanner/spam.assassin.prefs.conf<br>drwxr-xr-x 3 root root 4096 Nov 24 15:43 old<br>drwxr-xr-x 2 root root 4096 Nov 25 05:05 RulesDuJour<br>drwx------ 2 root root 4096 Nov 25 05:08 sa-update-keys
<br>-rw-r--r-- 1 root root 2439 Jun 2 14:03 v310.pre<br>-rw-r--r-- 1 root root 922 Jun 2 13:39 v312.pre<br>-rw-r--r-- 1 root root 2299 Jun 2 13:40 v320.pre<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="Ih2E3d"><br>> 3. Maybe offtopic, sorry.. but does anybody knows any rules on the MTA<br>> (postfix) in order to stop spam before it gets to<br>> mailscanner/spamassassin?<br></div>You can implement all the usual stuff (look at the UCE advice at
<br>www.postfix.org->Documentation... The cheat sheet is pretty good<br>advice. This page:<a href="http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:setup_smtp_filtering" target="_blank">
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:setup_smtp_filtering</a><br>has some interrest too:-), and of course... Don't accept mail for<br>unknown users. You can either use the *_recipient_maps settings (with
<br>"static" maps) as described in the mailscanner Wiki<br>(<a href="http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:reject_non_existent_users" target="_blank">http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:reject_non_existent_users
</a>),<br>or use address verification (also mentioned in the wiki, and has it's<br>own page in the postfix docs...;-).</blockquote><div>I'm running to read them NOW! :-)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="Ih2E3d"><br>> 4. Does anybody knows some perfect setup (best perfomance) to install<br>> mailscanner with spamssassin? some link? some tutorial?<br></div>Perfect is too much to aim for;-). I usually try for functional:-):-)
</blockquote><div><br>:-) :-) .. thanks a lot Glenn<br><br>regards,<br><br>Israel <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="Ih2E3d"><br>><br>> I have used mailscanner for several years I really love it. Any ideas<br>> will be accepted.<br>><br>> thanks in advance!<br>> --<br>> Regards;<br>> Israel Garcia
<br></div>> --<br>> MailScanner mailing list<br>> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>><br>> Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>><br>> Support MailScanner development - buy the book off the website!
<br>><br><br><br>--<br>-- Glenn<br>email: glenn < dot > steen < at > gmail < dot > com<br>work: glenn < dot > steen < at > ap1 < dot > se<br><font color="#888888">--<br>MailScanner mailing list
<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner
</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website!<br></font></blockquote>
</div><br><br clear="all"><br>-- <br>Regards;<br>Israel Garcia