Re: configuring smtp
On Sun, Mar 03, 2002 at 11:25:50AM -0800, Xucaen wrote:
> [snip] I am unable to locate any config
> files to setup the new smtp server. Where do I
> set up smtp information? and how? I changed
> exim.conf but still not able to send e-mail.
>
What exactly did you do to /etc/exim.conf?
The section configuring a smarthost setup in my /etc.exim.conf looks
like this:
######################################################################
# 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.
# Send all mail to a smarthost
smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* foo.bar.net bydns_a"
end
You would replace "foo.bar.net" above with the name of your ISP's
mail server.
This is for exim 3.12-10 in potato.
Also, for outgoing mail to work on a smarthost setup, you'll have to
edit the file /etc/email-addresses. It is commented and shows you the
syntax to associate your login name on your system with an email
address on your smarthost.
If you don't do this, your outgoing mail will be broken.
If you have done these things, and outgoing mail is still broken, check
/var/log/exim/mainlog for interesting messages and post back to the
list.
Hope this helps.
Cordially,
Mark S. Reglewski
Reply to: