Re: [Exim] seting up a mail hub

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Lawrence Walton
Data:  
Para: exim-users
Assunto: Re: [Exim] seting up a mail hub
Steve Haslam [steve.haslam@???] wrote:
> On Fri, Jun 01, 2001 at 01:44:50PM -0700, Lawrence Walton wrote:
> > The two hosts involved are mail and outbox. Outbox is
> > to recive all mail from the outside and be in the MX recourd as the
> > primary mail server, it will then relay all mail to the host "mail". The
> > examples on www.exim.org and in the FAQ It fails with message
> >
> > 2001-06-01 13:44:01 155vm5-0004Zo-00 ** jack.carlson@???: unknown local-part "jack.carlson" in domain "otak.com"
> >
> > I have
> > local_domains = localhost:outbox:otak.com
> > configured
>
> Set "local_domains" to be an empty list. Why? Because you are not making any
> "local" deliveries on outbox- every message received there is going to be
> sent somewhere else (either to mail orto its Internet destination).
> "local_domains" divides all messages into two classes: ones that are passed
> to directors for delivery to a local mailbox (usually) or ones that go to
> the routers for sending somewhere else.
>
> > and
> > hubbed_hosts:
> > driver = domainlist
> > transport = remote_smtp
> > route_list = *otak.com mail.otak.com byname
>
> *otak.com? I think you mean *.otak.com or otak.com or rules for both.
>
> HTH

Hello, I have implemted the sugestions that you thoughfully e-mailed to me.
And am now getting this error:
2001-06-04 11:48:07 156zOZ-0007tK-00 => lawrence <postmaster@outbox> D=localuser T=local_delivery
2001-06-04 11:48:07 156zOZ-0007tK-00 Completed
2001-06-04 11:48:31 156zOx-0007tP-00 <= lawrence@??? H=the-penguin.otak.com [216.122.56.136] U=mail P=esmtp S=1101 id=20010604114245.A31867@???
2001-06-04 11:48:31 156zOx-0007tP-00 lowest numbered MX record points to local host: otak.com
2001-06-04 11:48:31 156zOx-0007tP-00 == larry.walton@??? R=other_hosts defer (-1): lowest numbered MX record points to local host
2001-06-04 11:48:32 156zOy-0007tT-00 <= <> R=156zOx-0007tP-00 U=mail P=local S=532
2001-06-04 11:48:32 156zOx-0007tP-00 Frozen
2001-06-04 11:48:32 156zOy-0007tT-00 => lawrence <postmaster@outbox> D=localuser T=local_delivery
2001-06-04 11:48:32 156zOy-0007tT-00 Completed

I am wondering if there is somthing that is set or unset in the router section that should or should not be there.
here is the section in it's entirety.

local_domains =

And the routers section.

######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################


# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.

# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.

lookuphost:
driver = lookuphost
transport = remote_smtp

# This router routes to remote hosts over SMTP by explicit IP address,
# given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
# require this facility, which is why it is enabled by default in Exim.
# If you want to lock it out, set forbid_domain_literals in the main
# configuration section above.

literal:
driver = ipliteral
transport = remote_smtp

hubbed_hosts:
driver = domainlist
transport = remote_smtp
route_list = *.otak.com mail.otak.com byname

other_hosts:
driver = lookuphost
transport = remote_smtp


end

Any help would be apreciated.



Also as a compleate hack I could do what I was doing before;
list in my MX records the host I plan to firewall as the first MX record
It will fail and goto outbox and outbox will deliver to mail.


EG

IN      MX      10 mail.otak.com.
IN      MX      20 outbox.otak.com.
IN      MX      30 ns.otak.com.
IN      MX      40 ns.otak-k.com.




--
*--* Mail: lawrence@???
*--* Voice: 425.739.4247
*--* Fax: 425.827.9577
*--* HTTP://www.otak-k.com/~lawrence/
--------------------------------------
- - - - - - O t a k i n c . - - - - -