Re: [EXIM] Autoresponder

Etusivu
Poista viesti
Vastaa
Lähettäjä: Kind
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [EXIM] Autoresponder
On Sat, Aug 01, 1998 at 11:46:53AM +0100, Russ Paton wrote:
> ...Is it possible to set-up an autoresponder using exim? If so where can
> I get information on setting this up?


You can use the transport-driver autoreply, chapter 16 in the manual.

This is how I have configured a PP-inspired vacationnote, there is(was?)
such a feature in PP. The user makes a file "tripnote" in his/her
homedirectory, the message is passed to the sender once with a short
leading text.

hmk

############
# TRANSPORT
vacation_reply:
driver = autoreply,
file = ${home}/tripnote,
file_expand,
log = ${home}/tripnote.log,
once = ${home}/tripnote.db,
from = vacation@???,
to = $sender_address,
subject = "Re: $h_subject",
text = "\
Dear $h_from\n\n\
This is an automatic reply. Feel free to send additional\n\
mail, as only this one notice will be generated. The following\n\
is a prerecorded message, sent for ${local_part}@???:\n\
====================================================\n\n\
"

# DIRECTOR
user_vacation:
  driver = localuser,
  require_files = ${local_part}:${home}/tripnote
  no_verify,
  except_senders = "^.*-request@.*:^owner-.*@.*:^postmaster@.*:\
                    ^listmaster@.*:^mailer-daemon@.*"
  transport = vacation_reply,
  unseen,


localuser:
driver = localuser,
transport = local_delivery;


--
*** Exim information can be found at http://www.exim.org/ ***