[CentOS] Sendmail problem - baffled

Tue May 15 20:57:24 UTC 2012
Bowie Bailey <Bowie_Bailey at BUC.com>

On 5/15/2012 4:48 PM, Jussi Hirvi wrote:
> On 15.5.2012 23.22, Alexander Dalloz wrote:
>> It is technically impossible that the telnet to target port 25 succeeds
>> from the same system on which the Sendmail gets a connection refused,
>> unless Sendmail is configured to use a non-standard target port.
> That is why I am baffled. :-/
>
> I could use a way to see what port sendmail is actually using to make 
> the contact. My assumption is that when the log entry (see my orig post) 
> says "mailer=esmtp,", it implies port 25 - but then it really does not 
> make sense that the connection is refused.
>
> On the primary mail server (which I try in vain to contact) I see 
> *nothing* about the failed connections in the maillog, even though I 
> raised log_level to 19.

You could use wireshark to monitor the network traffic and determine
exactly what happens when sendmail tries to make the connection.

-- 
Bowie