Multiple MTAs and domains

Multiple MTAs and domains

am 03.07.2005 10:32:45 von Bogart

Aarrrghh.
Here's the set-up.

ISP gives multiple mailboxes. I run a server (fedora) running
some mailman lists and other things. The server is set up to
have the same domain as the account (this was maybe a mistake
but too late now, too much implemented).

I need some mailboxes to be held at the ISP gate and popped
to the server, others popped to my laptop. So I'm
using a combination of fetchmail and procmail and
that's all working fine. The lists work fine with
one small exception. The one thing I cannot do
is to mail from the server to accounts on the ISP gate
(to be later popped to the laptop). The problem as
I see it is that my adsl router is acting also as
DNS server. So from the server these accounts will
look like they are on the local server NOT the ISP
server. This means Smarthost to the ISP won't work
for addresses in the local domain.
I'm doing direct SMTP out
from the server for all mails (which is fine) but
I can't send to these accounts unless I send those
mails to some other domain where they are remailed
(not MX'ed). This is unreliable. Its also the case
that wherever I send to so it can come back in
again can decide it doesn't like the content.

There are lots of reasons I want to mail from the
server to the ISP "gate" mailboxes.

And decent redirection is not free.

So what I'm thinking is maybe there's some way
I can for those mails invoke sendmail in
a separate instance - hey I know I should be
able to write rules for this but I don't spend
all day with sendmail - or invoke some other
MTA - again, just for those mails. It should be
pretty easy to have some other MTA called from
an alias and talk directly to the smarthost
- how can I set this up please.

Is there something
I can use to talk SMTP and give it params of
"talk directly to this smarthost" and "forget that
this domain is on this host and actually deliver
it through that smarthost" ?

I'd be happy for it all to go through one account
on the server (maybe root) so it shouldn't need
complicated matching rules - just some fancy footwork
with domains.

Help.

Solutions ?

Other solutions ?

bogey

Re: Multiple MTAs and domains

am 03.07.2005 11:36:42 von Markus Zingg

On Sun, 03 Jul 2005 09:32:45 +0100, Bogart
wrote:

>The problem as
>I see it is that my adsl router is acting also as
>DNS server.

Maybe I'm missing something, but why don't you configure the external
DNS servers of your ISP on your mailserver?

Just my 2¢ of course....

Markus

Re: Multiple MTAs and domains

am 03.07.2005 12:21:24 von Bogart

Markus Zingg wrote:

> On Sun, 03 Jul 2005 09:32:45 +0100, Bogart
> wrote:
>
>
>>The problem as
>>I see it is that my adsl router is acting also as
>>DNS server.
>
>
> Maybe I'm missing something, but why don't you configure the external
> DNS servers of your ISP on your mailserver?
>
> Just my 2¢ of course....
>
> Markus

They are. And above the router in the resolv.conf.
The router intercepts and decides they are local.

I'm not convinced anyway that the ISP DNS servers
will respond the same way on the inner side of the
connection even if I turned that feature off, which
I don't want to do for the sake of reasonable efficiency.

bogey