Let me elaborate here.
Realizing the error of mbox files, I've set up this alias:
alias markAsSpam='cat ~/Mail/.Current.directory/Spam | formail -s spamassassin --report'
(please do not mind the line break ;-)
The question deep in my heart is still. Does this report anything, or simply fail silently?
Why don't you try running razor-report with '-d' I get lots of messages back when I run something. The same is true with razor-check. Try it.
I have MailDir formail, so you would have to modify this, and use a cronjob to run the following script periodically:
razor-report -a || exit 1 for F in `ls $RAZOR`; do razor-report -f < $RAZOR$F; rm $RAZOR$F; done
note: $RAZOR is my maildir directory $F is the mail message (filename).
The first line, razor-report -a simply checks to see that I can authenticate against the server to make sure I can get the connection. Once this is passed, I run the emails through razor-report.
If I was really worried about the return code, I could modify this to read:
razor-report -f < $RAZOR$F && rm $RAZOR$F
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users