View Single Post
  #8  
Old 11th January 2013, 12:59
teratoon teratoon is offline
Junior Member
 
Join Date: Jan 2013
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

everything seems normal:

require ["fileinto", "regex", "date", "relational", "vacation"];


# Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
# Stop here so that we do not reply on spams
stop;
}



keep;

################################################## ###############
# Autoreply
################################################## ###############

# Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
# Stop here so that we do not reply on spams
stop;
}

if allof(currentdate :value "ge" "iso8601" "2013-01-11T13:00:00", currentdate :value "le" "iso8601" "2013-01-13T00:00:00") {
vacation :days 1
:subject "Out of office reply"

"Puhkan";
}
Reply With Quote