[Exim] auto-responder fails or loops depending upon senders …

Etusivu
Poista viesti
Vastaa
Lähettäjä: Keith Edwards
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] auto-responder fails or loops depending upon senders value
I have just inherited responsibility
for exim so apologies if my crash
course causes confusion to all ...

I am trying to get auto-responder to
work ...

With the director/transport config.
below I get the following message in
the log

2001-04-18 10:56:23 14pohC-00077V-00
auto_responder director: failed to
expand "! ^autoreply@ : ! ^vacation@
: ! ^\\$ " $ not followed by letter,
digit, or {


If I take sender out completely,
auto-responder loops and sends a
thousand replies to a local sender.
This is similar to the problem
posted by

Juergen Hoffmann buddy@???
Mon, 6 Mar 2000 13:32:57 +0100 0400

but I cannot find how Juergen solved
the problem - Juergen are you out
there?

Any advice would be much appreciated
Many thanks


============
Director

auto_responder:
        driver = localuser
        transport =
test_auto_reply_transport
        require_files =
${local_part}:${home}/auto_reply.txt
        #senders= ! ^autoreply@ : !
^vacation@ : ! ^admin@
        senders = "! ^autoreply@ : !
^vacation@"
        #senders = " ! ^postmaster@
: ! ^owner- : ! ^admin@ : !
^vacation@ : ! ^autoreply@ : !
^listmaster@ : ! ^mailer-daemon@ : !
^\\\\$"
    unseen
        no_expn
    no_verify
        user = ${local_part}
        # 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

test_auto_reply_transport:
  driver = autoreply
  user = $local_part
  file = ${home}/auto_reply.txt
  log  = ${home}/auto_reply.log
  from = ${local_part}@${domain}
  to = ${reply_address}
  #subject = ${h_subject}
  subject =  "${if def:h_Subject:
{Autoreply: $h_Subject:}}"
  return_message = true
  text = "\
    This message was automatically
generated by Clickmusic's email
software\n\n\
    The delivery of your message has
not been affected.\n\


===================================================\n\n"