[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring external SMTP service

From: Jan-Henrik Haukeland
Subject: Re: Monitoring external SMTP service
Date: Thu, 5 Jan 2012 17:26:13 +0100

Hmm, seems I misunderstood the problem. I didn't read the whole thread, and 
someone informed me that the problem was in the SMTP test, not in sending mail 
from Monit. In the SMTP test (if failed host port 25 protocol 
smtp then..) localhost is in fact hardcoded in EHLO. So no luck. 

On Jan 5, 2012, at 5:08 PM, Jan-Henrik Haukeland wrote:

> On Jan 5, 2012, at 3:02 PM, Christian Bianchi wrote:
>> the host(s) are ok (but i removed the unneded one).
>> i made a scan with tcpdump and found that monit puts "EHLO localhost"
>> and my smtp server responds with: "Response: 551 sorry, your domain is
>> not correct"
>> is there a way to specify the domain instead of "localhost"?
> Yes, from the manual: 
>               Monit, by default, use the local host name in SMTP HELO/EHLO 
> and in the 
>               Message-ID header. Some mail servers check this information 
> against DNS for 
>               spam protection and can reject the email if the DNS and the 
> hostname used in 
>               the transaction does not match. If this is the case, you can 
> override the 
>               default local host name by using the HOSTNAME option:
>               set mailserver using hostname 
> ""

reply via email to

[Prev in Thread] Current Thread [Next in Thread]