using sieve to inform users of a new address

ali asad lotia lotia at
Thu May 13 01:39:37 EDT 2004

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  
                 Please send email to this address in the future. ";
it does not seem to send out email as i would like. any tips.
ali asad lotia
The difference between a Dell desktop and an Apple PowerBook is
like that between a Kenmore washer and a Fender Stratocaster.
- Doc Searls (

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list