6 messages in net.sourceforge.lists.courier-maildrop[maildropl] Filter on orig_to
FromSent OnAttachments
Jonathan NicholsApr 9, 2005 2:14 pm 
Sam VarshavchikApr 9, 2005 2:31 pm 
Jonathan NicholsApr 9, 2005 3:05 pm 
moussApr 10, 2005 4:54 am 
Thorsten HaudeApr 10, 2005 5:14 am 
moussApr 10, 2005 6:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Filter on orig_toActions...
From:Jonathan Nichols (jnic@pbp.net)
Date:Apr 9, 2005 2:14:20 pm
List:net.sourceforge.lists.courier-maildrop

Apr 9 12:31:08 mail postfix/pipe[30596]: 4777C75BC1: to=<me@pedantic.com>, orig_to=<list@pedantic.com>, relay=maildrop, delay=0, status=sent (pedantic.com)

User would like mail going to list@pedantic.com to go into a "listmail" folder.. I'm writing a .mailfilter (I don't have the squirrelmail interface for it working yet) and so far, I have this:

if (/^X-Spam-Status:.*Yes/) { to "/home/vmail/pedantic.com/me/.maildir/.Spam/" }

if ( /^(To|Cc): .*me@pedantic.com.*/ ) { to "/home/vmail/pedantic.com/me/.maildir/" }

if ( /^(To|orig_to|Cc): .*list@pedantic.com.*/ ) { to "/home/vmail/pedantic.com/me/.maildir/.listmail" }

Is the "orig_to" bit wrong? This is one of the very few domains that I have allowed wildcards on, too. The user generally does MUA side sorting, but wants to use the webmail/server side sorting more these days.

help! :)

thanks