[Exim] exim 3.13, Mysql aliases and local_aliases

Top Page
Delete this message
Reply to this message
Author: Peter Lockhart
Date:  
To: exim-users
Subject: [Exim] exim 3.13, Mysql aliases and local_aliases
Here is my config:

local_delivery:
driver = appendfile
file = /var/mail/${local_part}
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660

# Directors
mysql_system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
search_type = mysql

This works fine.

But two problems:

previously I used text files (lsearch) for my locally handled domains as
well as their aliases as follows:
local_domains = lsearch;/usr/local/exim/aliases/domains

local_domains = lurgy.key.co.za:${lookup mysql{"select distinct domain
from domain_table"}}