Re: multihost exim setup (general MTA question I guess)
Unfortunately, I'm not 100% resolved. Thanks for the help, though!!!
On Mon, Sep 20, 1999 at 10:18:30PM +1000, Mark M wrote:
> On Sat, Sep 18, 1999 at 12:44:15AM -0400, Jonathan Lupa wrote:
> > qualify_domain = JJLNet
> You may want to also have (I think)
> qualify_domain = Sith.JJLNet
> qualify_recipient = Sith.JJLNet
OK, I did those. I agree: the qualification is good.
> > local_domains = localhost:JJLNet:Sith:Rankor:Rankor.JJLNet
> you could say (without expanding the star yourself)
> local_domains = localhost:*.JJLNet
I actually changed this to :
local_domains = localhost:Sith:Sith.JJLNet
My reasoning is that mail addressed to *@Rankor can then be
passed on through a route (which is necessary if I am to
get that info to my workstation anyway)... more on this in
a second...
> > sender_net_accept_relay = 192.168.2.0/24
> I assume you meant that and didn't miss-type 192.168.1.0 :)
yep, for the record, I run on 192.168.2.* =)
> > I suspect what I have to do here is actually add some rewrite code
> > to the exim.conf to get the envelope headers. =/
>
> Yep, your right
> *@Sith.JJLNet jjlupa@jamdata.net F
> as we need to rewrite the From field as opposed to the From: field!
OK, now comes the problems....
I can get the rewrite rules to work correctly, but I can't have them
only apply to a certain route/transport/etc... I guess this is kind
of a triviality, but the upshoot is that all local mail is rewritten.
(I would prefer the From field stay intact as to know which machine
that cron message came from.)
Is there a way to keep rewrites from happening on certain routes or
transports? I saw an option for directors but since they only apply
to local mail I don't think it will help me.
> Depends how fetchmail is set up I guess.<snip>
I'm miscommunicating. I can get fetchmail to bring the mail to
localhost:25. Its getting exim to move it correctly that I can't
do. I guess it is possible that I can't move mail coming into
localhost:25 with a header match on jjlupa@jamdata.net off to
Rankor, in which case I have to rethink my strategy. =(
> then you would use in a .forward file: <snip>
Here's my issue. If I have a forward file, exim still needs to be
able to route the mail to the host listed in the forward file. So
presumably, I need another router command than the smarthost.
As long as I am setting up a non-smarthost route, I should be able
to move all incoming mail through that route, and outgoing mail
to that route if it matches a *@Rankor type pattern....
What I setup and doesn't work is:
rankor_route:
driver = domainlist
#local_smtp just specifies smtp as the driver
transport = local_smtp
route_list = "*@rankor rankor.JJLNet byname;\
*@rankor.JJLNet rankor.JJLNet byname"
The fact is, I am bumbling around with this router stuff and am
probably doing this just plain wrong. Its possible I want to
treat Rankor as part of the local domains and not route it at
all, but then I don't know how I would get the mail from
Sith:25 to Rankor:25. If there is a director that would do
this for me, I'm in. I just don't know what that would be.
TIA!
-Jonathan
--
jjlupa@jamdata.net
Reply to: