On Mon, 29 Sep 2003, Ken Campbell wrote:
> bob@???: bob_1@???
> jane@???: jsmith@???
> tom@???: td@???
> sam@???: sammy@???
> gwen@???: g.doe@???
>
> .. etc, etc...
>
> This is how it was done on our old Exim 3.x server. I tried copying this format,
> but sending an email to (for example) bob@??? returns 550 User Unknown.
Take a look at the redirect router. For example, the default one is
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}
# user = exim
file_transport = address_file
pipe_transport = address_pipe
Change "${lookup{$local_part}" to "${lookup{$local_part@$domain}".
Voila! (Or, as we string players say, Viola!)
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book