<<< Date Index >>>     <<< Thread Index >>>

Re: spamc/formail in Maildir format



Am 2005-09-05 03:27:44, schrieb Arias Hung:
> This isn't necessarily mutt specific, but having had good luck in the
> past on this list;
> 
> Have recently converted to maildir format, what are the equivalent
> commandline arguments to process mail?  For instance, prior I would
> use:
> 
> formail -s procmail <Inbox
> 
> although having tried combinations of:
> 
> formail -s procmail <.Inbox/cur
> formail -s procmail <.Inbox
> formail -s procmail <.Inbox/cur/*
> 
> haven't proven fruitful.

for x in .Inbox/cur/* ; do
  cat $x |formail -ds procmail
done

> Also, is anyone also aware of the equivalent spamc argument from
> commandline?
> 
> It doesn't seem to like:
> 
> spamc -r <Maildir/.Inbox/cur/* 

for x in .Inbox/cur/* ; do
  cat $x |spamc
done

> Thanks for whatever help anyone can provide.

Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature