View Full Version : MailScanner
I've installed MailScanner in my Raq3, following this guide:
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=96
Everything is running smoothly. But I'd like to make its spam filter a bit tighter.
Any suggestion?
ellebi 02-20-2002, 06:12 AM MailScanner is configured by default to check ORDB-RBL (relays.ordb.org). If you want you can add more open relays databases. Just find the spam section in mailscanner.conf and add a line for each database you want to check in the format:
SpamList = database_name, dns_zone_for_the_database.
For example, if you want to add MAPS-RBL (blackholes.mail-abuse.org) you should add the following line:
SpamList = MAPS-RBL, blackholes.mail-abuse.org.
If you want to have a tighter check you can use SpamAssassin together with MailScanner.
This in an excerpt from the MailScanner Guide:
"The SpamAssassin system is also supported as an optional extra, which if installed will greatly improve the ability to be able to identify spam. This is a very clever heuristics-based engine that identifies spam using a wide range of dozens of tests on both the headers and body of the message."
And this are the spam-identification tactics used by SpamAssassin:
- header analysis: spammers use a number of tricks to mask their identities, fool you into thinking they've sent a valid mail, or fool you into thinking you must have subscribed at some stage. SpamAssassin tries to spot these.
- text analysis: again, spam mails often have a characteristic style (to put it politely), and some characteristic disclaimers and CYA text. SpamAssassin can spot these, too.
- blacklists: SpamAssassin supports many useful existing blacklists, such as mail-abuse.org, ordb.org or others.
- Razor: Vipul's Razor is a collaborative spam-tracking database, which works by taking a signature of spam messages. Since spam typically operates by sending an identical message to hundreds of people, Razor short-circuits this by allowing the first person to receive a spam to add it to the database -- at which point everyone else will automatically block it.
To enable SpamAssassin use in MailScanner find, in the spam section of mailscanner.conf, the following line:
Use SpamAssassin = no
and just change "no" to "yes". There are also some other options you can adapt to your needs.
More informations can be found at:
MailScanner: http://www.mailscanner.info
SpamAssassin: http://spamassassin.org
Vipul's Razor: http://razor.sourceforge.net/
ORDB: http://www.ordb.org
MAPS: http://www.mail-abuse.org
Pingu 02-20-2002, 07:23 AM I noticed that mailscanner there. What I wondered is how running that thing will affect performance on a raq3. Any clues?
My Raq3 with 512 MB RAM increased its average load from 0.25-0.35 to 0.45-0.50 with MailScanner.
How much would this SpamAssassin increase the load? Is it an RaqAssassin? :D
ellebi 02-20-2002, 02:40 PM Originally posted by adad
My Raq3 with 512 MB RAM increased its average load from 0.25-0.35 to 0.45-0.50 with MailScanner.
How much would this SpamAssassin increase the load? Is it an RaqAssassin? :D
I haven't noticed on my raq4 any significant increase in the load average since installing MailScanner.
I haven't tried yet SpamAssassin but the MailScanner installation guide says it has a significant load impact.
joubarani 02-21-2002, 09:06 PM Hi,
I've installed MailScanner in my Raq4, following this guide
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=96
In the end of the installation gut the following error
> /etc/rc.d/init.d/mailscanner restart
Shutting down MailScanner: ERROR!sendmail oksendmail ok
Starting MailScanner: can not chdir(/var/spool/mqueue): No such file or directory
Directory /var/spool/mqueue/q(x) does not exist! at /usr/local/MailScanner/bin/logger.pl line 60.
Kindly Help :eek:
You need to move a directory around to get the mailscanner to work properly
cd /var/spool
mv /var/spool/mqueue.in/ /home/spool/
ln -s ../../home/spool/mqueue.in /var/spool/mqueue.in
I believe you should move this directory and put the sym link before starting MailScanner.
Hope this helps,
Daniel
ellebi 02-22-2002, 05:42 AM Have you modified the Output Queue Dir in mailscanner.conf?
The default is
Outgoing Queue Dir = /var/spool/mqueue
and I've modified it to the following to work:
Outgoing Queue Dir = /var/spool/mqueue/q1
joubarani 02-22-2002, 07:05 PM It's working fine now!
ln -s ../../home/spool/mqueue /var/spool/mqueue
Thanks to all.:)
I've installed MailScanner in my Raq3, following this guide:
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=96
Everything is running smoothly. But I'd like to make its spam filter a bit tighter.
Any suggestion?
Any chance we will see this as an add on package for the Raq? I don't like messing around with things this much.
Matt
hypernatic.net 02-24-2002, 10:27 AM I have the same problem (RaQ4)
[root spool]# /etc/rc.d/init.d/mailscanner start
Starting MailScanner: Directory /var/spool/mqueue/q(x) does not exist! at /usr/local/MailScanner/bin/logger.pl line 60.
I tried the "ln" thing... doesn't work..
What should I do?
joubarani 02-24-2002, 05:39 PM Hi,
make simply links.
ln -s ../../home/spool/mqueue /var/spool/mqueue
and replace the:
Starting MailScanner: Directory /var/spool/mqueue/q(x)
with:
Starting MailScanner: Directory /var/spool/mqueue/q1
joubarani 03-05-2002, 08:53 PM I need to uninstall mailscanner from my RAQ4i kindly advice....I
nEMESIS4 09-17-2002, 01:23 PM Does anybody know how to uninstall the mail scanner? Since we installed it Relaying Denied messages are poping up all over. Nothing we have done is able to fix it. Even checking and unchecking the pop before relying in the admin. Any suggestions?
ellebi 09-17-2002, 01:36 PM If you have installed the rpm type at the command prompt
rpm -e <package name>
if you have the latest version
rpm -e mailscanner-3.22-14.i386.rpm
The behaviour you're reporting is quite strange. Lately I had a similar problem on a raq4. To solve it I add to add all the problematic domains in the "Relay for the following Hosts/Domains" under email parameters on the control panel.
nEMESIS4 09-17-2002, 01:40 PM Thanks for the suggestion, that is one thing I haven't tried. I will let you know if that fixes it before I uninstall MailScanner, which I assume would mean the server isn't resolving IP's quickly enough? I am also using a RAQ4. What exactly wasn't working with your server?
ellebi 09-18-2002, 04:05 AM Originally posted by nEMESIS4
Thanks for the suggestion, that is one thing I haven't tried. I will let you know if that fixes it before I uninstall MailScanner, which I assume would mean the server isn't resolving IP's quickly enough? I am also using a RAQ4. What exactly wasn't working with your server?
After installing mailscanner I noticed that on the control panel email service seems disabled even if it's working fine, the checkbox for email server on the service settings isn't thicked. I also noticed that sometimes when I create a new virtual site the domain isn't added to the "Relay for the following Hosts/Domains". As I wrote before adding domains by hand solved the problem,
After installing mailscanner I noticed that on the control panel email service seems disabled even if it's working fine, the checkbox for email server on the service settings isn't thicked. I also noticed that sometimes when I create a new virtual site the domain isn't added to the "Relay for the following Hosts/Domains". As I wrote before adding domains by hand solved the problem,
Have you rebooted? It does this tell you reboot.
Matt
ellebi 09-18-2002, 12:57 PM Have you rebooted? It does this tell you reboot.
No, I didn't reboot and didn't ask me to. I just clicked on save changes.
cyrusTvirus 09-19-2002, 03:22 AM It is NOT needed to reboot.
|