--Ken Murchison <[EMAIL PROTECTED]> schrieb am Freitag, 22. Februar 2002 15:05 
Uhr -0500:
>> marc olejak wrote:
>> the script:
>> ===========
>> bash-2.04$ less /var/imap/sieve/m/marc/default
>> require "fileinto";
>> require "reject";
>>
>> if header :contains "To:" "@bigfoot.com" {
>>         fileinto "INBOX.Trash";
>> }
>>
>> if header :contains "Subject:" "marctest1" {
>>         fileinto "INBOX.marc.Privat.test";
>> }
>>
>> if header :contains "Subject:" "marctest2" {
>>         fileinto "INBOX.Privat.test";
>> }
>
> Didn't notice this before...  get rid of the ':' in the header names.
> You're bascially telling sieve to look for lines like:
>
> subject:: blah

NOOOOOOO.... this can't be... YOU ARE RIGHT! yeah! thx to the world, 
publishing false documentations, and i am dumb enough to copy only a part 
of it!

http://www.cyrusoft.com/sieve/maro-sieve-script-001.txt

...in there you can find the "@bigfoot" line incl. the "To:"

> BTW, you probably want to use an 'address' test for header with email
> addresses.

ok... this is for the next show...

BTW, NOW i know that i do not have to use the "username" within the 
sievescripts! nowhere on the net i could find any clue if i should use 
"INBOX.user.store" or "INBOX.store"... that was the reason why i used two 
simple scripts...

thxthxthxthxthxthx.....

...hey ken... want some pizza?


...marc olejak...

*********************************
* realisationsbuero marc olejak *
*********************************
* muensterstrasse 157 im hof    *
* D-40476 duesseldorf           *
* tel+49-211-6027771-0          *
* mob+49-173-9907788            *
* fax+49-211-6027771-9          *
* leo+49-211-6027771-7          *
* x75+49-211-6027771-7          *
* [EMAIL PROTECTED]       *
* icq#123681147                 *
* pgp-keyid # ff4fd5a9          *
*********************************

Reply via email to