On May 27, 2010, at 4:09 PM, Drew Weaver wrote:

> Hi there,
>  
> I noticed that a lot of our mail was ending up in users' junk/spam folder at 
> GMail and it seems that if you send Nagios warning messages to Gmail they 
> somehow assume that your server is malicious and spamming. Is it SOP to use a 
> different SMTP server to deliver Nagios messages

Does your nagios server send the messages to gmail directly, and not through an 
SMTP relay? If so, are you following all the rules and expectations for it to 
be a mail server because to gmail, that's exactly what it is.

        - Is the SMTP server on the machine configured to HELO as a valid fully 
qualified domain name (hostname.yourdomain.com)?
        - Does hostname.yourdomain.com exist in the DNS and point to the 
outgoing public IP that gmail sees your message originate from?
        - Does that IP address have a reverse DNS entry of 
hostname.yourdomain.com?

You can answer most of this by looking at the Received: line in any of the 
messages where your system hands the message off to Google. 

At the very least a RDNS lookup of the IP should show hostname.yourdomain.com 
and a lookup of hostname.yourdomain.com should result in that same IP.

--
Marc


------------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to