Unable to send email from new Nagios install
Posted: Wed Dec 21, 2016 9:21 am
mail.log
Dec 21 08:16:27 localhost postfix/qmgr[13633]: 361FE61F: from=<[email protected]>, size=982, nrcpt=1 (queue active)
Dec 21 08:16:32 localhost postfix/smtp[461]: connect to smtp2.mailcleaner.net[2001:918:ffd1:0
0
99]:25: Network is unreachable
Dec 21 08:16:32 localhost postfix/smtp[461]: connect to smtp.mailcleaner.net[2001:918:ffd1:0
0
97]:25: Network is unreachable
Dec 21 08:17:02 localhost postfix/smtp[461]: connect to smtp.mailcleaner.net[195.176.194.32]:25: Connection timed out
php log
[12-21-2016 07:55:29] SMTP Error: Could not connect to SMTP host. (method=smtp;host=webmail.onshoreit.net;port=25;security=none), Referer: admin/testemail.php
[12-21-2016 07:56:12] SMTP Error: Could not connect to SMTP host. (method=smtp;host=webmail.onshoreit.net;port=25;security=none), Referer: admin/testemail.php
[12-21-2016 07:57:48] SMTP Error: Could not connect to SMTP host. (method=smtp;host=216.230.228.195;port=25;security=none), Referer: admin/testemail.php
[12-21-2016 07:58:18] Message sent! (method=sendmail), Referer: admin/testemail.php
I would like to send mail directly to my server and avoid my spam service (which has the MX records) but I can't seem to get mail out of the system at all. Postfix seems to be trying IPv6 even though I disabled v6 and the sendmail messages does not make it even though I can get to the server.
Dec 21 08:16:27 localhost postfix/qmgr[13633]: 361FE61F: from=<[email protected]>, size=982, nrcpt=1 (queue active)
Dec 21 08:16:32 localhost postfix/smtp[461]: connect to smtp2.mailcleaner.net[2001:918:ffd1:0
Dec 21 08:16:32 localhost postfix/smtp[461]: connect to smtp.mailcleaner.net[2001:918:ffd1:0
Dec 21 08:17:02 localhost postfix/smtp[461]: connect to smtp.mailcleaner.net[195.176.194.32]:25: Connection timed out
php log
[12-21-2016 07:55:29] SMTP Error: Could not connect to SMTP host. (method=smtp;host=webmail.onshoreit.net;port=25;security=none), Referer: admin/testemail.php
[12-21-2016 07:56:12] SMTP Error: Could not connect to SMTP host. (method=smtp;host=webmail.onshoreit.net;port=25;security=none), Referer: admin/testemail.php
[12-21-2016 07:57:48] SMTP Error: Could not connect to SMTP host. (method=smtp;host=216.230.228.195;port=25;security=none), Referer: admin/testemail.php
[12-21-2016 07:58:18] Message sent! (method=sendmail), Referer: admin/testemail.php
I would like to send mail directly to my server and avoid my spam service (which has the MX records) but I can't seem to get mail out of the system at all. Postfix seems to be trying IPv6 even though I disabled v6 and the sendmail messages does not make it even though I can get to the server.