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