[exim] manualroute router does not accept localhost

Pàgina inicial
Delete this message
Reply to this message
Autor: Thomas Baumann
Data:  
A: 'Exim User's Mailing List'
Assumpte: [exim] manualroute router does not accept localhost
Hello list,

According to the spec, the route_list option on manualroute router
contains a host list. In section 10.9, the spec indicates that host
lists specifically use gethostbyname().

I have the router like this

smtp_intern_kolab:
driver = manualroute
domains = +local_domains
transport = remote_smtp_10024
route_list = * localhost byname
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
self = send
no_more

and in my /etc/hosts

127.0.0.1 localhost.localdomain localhost

But when I try to send a mail the following error occurs:

2005-07-05 08:37:03 1DpgtS-0003jb-Ci no IP address found for host
localhost.localdomain
2005-07-05 08:37:03 1DpgtS-0003jb-Ci == tom@??? R=smtp_intern_kolab defer
(-1): lookup of host "localhost.localdomain" failed in smtp_intern_kolab router

I cannot create a dns entry for localhost.

--
Thomas Baumann
Dipl.-Betriebswirt (BA)

tiri.li information technology
Postfach 11 01 15
D-64216 Darmstadt
fon +49 (0) 7000 - 66 464 66
fax +49 (0) 70000 - 329 329
http://www.tiri.li

This email and any attachments are confidential and are
intended only for the addressee. If you are not the
intended recipient of this email and have received it
in error, please notify the sender immediately by reply
email and then delete it from your system.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/