Re: [exim] Connection refused.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Odhiambo Washington
Dátum:  
Címzett: Bruce Bowler
CC: Exim-users
Tárgy: Re: [exim] Connection refused.
On Wed, Jun 27, 2012 at 6:26 PM, Bruce Bowler <bbowler@???> wrote:

> Sorry for the delay, got called away unexpectedly...
>


Called to heaven and back? Those were many daya:-)

[snip]

>
>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

Okay.


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


So Exim is NOT listening on that interface!



>
> >
> >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...
>


So create a router _above_ the one you have called smarthost, viz:

modis_hub_route:
driver = manual_route
domains = modis.bigelow.org
transport = remote_smtp
route_data = 10.2.0.70 25
same_domain_copy_routing
no_more


>
>
> >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

>




I think you have edited exim.conf on this machine and specified that it
should only listen on the loopback interface.
So look for the line and change it from what it is to the following:


local_interfaces = <; 127.0.0.1 ; 10.2.0.70 25

Restart the Exim instance and try the "exim -bt" and "telnet" commands from
before!

HTH
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.