File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- `test -f {vmail_mailbox_base} /mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
1+ `test -f /var/vmail /mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
22if ($RETURNCODE==1)
33{
44 {
55 if (!/^List-Unsubscribe:.*/:h )
66 {
77 if (!/^X-Spam-Flag: YES/:h )
88 {
9- NOW=time
10- if ({start_date} lt $NOW && {end_date} gt $NOW)
11- {
12- RESPOND="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg"
13- RESPONDDB="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst"
14-
15- # The following must be one contiguous line
16- cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 \
17- -A 'From: $RECIPIENT' -s 'Auto Response: from $RECIPIENT' \
18- /usr/sbin/sendmail -t -f ''"
19- }
9+ NOW=time
10+ if ({start_date} lt $NOW && {end_date} gt $NOW)
11+ {
12+ RESPOND="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg"
13+ RESPONDDB="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst"
14+
15+ # The following must be one contiguous line
16+ cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 \
17+ -A 'From: $RECIPIENT' -s 'Auto Response: from $RECIPIENT' \
18+ /usr/sbin/sendmail -t -f ''"
19+ }
2020 }
2121 }
2222 }
You can’t perform that action at this time.
0 commit comments