[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help setting up Exim as relay host for private network



David Natkins wrote:
> 
> Bruce,
>         Exactly what does Exim say? (check /var/log/exim/mainlog).
> 
> Bruce Jackson wrote:
> 
> > I am trying to setup exim 3.02 on a potato system.  The system is the
> > firewall/gateway for my network.  The problem is that I can accept email
> > for the internal host but the email is not routing to the internal
> > host.  Exim does not know what to do with it.  The internal host is in
> > the /etc/hosts file of the gateway.  Exim does not seem to look there.
> > I can ping and traceroute to the internal email server.  How exactly do
> > I configure exim.conf to do this.
> >
> > exim.conf
> >
> > qualify_domain = gateway.home.com
> >
> > qualify_recipient = internal.home.com
> > receiver_unqualified_hosts = 172.16.1.2
> >
> > local_domains = localhost:gateway.home.com
> >
> > local_domains_include_host = true
> > local_domains_include_host_literals = true
> >
> > relay_domains = *.home.com
> >
> > never_users = root
> >
> > host_lookup = *
> >
> > host_accept_relay = 127.0.0.1:172.16.0.0/24
> >
> > # percent_hack_domains=*
> >
> > trusted_users = mail
> >
> > smtp_verify = true
> >
> > ######################################################################
> > #                      TRANSPORTS CONFIGURATION                      #
> > ######################################################################
> > #                       ORDER DOES NOT MATTER                        #
> > #     Only one appropriate transport is called for each delivery.    #
> > ######################################################################
> >
> > remote_smtp:
> >   driver = smtp
> >
> > end
> >
> > ######################################################################
> > #                      DIRECTORS CONFIGURATION                       #
> > #             Specifies how local addresses are handled              #
> > ######################################################################
> > #                          ORDER DOES MATTER                         #
> > #   A local address is passed to each in turn until it is accepted.  #
> > ######################################################################
> >
> > real_local:
> >   prefix = real-
> >   driver = localuser
> >   transport = local_delivery
> >
> > system_aliases:
> >   driver = aliasfile
> >   file_transport = address_file
> >   pipe_transport = address_pipe
> >   file = /etc/aliases
> >   search_type = lsearch
> > # user = list
> > # Uncomment the above line if you are running smartlist
> >
> > userforward:
> >   driver = forwardfile
> >   file_transport = address_file
> >   pipe_transport = address_pipe
> >   reply_transport = address_reply
> >   no_verify
> >   check_ancestor
> >   file = .forward
> >   modemask = 002
> >   filter
> >
> > localuser:
> >   driver = localuser
> >   transport = local_delivery
> >
> > smart:
> >         driver = smartuser
> >         new_address = ${local_part}@aes1.aes.ac.in
> >
> > end
> >
> > ######################################################################
> > #                      ROUTERS CONFIGURATION                         #
> > #            Specifies how remote addresses are handled              #
> > ######################################################################
> > #                          ORDER DOES MATTER                         #
> > #  A remote address is passed to each in turn until it is accepted.  #
> > ######################################################################
> >
> > lookuphost:
> >   driver = lookuphost
> >   transport = remote_smtp
> >
> > literal:
> >   driver = ipliteral
> >   transport = remote_smtp
> >
> > LAN_deliver:
> >         driver = domainlist
> >         transport = remote_smtp
> >         route_list = "aes1.aes.ac.in bydns_a"
> >
> > end
> >
> > Thanks in advance for your help in this matter.
> >
> > --
> > Bruce Jackson
> >
> > Debian Linux:  because reboots are for hardware upgrades!
> > www.debian.org          www.fsf.org         www.linux.com
> >
> > --
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> --
> David Natkins
> Email to: dnatkins@keyspanenergy.com
> Fax to: (718) 488-1780
> Phone:  (718) 403-2474


I forgot the error message :)  It is:

unrouteable mail domain "bydns_a"

-- 
Bruce Jackson
Linux:  because reboots are for hardware upgrades!!!
info:   www.debian.org


Reply to: