[Exim] question about autoreply

Top Page
Delete this message
Reply to this message
Author: eastar
Date:  
To: exim-users
Subject: [Exim] question about autoreply
I am a new of exim.
I want to configuration my exim to do autoreply .
I copy the configuration from C033 examples.
Just like the following:
TRANSPORT:
uservacation:
  driver = autoreply
  user = ${local_part}
  once = ${home}/vacation-once
  file = ${home}/vacation.txt
  log  = ${home}/vacation.log
  return_message = true
  text = "\
 ------                                                           ------\n\n\
 This message was automatically generated by email software\n\
 The delivery of your message has not been affected.\n\n\
 ------                                                           ------\n\n"
  to = "${sender_address}"
  subject =  "${if def:h_Subject: {Autoreply: $h_Subject:} {I am on vacation}}"


DIRECTORY:
uservacation:
  driver = localuser
  transport = uservacation
  require_files = ${home}/vacation.txt
  # do not reply to errors or lists
  senders = "! ^.*-request@.*:\
              ! ^owner-.*@.*:\
              ! ^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}}"
  # carry on checking regardless of the outcome of this  director...
  unseen
  no_expn
  no_verify
  user = ${local_part}


the others just use default.

I can got and send mail normally.
But if I configure one user to use autoreply.
The exim_mainlog always told me:
2000-08-17 02:45:51 13P8C8-0002h2-00 == test@??? <test@???> T=uservacation defer (0): Failed to send message from uservacation transport (69)

Who can help me ??