Re: [Exim] IP coming directly from hell?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas Gietl
Datum:  
To: William Thompson
CC: exim-users@exim.org
Betreff: Re: [Exim] IP coming directly from hell?
On Wednesday 09 April 2003 16:57, William Thompson wrote:
> > sorry for the HUGE debug-log at the end of this mail.
> >
> > I am experiencing a very strang problem on an exim-4.14 server.
> >
> > I just describe the situation:
> >
> > - client logs on from ip 80.136.241.103
> > - exim checks relay_from_hosts - but not looks up 80.136.241.103. It
> > looks up for 217.7.0.61.29 and then of course rejects the relay
>
>                 ^
> that's not an IP address.  Check your file and see if you meant
> 217.7.0.61/29 instead.  However, that's not a correct CIDR address.

>


yes. i know. that's why i always put the word ip in parentheses. Since this a
lookup in relay_from_hosts exim should not alter the adress it looks up. And
at the beginning and at the end of the connection the ip is output correctly.
Just for the lookup in the relayhosts it is altered. That is strange. That's
all i complain about;-)

> > I tried to figure out where this "IP" - which is none - comes from, but i
> > could not find a source for it.
> >
> > This happens on some remote-adresses, but not with all. But it is allways
> > the same "ip" that comes, maybe, directly from hell in to exim.
> >
> > These are a few important snippets from the configuration:
> >
> > hostlist relay_from_hosts = 127.0.0.1 : /etc/relayhosts
> >
> > /etc/relayhosts is a file of the format:
> >
> > 80.136.241.103 # 1049896544
> > 127.0.0.1 # 1049896544
>
> Looks ok, but why the "# 1049896544" afterwords?


timestamp. This works just fine. exim treats it as comment

>
> > including about 300-400 hosts at the time the error occurs.
> >
> > in acl:
> >
> >   accept  hosts         = +relay_from_hosts
> >   deny    message       = relay not permitted
> >           log_message   = relay not permitted

>
> Looks ok, but you don't need log_message if it's the same as message.
>
> > I put the whole debug-output of the connection at the end of the mail. It
> > is unabridged, i just changed the hostnames.
> >
> > Any ideas? If you need furhter information, don't hesitate to contact me.
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##


--
e-admin internet gmbh
Andreas Gietl                                            tel +49 941 3810884
Ludwig-Thoma-Strasse 35                      fax +49 89 244329104
93051 Regensburg                                  mobil +49 171 6070008


PGP/GPG-Key unter http://www.e-admin.de/gpg.html