Re: [Exim] simple set-up question

Góra strony
Delete this message
Reply to this message
Autor: Tim Jackson
Data:  
Dla: exim-users
Temat: Re: [Exim] simple set-up question
Hi Britton,, on Mon, 19 Jul 2004 14:32:23 -0400 you wrote:

> I need to do a simple thing:
> have local mail for root and postmaster go to a different local user.

[snip]
> The doc seems to tall about alias files, but doesn't seem to actually
> show how to set them up.


That's probably because Exim is very flexible and doesn't have any
"hardcoded" concept of what alias files should be or do. Unlike some other
MTAs, an "alias" file is not special - it's just a database (albeit a text
file in many cases) with lists of "stuff" in it which you can configure
any way you like.

However, in a default configuration Exim does normally utilise a 'system
aliases file' very much like sendmail. Typically this is /etc/aliases,
though its location may vary according to how you installed it. Check the
SYSTEM_ALIASES_FILE macro definition in your Exim config file. (or, look
at the "system_aliases" router. You can usually do the "normal" thing and
put, for example:

root: fred
postmaster: bob

in /etc/aliases.

Again, I must stress that exactly how things work completely depend on
your configuration though - for example, you might have an alias file per
domain in a "virtual domains" scenario. (A downside of Exim's superb
flexibility is that it's hard to give a simple, straight answer to
anything...it always depends on the config!)


Tim