using sieve to inform users of a new address

ali asad lotia lotia at umich.edu
Thu May 13 09:11:37 EDT 2004


will this work with the sieve implementation (CMU Sieve 2.2) included  
in cyrus-imapd v2.1.15)
ali
On May 13, 2004, at 7:33 AM, Ken Murchison wrote:

> ali asad lotia wrote:
>
>> hello folks
>> i was wondering if it is possible to write a sieve script that sends   
>> mail to the address contained in the from header based on the   
>> information in the to header.
>> i am transitioning someone over to a new email account and so am   
>> forwarding all mail sent to her old address to this new address. i   
>> would like to send out a message to anyone sending mail to the old   
>> address that informs them of the new address. i used the following   
>> sieve script for that:
>> require "vacation";
>>         if header :contains "to" "enter old email address"
>>         { vacation "Please note, my new email address is   
>> NEW-EMAIL-ADDRESS.
>>                 Please send email to this address in the future. ";
>>         }
>> it does not seem to send out email as i would like. any tips.
>
> Add ':addresses "old email address without domain" option to vacation.
>
> --  
> Kenneth Murchison     Oceana Matrix Ltd.
> Software Engineer     21 Princeton Place
> 716-662-8973 x26      Orchard Park, NY 14127
> --PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
> !DSPAM:40a360282266054305319!
>
------------------------------------------------------------------------ 
--------
The difference between a Dell desktop and an Apple PowerBook is
like that between a Kenmore washer and a Fender Stratocaster.
- Doc Searls (http://www.linuxjournal.com//article.php?sid=7464)

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list