[Exim] Still having Problems with the Auto Reply

Top Pagina
Delete this message
Reply to this message
Auteur: Juergen Buddy Hoffmann
Datum:  
Aan: Exim Mailinglist
Onderwerp: [Exim] Still having Problems with the Auto Reply
Hello everyone,

This is what I have...

# Transport...
auto_reply:
    driver = autoreply
    file = ${home}/autoreply.msg
    file_expand
    log = ${home}/vacation.log
    from = autoreply@???
    to = $sender_address
    subject = "Auto Reply for --> $h_subject"
    text = "\
    Dear $h_from\n\n\
    This is an automatic reply. Your Mail IS DELIVERED to the RECIPIENT\n\
    you specified. The following\n\
    is a prerecorded message, sent for ${local_part}@???\n\
    =================================================================\n\
    "


# This is the Director for the automatic replies.
user_autoreply:
    driver = localuser
#    require_files = ${local_part}:${home}/autoreply.msg
    require_files = ${home}/autoreply.msg
    no_verify
#    senders= ! ^autoreply@ : ! ^vacation@ :
    senders=" ! ^autoreply@ : ! ^vacation@ :"
    transport = auto_reply
    unseen


Now the Problem is that when a user sends a message to himself and has a
autoreply.msg in his ${home} then he gets into a mailloop. As you can see, I
have tried it with and without ${local_part}

Would this Problem disappear, if I would not set the from statement in the
Transport??

kind regards

Juergen Hoffmann

--

my quote of the day:
            You knew the job was dangerous when you took it, Fred.
                    -- Superchicken