[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim autoreply



> Hi Ladies and Fellas
> 
> Has anyone managed to get the autoreply working in Exim.
> I need it for staff members accounts that have left.
> 

in TRANSPORTS:

vacation_reply:
driver = autoreply
file = ${home}/.vacation
file_expand
log = ${home}/vacation.log
once = ${home}/vacation.db
from = ${local_part}@your.domain.com
to = $sender_address
subject = "Re: $h_subject"
text = "\
Sz. P. $h_from\n\n\
Ten list zostal wygenerowany automatycznie i nie bedzie juz\n\
powtarzany. Ponizej znajduje sie wiadomosc przygotowana przez\n\
${local_part}@your.domain.com:\n\
---------------------------------------------------\n\n\
Dear Mrs/Mr $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}@your.domain.com:\n\
====================================================\n\n\"

in DIRECOTRS:

user_vacation:
driver = localuser
require_files = ${local_part}:${home}/.vacation
no_verify
# do not reply to errors or lists
senders = "! ^.*-request@.*:\
           ! ^owner-.*@.*:\
           ! ^root@.*:\
           ! ^postmaster@.*:\
           ! ^listmaster@.*:\
           ! ^mailer-daemon@.*"
# do not reply to errors and bounces or lists
condition = "${if or {{match {$h_precedence:} {(?i)junk|bulk|list}} \
                      {eq {$sender_address} {}}} {no} {yes}}"
transport = vacation_reply
unseen


that's all:)

rysiu
_________________________________
rys@commedia.pl
grzegorz rys
Commedia S.C.




Reply to: