You are not logged in.

#1 2004-06-18 23:23:10

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

exim and smarthost

Hello,

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?

Thanks,
HC

Offline

#2 2004-06-19 01:45:07

czartj
Member
Registered: 2003-10-31
Posts: 12

Re: exim and smarthost

You need to switch the 'driver' to 'manualroute'

here's my key parts of my exim.conf:

# end of router sec.

pass_on_to_isp:
  driver = manualroute
  domains = !+local_domains
  transport = remote_smtp
  route_list = * smtp.earthlink.net

# in transport sec.

remote_smtp:
  driver = smtp

Offline

#3 2004-06-19 04:48:56

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: exim and smarthost

I would like to see a wiki howto on this.... I tried to get it working and failed...

Anybody up for it?

Offline

#4 2004-06-19 09:18:28

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

Re: exim and smarthost

czartj,

Thank you, that did the trick. :-)

Dusty,

I can describe what I did to configure exim to work with my smtp server and post that in the wiki.

HC

Offline

#5 2004-06-19 11:06:02

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

Re: exim and smarthost

Ok, I put a up a short note on how to do this in the wiki.

http://wiki.archlinux.org/index.php/Use … p%20server

Offline

#6 2004-06-19 16:32:09

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: exim and smarthost

The link name was not proper, so I edited in wiki and hcman's post (above).


Markku

Offline

#7 2004-06-19 16:53:24

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: exim and smarthost

Thanks, I'm going to try this one day. smile  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?)

Dusty

Offline

#8 2004-06-22 17:18:44

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

Re: exim and smarthost

I have getmail set up. I used info provided by scottro on this board:

http://home.nyc.rr.com/computertaijutsu/mutt.html

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.

HC

Offline

Board footer

Powered by FluxBB