Exim 4.72 release
[exim-website.git] / config.samples / C024
1 From: Patrick Boutilier <boutilpj@ednet.ns.ca> 
2 Date: Thu, 23 Sep 1999 17:35:28 +0000
3
4 In case anybody wants to use a MySql database to store aliases this is
5 how I managed to get my site working.
6
7 1.  I added this line to the main section of
8 /usr/local/exim/conf/configure (where <password> is the mysql password
9 for the exim user)
10
11 mysql_servers = localhost/school/exim/<password>
12
13
14 2. I then added these lines to the Directors section after the
15 system_aliases director.
16
17 mysql_system_aliases:
18   driver = aliasfile
19   file_transport = address_file
20   pipe_transport = address_pipe
21   search_type = mysql
22   query = "select userid from user where aliasid='$local_part'"
23   user = exim
24