Re: [exim] Autoreply transport option

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Derrick MacPherson
Dátum:  
Címzett: Derrick MacPherson, exim-users
Tárgy: Re: [exim] Autoreply transport option
Any feedback on this?

> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Derrick MacPherson
> Sent: Friday, June 09, 2006 8:40 PM
> To: exim-users@???
> Subject: [exim] Autoreply transport option
>
>
> 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?
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
>