User Vacation

ccto

Verified User
Joined
Feb 24, 2005
Messages
287
Location
Hong Kong
Hello all,

We have a user who created a future user vacation as below -
[root@zzzzzz yyyy.com]# more vacation.conf
ronnie.xxxx:endday=26&endmonth=10&endtime=evening&endyear=2008&startday=19&startmonth=10&starttime=morning&startyear=2008
[root@zzzzzz yyyy.com]# date
Fri Oct 17 21:13:13 HKT 2008

However, when other user send him a email, Exim will also generate the user vacation message. Please help.

Below are the extract of /etc/exim.conf

uservacation:
driver = accept
condition = ${lookup{$local_part} lsearch {/etc/virtual/${domain}/vacation.conf}{yes}{no}}
require_files = /etc/virtual/${domain}/reply/${local_part}.msg
transport = uservacation
unseen

## vacation transport
uservacation:
driver = autoreply
file = /etc/virtual/${domain}/reply/${local_part}.msg
from = "${local_part}@${domain}"
log = /etc/virtual/${domain}/reply/${local_part}.log
no_return_message
subject = "${if def:h_Subject: {Autoreply: ${quote:${escape:$h_Subject:}}} {I am on vacation}}"
text = "\
------ ------\n\n\
This message was automatically generated by email software\n\
The delivery of your message has not been affected.\n\n\
------ ------\n\n"
to = "${sender_address}"
user = mail
#once = /etc/virtual/${domain}/reply/${local_part}.once

Please help/advise.

Thank you very much for your kind attention.
 
So what are you saying? Is it ignoring the date you set?
 
Yes, it ignores the date set, and send the vacation message before the start of the vacation the user set.
 
Back
Top