Re: [exim] Autoreply transport option *BUMP*

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Derrick MacPherson
Fecha:  
A: exim-users
Temas antiguos: [exim] Autoreply transport option
Asunto: Re: [exim] Autoreply transport option *BUMP*
Anyone?

I've got aliases not being processed by the vacation autoreply, my guess
is that it's looking for a .vacation.msg in the directory of the alias,
and not the real account.

On Fri, 2006-06-09 at 20:40 -0700, Derrick MacPherson wrote:
> We have an autoreply router to handle vacation replies, and there's an
> issue with aliases not working
>
> vacation:
>   driver                = accept
>   require_files         = /home/${local_part}/.vacation.msg
>   senders               = " ! ^.*-request@.*:\
>                           ! ^.*-bounces@.*:\
>                         ! ^.*-owner@.*:\
>                           ! ^.*-confirm@.*:\
>                           ! ^owner-.*@.*:\
>                           ! ^root@.*:\
>                           ! ^postmaster@.*:\
>                           ! ^listmaster@.*:\
>                           ! ^mailer-daemon@.*"
>   transport = vacation_transport
> condition =  ${if exists{/home/${local_part}/.vacation.msg} {yes}{no}}
>   unseen

>
>
> vacation_transport:
>   driver                = autoreply
>   file                  = /home/${local_part}/.vacation.msg
>   file_expand
>   once                  =
> /usr/local/etc/exim/data/${local_part}.vacation.db
>   from                  = "$local_part <${local_part}@${domain}>"
>   to                    = $sender_address
>   subject               = "[AutoReply] Re: \$h_subject:"

>
> The problem is that ${local_part} is looking up with the alias, is there
> a way to tell it to look up not the alias but the destination address?
>

--
Derrick MacPherson <dmacpherson@???>