added book stuff
[exim-website.git] / config.samples / C033
1 Date: Mon, 29 Nov 1999 15:30:27 +0000 (GMT)
2 From: Ken Bailey <K.Bailey@rbgkew.org.uk>
3
4 >i am still watching for a very conservative vacation recipe.
5
6 Anyway, here's our current one - 
7
8 ######################################################################
9 ## autoreply/vacation transport
10 uservacation:
11   driver =  autoreply
12   user = ${local_part}
13   once = ${home}/vacation-once
14   file = ${home}/vacation.txt
15   log  = ${home}/vacation.log
16   return_message = true
17   text = "\
18  ------                                                           ------\n\n\
19  This message was automatically generated by email software\n\
20  The delivery of your message has not been affected.\n\n\
21  ------                                                           ------\n\n"
22   to = "${sender_address}"
23   subject =  "${if def:h_Subject: {Autoreply: $h_Subject:} {I am on vacation}}"
24 ##
25
26 ######################################################################
27 ## This director handles the automatic return of a vacation message
28 ## vacation director....##
29
30 uservacation:
31   driver = localuser
32   transport = uservacation
33   require_files = ${home}/vacation.txt
34   # do not reply to errors or lists
35   senders = "! ^.*-request@.*:\
36               ! ^owner-.*@.*:\
37               ! ^postmaster@.*:\
38               ! ^listmaster@.*:\
39               ! ^mailer-daemon@.*"
40   # do not reply to errors and bounces or lists
41   condition = "${if or {{match {$h_precedence:} {(?i)junk|bulk|list}} \
42                         {eq {$sender_address} {}}} {no} {yes}}"
43   # carry on checking regardless of the outcome of this  director...
44   unseen
45   no_expn
46   no_verify
47   user = ${local_part}
48 ######################################################################
49