Re: [exim] Connection refused.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Bruce Bowler
Data:  
Para: Exim-users
CC: Odhiambo Washington
Assunto: Re: [exim] Connection refused.
Sorry for the delay, got called away unexpectedly...

On Fri, 22 Jun 2012
12:08:19 +0300 Odhiambo Washington <odhiambo@???> put fingers to
keyboard and said:

>On Thu, Jun 21, 2012 at 9:36 PM, Bruce Bowler <bbowler@???>
>wrote:
>
>> I sent this before I was subscribed, so don't know if it was
>> "accepted". Please delete one or the other (preferable "the other"
>> as this one has a bit more information)...
>>
>>
>OK.
>
>
>> ---
>>
>> I have 2 systems, one at 10.1.1.5 (CentOS 5.4, Exim 4.63) called DOC,
>> the other at 10.2.0.70 (Ubuntu 11.04, Exim 4.74) called NURSE.
>>
>> If I attempt to send a message to NURSE from DOC, it stays in the
>> queue and main.log says
>>
>> 2012-06-21 18:01:49 1ShlhV-0001O8-R4 == bcb@???
>> R=dnslookup T=remote_smtp defer (111): Connection refused
>>
>
>So, login to a Unix shell on NURSE and test connectivity:
>
>ping 10.2.0.70 # Do you get replies? Or maybe firewall blocks ping
>packets?


Ping works

>telnet 10.2.0.70 25


fails w/ "telnet: Unable to connect to remote host: Connection refused"

>
>More important though:
>
>exim -bt bcb@???


root@modis:/etc/exim4/conf.d# exim -bt bcb@???
R: system_aliases for bcb@???
R: hub_user for bcb@???
R: smarthost for bcb@???   <<<<<<<<<<<<<<
bcb@???
    <-- bcb@???
  router = smarthost, transport = remote_smtp_smarthost
  host ASPMX.L.GOOGLE.COM [173.194.73.27] 


gmail is our "institution wide" server but this message should never
leave the campus...


>Does the output show anything to do with the IP of NURSE?
>
>If you login to NURSE and do:
>
>telnet 0 25


Same as above, connection refused...

>Does it answer???
>
>netstat -anp | grep 25


root@nurse:/etc/exim4/conf.d# netstat -anp | grep 25
tcp  0 0 127.0.0.1:25   0.0.0.0:* LISTEN  1134/exim4 
tcp6 0 0 ::1:25         :::*      LISTEN  1134/exim4      


Plus more lines with IP masks w/255's and PIDs that have 25's in them

Bruce

-- 
+-------------------+---------------------------------------------------+
Bruce Bowler        | It'll be a miracle if he ever paints again
1.202.747.3255 x503 | 
bbowler@??? | -Allison Whiteside, after her husbands death
+-------------------+---------------------------------------------------+