I want to set up exim to use my ISP's smtp server.I googled and found that the approach to take is to put the following in exim.conf:
smarthost: driver = domainlist transport = remote_smtp route_list = * smtp.chello.nl byname end
Did this but now when I tried to send a message through Mutt it complains:
Exim configuration error in line 358 of /etc/mail/exim.conf: router smarthost: cannot find router driver "domainlist"
Does anybody know what is going on here?
You need to switch the 'driver' to 'manualroute'
here's my key parts of my exim.conf:
# end of router sec.
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * smtp.earthlink.net
# in transport sec.
driver = smtp
Thank you, that did the trick. :-)
I can describe what I did to configure exim to work with my smtp server and post that in the wiki.
Ok, I put a up a short note on how to do this in the wiki.
Thanks, I'm going to try this one day. Maybe a HOWTO to get mutt and getmail set up too... I had that much, I just had to give up on exim. :oops:
One question, does this also disable relaying of mail so some asshole can't come and start spamming by relaying through your computer server? (ie: is it automatically disabled?)
I have getmail set up. I used info provided by scottro on this board:
As for relaying, I found this with google:
By default, exim will not relay mail except that which originates locally, so the first line you need to add to your /etc/exim/exim.conf tells it to relay authorised SMTP connections:
host_auth_accept_relay = *:+allow_unknown
You can use this line to restrict authorised connections by IP address (see host list docs from the Exim specification) but we deliberately set this to be very lenient: to allow any authorised connection from any IP, including those for which reverse DNS is broken or unknown. For random people on random dial-up connections this is appropriate, you may have other ideas in other settings.