Re: [Exim] Autoreply with Mysql

Top Page
Delete this message
Reply to this message
Author: George Schlossnagle
Date:  
To: Nico Puhlmann
CC: exim-users
Subject: Re: [Exim] Autoreply with Mysql
I do. It works well.

in transports:

auto_responder_transport:
driver = autoreply
return_path = "bounces@${domain}"
user = exim
to = $sender_address
from = "bounces@${domain}"
subject = ${lookup mysql{select subject from auto_response where
local_part='${local_part}' and domain='${domain}'}{$value}{"Auto
Reply"}}
text = ${lookup mysql{select response_text from auto_response where
local_part='${local_part}' and domain='${domain}'}{$value}fail}

in directors:

auto_responder:
driver = smartuser
user = exim
group = exim
condition = ${lookup mysql{select local_part from auto_response where
local_part='${local_part}' and domain='${domain}'}{$value}fail}
domains = LOCALHOST : DOMAINS
transport = auto_responder_transport


Nico Puhlmann wrote:
>
> hi there,
>
> has anybody running autoreplies with exim, that comes
> from a MySQL database?
> if so, how looks your conf file?
>
> thanx and regards,
> nico
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##