OT Trying to setup a inbox for autolearning

Billy A. Pumphrey bpumphrey at WOODMACLAW.COM
Tue Jul 19 17:23:41 IST 2005


> 
> 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!



More information about the MailScanner mailing list