procmail
[Top] [All Lists]

RE: Procmail, Dmail and Non-existent MBX mailboxes

2005-08-17 02:15:07

Thanks David, Gary and Dallman :)

My resulting, working recipe looks like:

:0
* ^Subject:.*\[MYTAG: \/[^]]+
{
  MAILBOX  ="$MATCH"

  :0 iwc
  * ! ? test -w $HOME/$MAILBOX
  | mailutil create $MAILBOX

  :0 w
  | /usr/bin/dmail +$MAILBOX
}


Cheers,
James


PS - Cue annoying disclaimer text that I have no control over:


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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