On 5/17/2007 3:32 PM, Jeremy Kister wrote:
> On 5/17/2007 5:17 AM, Paul Goodyear wrote:
>> razor-report -d /home/pgudge/Maildir/.ANotMarkedAsSpam/cur/*
> 
> Thanks for your reply.
> 
> Simple, and works fine! :)

I lied...

I am getting too many messages for any shell I have to be able to 
enumerate the asterisk, even when running razor-report in a continual loop:


#!/usr/local/bin/bash

PATH=/usr/local/bin:/bin

dir="/export/home/vpopmail/domains/example.com/postmaster/Maildir";

while [ 1 ] ; do
    mv $dir/new $dir/report
    mkdir $dir/new
    chown vpopmail:vchkpw $dir/new
    chmod 0700 $dir/new

    razor-report -f -home=/home/vpopmail/.razor/ $dir/report/*
    rm -r $dir/report
done

unix41> ./go
spam-report.sh: line 13: /usr/local/bin/razor-report: Argument list too long

Any other ideas ?

-- 

Jeremy Kister
http://jeremy.kister.net./


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to