G'day Peter,

* Peter M. Nielsen <[EMAIL PROTECTED]> [031120 12:36]:
> Hi Folks
> 
> I'm collecting junk in a separate folder on my qmail-system. This is done by
> hand. The system is a vpopmail-qmail-system with maildirs. It is a bit
> timeconsuming to submit around 10 to 15 mails a day going to the shell
> prompt and type razor-report 10000615156451315afdas21a5fa.a65 or whatever.
> Has anyone a script which submits each file in a maildir-folder?

Try something like (untested):

  for f in `find . -type f`;do razor-report $f;done


This would be run at the command line from the maildir directory.
I'm using "find" as according to the maildir standard there should be 
the three directories cur/, new/ and tmp/ in each maildir, but I've
heard some MUA/MTAs don't actually follow this.  HOWEVER you are using
qmail so it should be standard complient.

You will also have to do something about deleting the messages after
you've submitted them...


Cheers,

S.

Attachment: signature.asc
Description: Digital signature

Reply via email to