procmail
[Top] [All Lists]

Re: recipe query

2002-05-23 21:15:39
On Thu, May 23, 2002 at 06:17:12PM -0700, Professional Software Engineering 
wrote:
At 10:44 2002-05-24 +1000, Troy Rasiah did say:
[snippy-do-dah]

Uh, no need to put the not condition within braces - it's an AND sort of 
rule, so just add it as a second condition to the original nesting 
level.  Not that how your old rule was wouldn't work, just no need to brace 
it like that unless you have multiple conditions within the bracing relying 
on the initial conditions.

What i would like to do is add another condition to mail which would go to
junkmail. That is...if a message contains a content type of multipart it
goes to another mail file..say junkmail2 whilst the rest go to junkmail

:0
* 
^(To|Delivered-To|Cc):.*(database|webproduction|webmaster|staff|vnsocial)@vicnet.(net|com).au
* !^From.*vicnet.net.au
{
        :0:
        * ^Content-Type: multipart*
        junkmail2

        # you *MUST* have a flags line before conditions or delivery.
        :0:
        junkmail
}


Thanks for your help Sean :)

-- 
Troy 
_______________________________________________
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>