Re: smtp of ISP needs passwd,how to setup exim?
On Sun, Dec 15, 2002 at 09:24:36PM +0800, Dai Yuwen wrote:
> Hi, all
>
> I want to setup exim use my ISP's smtp server as a smart host. But this
> smtp server needs user name and password. How do I use exim this way?
> Thank you in advance.
>
> Best regards,
> Dai Yuwen
So does mine. This is what I've got:
In /etc/exim.conf:
# This is the main exim configuration file.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system administrator.
# This file originally generated by eximconfig at Fri Nov 29 01:04:53 GMT 2002
<snip>
######################################################################
# 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 = "* smtp.ukonline.co.uk bydns_a"
end
<snip>
In ~/.fetchmailrc: (entire file)
# Configuration created Fri Nov 29 01:13:30 2002 by fetchmailconf
set postmaster "postmaster"
poll pop3.ukonline.co.uk with proto POP3
user "jah.pigeon" there with password "myrealpassword" is pigeon here
In /etc/mailname (entire file) :
ukonline.co.uk
Note the references to eximconfig and fetchmailconf. I didn't create
either of these entries by hand. I remember both these config tools
were so easy to use that I can't remember anything else about them!
Quite how the password gets from the pop3 reference to the smtp bit, I
don't understand, but it seems to work OK.
Pigeon
Reply to: