procmail
[Top] [All Lists]

Re: Splitting up digests?

2001-10-25 12:32:50
When Carlos found that this doesn't work,

L> :0:
L> * ^Sender: owner-mutt-dev-digest(_at_)mutt(_dot_)org
L> | formail +1 -ds >> listas/mutt-dev/

Martin explained that a shell can't append to a directory and offered this
alternative:

M>  | formail +1 -ds procmail procmailmuttdevrc

M> where 'procmailmuttdevrc' is a procmail rcfile that delivers to your
M> mutt-dev mailbox.

Better yet, do it without that extra rcfile:

  :0 # do not use local lockfile here
  * ^Sender: owner-mutt-dev-digest(_at_)mutt(_dot_)org
  | formail +1ds procmail DEFAULT=$MAILDIR/listas/mutt-dev/ /dev/null

That way there will be no need for procmail to read (nor for Carlos to
maintain) a separate rcfile.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>