On 7 Oct , E.G.Groenboom wrote:
>
> I have figured out exim misses the domain name. Exim returns
> "recipient address must contain a domain" because fetchmail delivers
> mail to the username. Following the instructions of the fetchmail FAQ
> and the exim documentation I have added the following line in
> /etc/exim.conf :
>
> sender_unqualified_hosts = localhost:inter.nl.net
>
>
> [inter.nl.net is the domain of my POPserver.]
>
> And I have also tried
>
> sender_unqualified_hosts = *
>
> Without any success. What do I do wrong?
>
You need to put:
sender_unqualified_hosts = localhost
receiver_unqualified_hosts = localhost
in the configure file. See spec.txt why. New fetchmails (4.3.0) don't
need this anymore.
> -----------
> Sending mail also doesn't work. For example: when sending mail to
> myself I get the following message in eximon:
>
> e.g.groenboom@??? routing defer (-23): retry time not reached
>
Try exim -qf to run the queue.
> and, later:
> e.g.groenboom@??? R=lookuphost defer (-1): host lookup did
> not complete
>
Looks like a DNS time-out. I commented all routers in configure out and
declared a "smart" mailhost, my ISP's mailserver, for all outgoing mail
in the router section:
route_append:
driver = domainlist,
transport = remote_smtp;
route_list = "* my.ISP.mail.server bydns_a"
Plus, I put:
queue_remote
in the main section and:
exim -qf
in my /etc/ppp/ppp-up file. This has the effect that exim puts all
outgoing mail in the queue and only runs it when the dial-up links goes
up. That's to say, when the nameserver of your ISP is available which
should be the case if netscape works.
This leaves all the hard work to your ISP, what's what you pay them
for. And if exim tries to route local mail to the net you $$$$-up you
local domains, alias file, or /etc/hosts. Did you include your hostname
in the local domains?
Read spec.txt once again. Compaired to the sendmail bat book it is
just a folder. What is not really clear is that "directors" refer to
local delivery, "routers" refer to delivery to the rest of the world.
You can run local tests by setting netscape's SMTP server to localhost
and sending mail to root. If this ends up in /var/spool/mail/root or
stuff you're getting close.
Greetings,
De mazzel,
Friso Kuipers.
--
* This is sent by the exim-users mailing list. To unsubscribe send a
mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/