[prev in list] [next in list] [prev in thread] [next in thread]
List: cyrus-info
Subject: Cyrus - Postfix - redirect mails from a special sender domain
From: willmis () gmail ! com (Walter Willmertinger)
Date: 2006-06-23 3:11:14
Message-ID: 8785a8f60606230011n781fc470g3718261f947d3671 () mail ! gmail ! com
[Download RAW message or body]
Thank you for your hints!
Do you have a place to read about all this syntax and functions, so I can
improve my knowledge about sieve and its possibilities
Best regards, Walter
P.S. By the way, is it possible to call a perl script paramtrized with the
mail data?
On 6/22/06, Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:
>
> On Thu, 2006-06-22 at 10:59 +0200, Sylvain MEDEOT wrote:
> > Here is what I am using...
> >
> > if allof (address :contains ["From","FROM"] "extspec.de") {
> > redirect "myuserlist@mylocaldmain.de";
> > }
>
> just picking some Sieve nits, I hope you don't mind.
>
> the header field name is case insensitive, so you don't have to specify
> both "From" and "FROM" -- all variants will be checked anyway. also,
> allof is superfluous here since there is only one test. finally, in
> this case I would prefer :matches for more exact matching, e.g.,
>
> From: Some One <nextspec.detritus@example.com>
>
> would return true for the above test. so I suggest:
>
> if address :matches "From" "*@extspec.de" {
> ...
> }
>
> --
> Kjetil T.
>
>
>
--
MfG
Walter Willmertinger
Auenstr. 22
82194 Groebenzell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060623/c340d34d/attachment.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic