RE: [Exim] Re: Mail relay problems

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave C.
Date:  
À: Andy Coy
CC: exim
Sujet: RE: [Exim] Re: Mail relay problems
On Sat, 8 Jun 2002, Andy Coy wrote:

> OK Chaps, this is it the full transcript of what happens. It says is host in
> host_accept_relay    no. Host is id'd as 127.0.0.1, localhost. I added that to
> the config file and then stopped and restarted exim and it still does not
> work. It must be something to do with the config file. Should there be a
> space between IP'S and : such as 127.0.0.1 : 127.0.0.1 or as I have it
> 127.0.0.1:127.0.0.1. Or have I not understood the transcript properly and
> it's saying that 80.47.5.28 isn't in the host_accept_relay, it is as
> 80.40/13.



Host is "id'd" as 127.0.0.1 -- what on earth are you talking about?

Please point out the line below that you are interpreting in this
manner..

> listening on port 25...
> Connection request from 80.47.5.28


The connection is coming from ^^ this IP address, not 127.0.0.1

> 1 SMTP accept process running
> interface address = 212.1.130.77
> listening on port 25...
> host in rfc1413_hosts? yes (*)
> sender_fullhost = [80.47.5.28]
> sender_rcvhost = [80.47.5.28]
> Process 76186 is handling incoming connection from [80.47.5.28]
> host in host_lookup? yes (0.0.0.0/0)
> looking up host name for 80.47.5.28
> IP address lookup yielded dial-80-47-5-28.access.uk.tiscali.com
> Actual local interface address is 212.1.130.77
> Actual local interface address is 127.0.0.1


This means that "127.0.0.1" is one of the local interfaces on YOUR
machine. Every host has one of these. it is irrelevant to what is
happening here..

> dial-80-47-5-28.access.uk.tiscali.com 80.47.5.28 -1
> sender_fullhost = dial-80-47-5-28.access.uk.tiscali.com [80.47.5.28]
> sender_rcvhost = dial-80-47-5-28.access.uk.tiscali.com ([80.47.5.28])
> set_process_info: 76186 3.13 handling incoming connection from
> dial-80-47-5-28.access.uk.tiscali.com [80.47.5.28]
> host in host_reject? no (option unset)
> host in host_reject_recipients? no (option unset)
> host in sender_unqualified_hosts? no (option unset)
> host in receiver_unqualified_hosts? no (option unset)
> host in helo_verify? no (option unset)
> host in helo_accept_junk_hosts? no (option unset)
> 220 post.libertynet.co.uk ESMTP Exim 3.13 #6 Sat, 08 Jun 2002 15:38:11 +0100
> set_process_info: 76186 3.13 handling incoming connection from
> dial-80-47-5-28.access.uk.tiscali.com [80.47.5.28]
> ready for new message
> smtp_setup_msg entered
> SMTP<< HELO andy
> sender_fullhost = dial-80-47-5-28.access.uk.tiscali.com (andy) [80.47.5.28]
> sender_rcvhost = dial-80-47-5-28.access.uk.tiscali.com ([80.47.5.28]
> helo=andy)
> set_process_info: 76186 3.13 handling incoming connection from
> dial-80-47-5-28.access.uk.tiscali.com (andy) [80.47.5.28]
> 250 post.libertynet.co.uk Hello dial-80-47-5-28.access.uk.tiscali.com
> [80.47.5.28]
> SMTP<< MAIL FROM: <andy@???>
> andy@??? in sender_reject? no (option unset)
> andy@??? in sender_reject_recipients? no (option unset)
> 250 <andy@???> is syntactically correct
> SMTP<< RCPT TO: <andy.coy@???>
> search_open: mysql "NULL"
> search_find: file="NULL"
> key="SELECT DISTINCT domain FROM mail WHERE domain='virgin.net'"
> partial=-1
> LRU list:
> internal_search_find: file="NULL"
> type=mysql key="SELECT DISTINCT domain FROM mail WHERE
> domain='virgin.net'"
> database lookup required for SELECT DISTINCT domain FROM mail WHERE
> domain='virgin.net'
> MYSQL query: SELECT DISTINCT domain FROM mail WHERE domain='virgin.net'
> MYSQL new connection: host=localhost port=3306 database=**** user=*****
> password=*****
> MYSQL: no data found
> lookup failed
> virgin.net in local_domains? no (end of list)
> virgin.net in relay_domains? no (end of list)
> local host found for non-MX address
> localhost 127.0.0.1 -1
> host in host_accept_relay? no (end of list)


At the time you ran this test, the IP address didnt match your
host_accept_relay..

> 550 relaying to <andy.coy@???> prohibited by administrator
> LOG: 1 MAIN REJECT
> refused relay (host) to <andy.coy@???> from <andy@???>
> H=dial-80-47-5-28.access.uk.tiscali.com (andy) [80.47.5.28]
> SMTP<< QUIT
> 221 post.libertynet.co.uk closing connection
> child 76186 ended: status=0x0
>
> Andy Coy
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--