RE: [Exim] Autoreply for 1 user HELP ME

Góra strony
Delete this message
Reply to this message
Autor: Michael Jakscht
Data:  
Dla: exim-users
Temat: RE: [Exim] Autoreply for 1 user HELP ME

Hi.

This one seems like it doesn't work on my mailhub...
So I don't have any local users, but have an /etc/aliases
file where some aliases are made.

Now I tried it with this configuration:

===== transport ================
autoreply_transport:
driver = autoreply
file = /etc/exim/autoreply/$local_part
log = /etc/exim/autoreply/log/$local_part
file_expand
from = $local_part@$domain
to = $sender_address
user = exim
subject = AutoReply: Your e-Mail to $local_part@$domain
===== transport ================


and with this director at the second position after
the amavis-director.


===== director =================
autoreply_director:
  driver = smartuser
  require_files = ${local_part}:/etc/exim/autoreply/$local_part
  local_parts = michi
  senders = "! ^.*-request@.*:\
             ! ^owner-.*@.*:\
            ! ^postmaster@.*:\
            ! ^listmaster@.*:\
            ! ^mailer-daemon@.*"
  condition = ${if eq{$sender_address}{}{no}{yes}}
  unseen
  no_expn
  no_verify
  transport = autoreply_transport
===== director =================



It doesn't work at all.
The eMail is processed as it is in a normal delivery process
and sent out to our internal mailserver.
There is no reply generated by exim...
And no log is written...

Maybe anyone has an idea...

Michael