Jeff

On Tue, 2008-02-26 at 13:32 -0500, Jeff Allen wrote:
> I am looking for a simple way to setup an exim server to relay to our
> internal exchange servers. I have reviewed the steps to use LDAP
> although with my limited knowledge of how it works I was wondering if
> there was a way to setup a flat file that exim would check against
> before forwarding to exchange i.e. I would add [EMAIL PROTECTED]
> and exim is now permitted to forward email to exchange for that user.
> Yes I know this sounds basic but unfortunately we do not have a
> dedicated mail admin and I am a jack of all trades here and I am looking
> for a solution that is easy to manage... Thanks in advance for your
> suggestions.

The simplest way is to have /etc/aliases remap the local part to the
appropriate server:

   /etc/aliases
        john.smith:     [EMAIL PROTECTED]
        jane.doe:       [EMAIL PROTECTED]

Then all you need in the router section is the standard and simple
router:

        system_aliases:
          driver = redirect
          data   = ${lookup{$local_part}lsearch*{/etc/aliases}}

Hope this helps

Steve

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to