OT sendmail delay

David G. Miller dave at davenjudy.org
Thu Sep 28 14:54:06 UTC 2006


Bryan Hepworth wrote:

> Mogens Kjaer wrote:
>
>>> Bryan Hepworth wrote:
>>>   
>>    
>>
>>>>> Hi Everyone
>>>>>
>>>>> I know this is off-topic seeing as how it's about sendmail but I was
>>>>> hoping someone could help out.
>>>>>
>>>>> I have a machine with two ethernet cards in - previously these sat on
>>>>> two different networks to take email from inside and deliver it to the
>>>>> smarthost externally. Now that the network has been changed to 192.168
>>>>> arrangement we don't need both ethernet connections, but I have noticed
>>>>> a distinct delay on the other ethernet card to get a connection,
>>>>> sometimes over a minute.
>>>>>     
>>>      
>>>
>>>
>>> What is the second ethernet card connected to?
>>>
>>> I assume that you havn't connected both network cards
>>> to the same network (this will give an answer to your problems).
>>>
>>> What is the output of ifconfig?
>>>
>>> Mogens
>>>
>>>   
>>    
>>
>
>eth0      Link encap:Ethernet  HWaddr 00:E0:18:F1:71:75  
>          inet addr:93.1.1.208  Bcast:93.255.255.255  Mask:255.0.0.0
>          inet6 addr: fe80::2e0:18ff:fef1:7175/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:1613 errors:0 dropped:0 overruns:1 frame:0
>          TX packets:1714 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000 
>          RX bytes:184622 (180.2 KiB)  TX bytes:1764140 (1.6 MiB)
>          Interrupt:5 Base address:0xb000 
>
>eth1      Link encap:Ethernet  HWaddr 00:E0:18:F3:0E:75  
>          inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
>          inet6 addr: fe80::2e0:18ff:fef3:e75/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:2218 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1958 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000 
>          RX bytes:920142 (898.5 KiB)  TX bytes:251040 (245.1 KiB)
>          Interrupt:11 Base address:0x6000 
>
>lo        Link encap:Local Loopback  
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:2325 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:2325 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0 
>          RX bytes:2575772 (2.4 MiB)  TX bytes:2575772 (2.4 MiB)
>  
>
The next questions is, what's the output of "route"?  Just a guess at 
this point but sendmail may be trying to send on the NIC with the public 
IP or do DNS look-ups.  Either way, its going to time-out before it goes 
to the 192.168 NIC.  You may also need to check sendmail.cf to see if it 
still has references to when the box had the public IP address.

Some things to try on your sendmail box:

1) route
2) dig any <smarthost>
3) dig any `hostname`

Cheers,
Dave


-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce




More information about the fedora-list mailing list