[EXIM] include alias files

Top Page
Delete this message
Reply to this message
Author: leo
Date:  
To: exim-users
Subject: [EXIM] include alias files

Hi,

I'd like to start by apologising if this is an obvious question..... I have
trawled through the archives with no luck....

We have about 40 domains coming to our server and we have separate alias
files for each domain. Most of the domains have the same users at each
domain, although a few vary.

At the moment, I have a master file and I create symbolic links to each
domain alias file...... This works fine for the domains that have exactly
the same users, but I'd like to be able to vary some of the aliases.

I have tried to use the :include:<file> command, but it doesn't seem to
work.

I've tried to have files such as the ones included below, but these didn't
seem to work.

Any help anyone could possibly give me would be greatly appreciated.

If you email me directly, I'll post a summary.


Thanks a lot,
-Leo
leo@???



---- unicorn-direct.co.uk ------
# This handles all mail to unicorn-direct.co.uk

:include:/etc/mail/includes/fd-names
:include:/etc/mail/includes/fd-alias
:include:/etc/mail/includes/fd-majordomo

# Name aliases
fred:fred@???

# Multiple Address
team:leo, joe, fred

# Leo
lgestetner:leo


----- fd-names -------
# General Name aliases for FD

# Name aliases
leo:leo@???
joe:joe@???
carol:carol@???

# End of file

---- fd-alias -----
# General Aliases for FD


# Leo
offers:leo

# Joe
jobs:joe

# Carol
sales:carol

---- fd-majordomo ---
# Testlist

testlist:"|/export/majordomo-1.94.4/wrapper resend -l testlist
testlist-list"
testlist-list::include:/export/majordomo-1.94.4/lists/testlist
testlist-request:"|/export/majordomo-1.94.4/wrapper majordomo -l testlist"
owner-testlist:leo, joe
testlist-approval:leo, joe




--
*** Exim information can be found at http://www.exim.org/ ***