Re: [exim] Exim 4, mysql and forwarding

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: exim-users
Sujet: Re: [exim] Exim 4, mysql and forwarding
Rocco Howard wrote:

> I run a Debian GNU/Linux 3.0 box situated at my ISP's server rack.


Sounds like Exim3. Update to Exim4.

> I'm wanting to get exim to look after our organisations domain - basically
> want it to check when email comes in want it to check if an entry in mysql
> is there for the account but if that fails then forward the email to my
> exhange server here at work. I don't want to have to add entries for
> everyone here in the office but just add all the users i want email to stay
> there.


FAQ:
http://www.exim.org/exim-html-4.40/doc/html/FAQ.html#TOC146


Or put something like this at the top of your routers:

unknown:
driver = manualroute
transport = remote_smtp
local_parts = ${lookup mysql {SELECT user from table WHERE
user='${quote_mysql:$local_part}'}}
route_list = your_domain.tld server.host.name
no_verify