[Exim] Autoreply/vacation

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jan Suchanek
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Autoreply/vacation
Hi!

I am trying to use exim's autoreply function for vacation. I want to use
the internal autoreply function because it is easier to handle for the
users.
I have tried the following:

1:

As transport:

vacation_pipe:
           driver = pipe
           command = "/usr/bin/vacation \"$local_part\""


For the director:

vacation:
           driver = localuser
           require_files = /home/$local_part/.vacation.msg
           transport = vacation_pipe
           unseen


2: (taken from one of the example conf-Files)

As transport:

vacation_reply:
driver = autoreply
file = ${home}/tripnote
file_expand
log = ${home}/tripnote.log
once = ${home}/tripnote.db
from = ${local_part}@???
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\
"

Director:

user_vacation:
    driver = smartuser
    no_expn
    require_files = /home/${local_part}/tripnote
    no_verify
    transport = vacation_reply
    unseen



Both did not work for me. Any suggestions where the mistake may be?

Greetings Jan Suchanek
--
Jan Suchanek, URG, University of Ulm, Germany
jan.suchanek@???
Tel.: +49/(0)731-5024205, Fax: +49/(0)731-5024202

NVNC ID VIDES, NVNC NE VIDES
- Motto of the Unseen University, Ankh-Morpork -