Add ':addresses "old email address without domain" option to vacation.with the line above, for a user [EMAIL PROTECTED] who is migrating to [EMAIL PROTECTED] would the script be:
require "vacation";
if header :contains ["To", "Cc", "Bcc"] "[EMAIL PROTECTED]"
{ vacation :addresses "foo" "Please note, my new email address is [EMAIL PROTECTED]
Please send email to this address in the future.";
}
wouldnt this send out email to all users instead of just those who send mail to the old address? or does it only function based if the header test is passed?
or would this be the script:
require "vacation";
if header :contains ["To", "Cc", "Bcc"] "[EMAIL PROTECTED]"
{ vacation :addresses "[EMAIL PROTECTED]" "Please note, my new email address is [EMAIL PROTECTED]
Please send email to this address in the future.";
}
thanks 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