Exim 4.72 release
[exim-website.git] / config.samples / C006
1 From: Kind@edb.uib.no
2 Date: Sun, 2 Aug 1998 15:24:05 +0200
3
4 This is how I have configured a PP-inspired vacationnote, there is (was?)
5 such a feature in PP. The user makes a file "tripnote" in his/her
6 homedirectory, the message is passed to the sender once with a short
7 leading text.
8
9 ############
10 # TRANSPORT
11 vacation_reply:
12   driver = autoreply
13   file = ${home}/tripnote
14   file_expand
15   log = ${home}/tripnote.log
16   once = ${home}/tripnote.db
17   from = vacation@yourdomain.org
18   to = $sender_address
19   subject = "Re: $h_subject"
20   text = "\
21   Dear $h_from\n\n\
22   This is an automatic reply.  Feel free to send additional\n\
23   mail, as only this one notice will be generated.  The following\n\
24   is a prerecorded message, sent for ${local_part}@yourdomain.org:\n\
25   ====================================================\n\n\
26   "
27
28 # DIRECTOR
29 user_vacation:
30   driver = localuser
31   require_files = ${local_part}:${home}/tripnote
32   no_verify
33   except_senders = "^.*-request@.*:^owner-.*@.*:^postmaster@.*:\
34                     ^listmaster@.*:^mailer-daemon@.*"
35   transport = vacation_reply
36   unseen
37
38 localuser:
39   driver = localuser
40   transport = local_delivery