[exim] Vacation autoreply not sent

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dirk
Date:  
À: exim-users
Sujet: [exim] Vacation autoreply not sent
Hello all,
I'm trying to setup autoreply (vacation) for users on exim-4.44-1 on a
ServerAtSchool Linux.
Basic problem: no autoreply is created.

This is my exim.conf:
In the ROUTERS section, between 'mailman-director:' and 'userforward:'

# This router delivers a "vacation" message if a file called
'vaction.msg'
# exists in the home directory.
uservacation:
  driver = accept
  domains = +local_domains
  # user to put away message in a file called vacation.msg
  require_files = $home/vacation.msg
  # do not reply to errors or lists or with ADV in the subject
  condition =  ${if or { \
                {match {$h_precedence:} {(?i)junk|bulk|list}} \
                {eq {$sender_address} {}} \
                {match {$h_subject:} {(ADV|Adv)}} \
                } {no} {yes}}
  no_expn
  # do not reply to errors or bounces or lists
  senders = ! ^.*-request@.*:\
            ! ^bounce-.*@.*:\
            ! ^.*-bounce@.*:\
            ! ^owner-.*@.*:\
            ! ^postmaster@.*:\
            ! ^webmaster@.*:\
            ! ^listmaster@.*:\
            ! ^mailer-daemon@.*:\
            ! ^root@.*
  transport = uservacation_transport
  unseen
  no_verify


---------------
And in the TRANSPORT section:

# This transport is used for vacation messages
uservacation_transport:
   driver = autoreply
   file = $home/vacation.msg
   file_expand
   # if using MailScanner setup with two config files
   # must be able to write as the user exim runs as
   # because calling with -C will not run as root
   #
http://www.exim.org/pipermail/exim-users/Week-of-Mon-20020715/0413
28.html
   #    once = /var/log/exim/vacation/$local_part-vacation.db
   # if not using MailScanner setup try something like
   once = $home/vacation.db
   # to use a flat file instead of a db specify once_file_size
   once_file_size = 2K
   once_repeat = 14d
   from = $local_part@???
   to = $sender_address
   subject = "Re: $h_subject"
   # text that will be included in message above what is in user's
vaca
tion.msg
   text = "This is an automatic reply.  Please feel free to send
additional\n\
           mail, as only this one notice will be generated.\n\
           ================================================\n\n"


---------------------------
The user has a 'vacation.msg' and a 'vacation.db' in his home
directory
-rw-r--r--    1 concierge concierge        0 Apr  3 16:24 vacation.db
-rw-rw-r--    1 concierge concierge      129 Apr  3 15:59 vacation.msg


When sending mail to this server, the mail is delivered, but no
autoreply ios generated.

I hve tried several howto's, searched the web, nothing works.
What am I (little or no experience) doing wrong?
Any help would be greatly appreciated.
Thanks in advance,
Dirk
Public primary school Rosa Boekdrukker, the Netherlands