up News Search Feedback Projects Publications Downloads

sieveshell example


an old picture


# Modify this file to suit your needs. Think before installing! In this example there is a general
# redirection and vacation which wouldn't be useful for everybody!!

# The RFC describes anything allowed in sieve: rfc3028
require [ "fileinto" ];

#C Spam Assassin
if header :contains "X-Spam-Flag" "YES" { fileinto "INBOX.junk-mail"; }

#C check if header contains a certain subject (can also check from and to etc)
#C and pass it on keeping a copy for oneself
if header :contains "Subject" "IAUC" {
redirect "pjnh@usm.uni-muenchen.de";
redirect "haefner@usm.uni-muenchen.de";

#C putting some mail into its own mailbox (MPEC must exist)
if header :contains "Subject" "MPEC" {
fileinto "INBOX.MPEC";

#C a forwarding filter
redirect "butler@gmx.de";

#C vacation filter. Substitute your own e-mail address in this section.
#C you can also specify :days 14 to repeat the message every 14 days (the default is 7).
require ["vacation"];
vacation :addresses ["xxx@usm.uni-muenchen.de", "xxx@usm.lmu.de"] "I'm on holiday at the moment";


Home ] up ] News ] Search ] Feedback ] Projects ] Publications ] Downloads ]

send email with questions or comments to: rug@usm.lmu.de 
Copyright © 2004 Department für Physic der LMU
Stand: 09. November 2006