Re: [Exim] Forwarding Director Help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: William Thompson
Datum:  
To: Gordon McKee
CC: exim-users
Betreff: Re: [Exim] Forwarding Director Help
> I don't just host the one domain, so virtual is used. I have other domains
> like gdmckee.com as well. what I want to be able to do is mix and match, so
> gdm@??? goes to a different location to gdm@???.


Ok, so about the users you want dropped locally, are they all in a single
domain or are they in multiple domains?

If you modify what I gave you to add your other domains that you want
dropped locally, any combination of local_parts and domains will be dropped
locally. If you don't want that, remove local_parts and domains and replace
with:

condition = ${lookup{$local_part@$domain}lsearch{/some/file}{yes}{no}}

> ----- Original Message -----
> From: "William Thompson" <wt@???>
> To: "Gordon McKee" <eximlist@???>
> Cc: <exim-users@???>
> Sent: Friday, May 16, 2003 6:08 PM
> Subject: Re: [Exim] Forwarding Director Help
>
>
> > > I have the following lines in the Transport section of the config file.
> At present, all users at gdmckee.co.uk get forwarded on, is there a way to
> merge the transport directors so different users can get delivered to
> different places, eg gordon@??? to get forwarded to the exchange
> box and bob@??? get aliased up and saved on the Unix box? I am
> running exim 4.14 on FreeBSD 4.8.
> >
> > Wrap your lines at 76 chars.
> >
> > Looks like you're talking about routers, not transports because what you
> > pasted is not a transport.
> >
> > Sounds to me like you want some users at domain gdmckee.co.uk sent to your
> > exchange server and some users at the same domain to be delivered locally.
> >
> > >From what you say, I'm going to assume you want MOST users delivered to
> > exchange and some locally.
> >
> > Put this before your "special" router:
> > localusers:
> > local_parts = bob : other : users : who : are : local
> > domains = gdmckee.co.uk
> > check_local_user
> > transport = local_delivery
> >
> > If you want a file of local_parts, use:
> > local_parts = /some/file
> >
> > > ### Relay Certain Domains to internal NT Server - GDM 23/03/2003 ###
> > > special:
> > > driver = manualroute
> > > transport = remote_smtp
> > > route_list = gdmckee.co.uk nt-opro-h0.gdmckee.home
> > >
> > >
> > > ### Virtual Domains Router - GDM ###
> > > virtual:
> > > driver = redirect
> > > domains = dbm;/usr/local/etc/exim/domains.db
> > > no_more
> > > data =
> ${lookup{$local_part}lsearch{/usr/local/etc/exim/aliases/$domain}}
> >
> > by the order you have these, virtual is never called.
> >
>
>