OT Trying to setup a inbox for autolearning

Tony Enderby tenderby at VHIA.COM.AU
Tue Jul 19 17:32:20 IST 2005


Try this,

perl expire_mail.pl -a0 -z /var/spool/mail/spam

or

perl expire_mail.pl -a0 -z -d /var/spool/mail/spam

to run in debug mode and get output to console (doesn't delete any mail)

Tony.



"Billy A. Pumphrey" <bpumphrey at WOODMACLAW.COM>
Sent by: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>

07/20/2005 02:23 AM
                               Please respond to
             MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>


To
MAILSCANNER at JISCMAIL.AC.UK
cc
Subject
Re: OT Trying to setup a inbox for autolearning




>
> Hi there,
>
> Try attached script to purge your spam mbox.
>
>
>
> Can be run from cron daily before your fetchmail / sa-learn scripts
run.
>
> Tony.

I get an error when running it as the user (spam) = non-root
Expire_mail: unable to create temporary file for /var/spool/mail/spam

I looked at the file and changed a few of the options, like postmaster
address.

I do not get the error when running it as root:
./expire_mail.pl -u spam -a 1

However no mail is deleted out of the spam inbox.  What is wrong with my
syntax?

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list