Manual/Auto Whitelist

Martin Hepworth martinh at solid-state-logic.com
Mon Feb 20 17:08:59 GMT 2006


Dave

The user who runs this cron job will need write permissions on the bayes
database files and directory for SpamAssassin. So yes you can run this as
non-root.

As for the autowhitelist, there is a similar facility built into SA, but I
found it not very reliable and triggered when it shouldn't have too many
times. Others find it OK so YMMV.

--
Martin Hepworth 
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Dave Barter
> Sent: 20 February 2006 16:42
> To: mailscanner at lists.mailscanner.info
> Subject: Manual/Auto Whitelist
> 
> Hi,
> 
> Firstly my apologies if this is an FAQ but I could not find a suitable
> answer.
> 
> I have a MailScanner installation running spamassassin. I have set my non-
> spam scores quite low and all is looking good.
> 
> I redirect all low scoring spam to a mailbox called "spam" and check this
> manually. All false positives are then copied manually by
> me to a mailbox called "ham" and every night I run a cron job as follows:-
> 
> /usr/bin/sa-learn --ham --mbox /var/spool/mail/ham
> 
> This does not seem to be working though and I think it is because I am not
> running this job as the root user.
> 
> Is it possible for me to have a non-root script that will run AND also
> auto-whitelist any "from" address in the ham mailbox
> 
> Thanks
> Dave
> 
> --
> 
> Legatio Technologies Ltd.
> http://www.legatio.com
> eMail: dave.barter at legatio.com
> Phone: 01793 638639
> Mobile: 07799 414702
> Fax: 0870 4601628
> 
> This message is confidential. It may not be disclosed to, or used by,
> anyone other than the addressee(s). If you receive this
> message in error, please advise us immediately using the email address
> postmaster at legatio.com. Internet e-mail is not necessarily
> secure. Legatio Technologies will not accept responsibility for
> alterations or additions to any e-mail message or attached documents
> that occur after transmission.
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date:
> 17/02/2006
> 
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website!


**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************



More information about the MailScanner mailing list