[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:08:35 +0100

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]