[Exim] mysql - autoreply - forward how to?

Pàgina inicial
Delete this message
Reply to this message
Autor: Wild Karl-Heinz
Data:  
A: exim-users
Assumpte: [Exim] mysql - autoreply - forward how to?
Hi all.

I'll send an autoreply to the sender and
the received mail to the recipient and maybe to an forward address too.

My problem is that i do not know where to add what :-)
I could need some hint to do so.

Still working ...
-----------------------------------------------------------------
mysql_autoresponder:
  driver        = accept
  condition     = \
    ${if or \
        { \
          {match{$h_precedence:}{(?i)junk|bulk|list}} \
          {eq{${lookup mysql{MYSQL_AUTORESP_CHK}{1}}}{1}} \
        }{no}{yes} \
     }
   transport    = mysql_autoresponder_delivery
   errors_to    = postmaster@$domain
   unseen
   no_verify
   no_expn


.... to check and ....
------------------------------------------------------------------
mysql_autoresponder_delivery:
  driver          = autoreply
  log             = /var/mail/${domain}/${local_part}_vac_log
  once            = /var/mail/${domain}/${local_part}_vac_once_db
  return_path     = ${local_part}@${domain}
  to              = ${sender_address}
  from            = ${local_part}@${domain}
  subject         = ${lookup mysql{MYSQL_AUTORESP_SUB}}
  text            = ${lookup mysql{MYSQL_AUTORESP_BODY}}
  user            = exim
  group           = exim


--
kind regards
Wild Karl-Heinz
kh.wild at wicom.li