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               = " ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]:\
                        ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]:\
                          ! [EMAIL PROTECTED]"
  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 <[EMAIL PROTECTED]>"
  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/

Reply via email to