Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
javieitez
byjavieitez, March 13, 2013
Excellent monitor. In some modern email systems the message is rejected, maybe due to antispam policies or the message not being compliant with some standards. The SMTP data bulk (starts at line 381) needs to be polished to something like this:
$smtp->data();
$smtp->datasend("To: $receiver
");
$smtp->datasend("From: $sender
");
$smtp->datasend("Subject: E-Mail Ping [$serial]
");
$smtp->datasend("Content-Type: text/plain; charset=us-ascii; Content-Disposition: inline
".
"This is an automatically sent E-Mail.
".
"It is not intended for a human reader.
".
"Serial No: $serial
");
$smtp->dataend();
Once it includes the From field and the Content-Type tags it is accepted by al systems.
$smtp->data();
$smtp->datasend("To: $receiver
");
$smtp->datasend("From: $sender
");
$smtp->datasend("Subject: E-Mail Ping [$serial]
");
$smtp->datasend("Content-Type: text/plain; charset=us-ascii; Content-Disposition: inline
".
"This is an automatically sent E-Mail.
".
"It is not intended for a human reader.
".
"Serial No: $serial
");
$smtp->dataend();
Once it includes the From field and the Content-Type tags it is accepted by al systems.
byjavieitez, February 22, 2013
Also, be sure to install libio-socket-ssl-perl if you plan to use this monitor with the pop3s flag.
byjavieitez, April 18, 2012
A bit of information on how to install it, which dns (bind?) and what does it do would be appreciated.