Hi,
Please find below the latest lines of maillog
Code: Select all
Oct 20 09:47:19 nagiosxi postfix/pickup[29827]: 794C3135B: uid=0 from=<root>
Oct 20 09:47:19 nagiosxi postfix/cleanup[29834]: 794C3135B: message-id=<[email protected]>
Oct 20 09:47:19 nagiosxi postfix/qmgr[29826]: 794C3135B: from=<[email protected]>, size=448, nrcpt=1 (queue active)
Oct 20 09:47:19 nagiosxi postfix/smtp[29836]: 794C3135B: to=<[email protected]>, relay=192.168.x.x[192.168.x.x]:25, delay=0.37, delays=0.06/0.07/0/0.24, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=2134782] Queued mail for delivery)
Oct 20 09:47:19 nagiosxi postfix/qmgr[29826]: 794C3135B: removed
Oct 20 09:49:09 nagiosxi postfix/pickup[29827]: 272A1136E: uid=500 from=<nagios>
Oct 20 09:49:09 nagiosxi postfix/cleanup[30477]: 272A1136E: message-id=<[email protected]>
Oct 20 09:49:09 nagiosxi postfix/qmgr[29826]: 272A1136E: from=<[email protected]>, size=792, nrcpt=1 (queue active)
Oct 20 09:49:09 nagiosxi postfix/local[30479]: 272A1136E: to=<[email protected]>, orig_to=<nagios@localhost>, relay=local, delay=0.09, delays=0.06/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 09:49:09 nagiosxi postfix/qmgr[29826]: 272A1136E: removed
Oct 20 09:50:12 nagiosxi postfix/pickup[29827]: 7BAF8137D: uid=0 from=<root>
Oct 20 09:50:12 nagiosxi postfix/cleanup[30477]: 7BAF8137D: message-id=<[email protected]>
Oct 20 09:50:12 nagiosxi postfix/qmgr[29826]: 7BAF8137D: from=<[email protected]>, size=10396, nrcpt=1 (queue active)
Oct 20 09:50:12 nagiosxi postfix/local[30479]: 7BAF8137D: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.11, delays=0.08/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 09:50:12 nagiosxi postfix/qmgr[29826]: 7BAF8137D: removed
Oct 20 09:52:39 nagiosxi postfix/pickup[29827]: 137FA10EE: uid=500 from=<nagios>
Oct 20 09:52:39 nagiosxi postfix/cleanup[31612]: 137FA10EE: message-id=<[email protected]>
Oct 20 09:52:39 nagiosxi postfix/qmgr[29826]: 137FA10EE: from=<[email protected]>, size=828, nrcpt=1 (queue active)
Oct 20 09:52:39 nagiosxi postfix/pickup[29827]: 1E76710ED: uid=500 from=<nagios>
Oct 20 09:52:39 nagiosxi postfix/cleanup[31612]: 1E76710ED: message-id=<[email protected]>
Oct 20 09:52:39 nagiosxi postfix/qmgr[29826]: 1E76710ED: from=<[email protected]>, size=834, nrcpt=1 (queue active)
Oct 20 09:52:39 nagiosxi postfix/local[31616]: 1E76710ED: to=<[email protected]>, orig_to=<nagios@localhost>, relay=local, delay=0.13, delays=0.1/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 09:52:39 nagiosxi postfix/qmgr[29826]: 1E76710ED: removed
Oct 20 09:52:39 nagiosxi postfix/smtp[31614]: 137FA10EE: to=<[email protected]>, relay=192.168.x.x[192.168.x.x]:25, delay=0.48, delays=0.09/0.02/0/0.38, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=2134856] Queued mail for delivery)
Oct 20 09:52:39 nagiosxi postfix/qmgr[29826]: 137FA10EE: removed
Oct 20 09:55:13 nagiosxi postfix/pickup[29827]: 31D86110F: uid=0 from=<root>
Oct 20 09:55:13 nagiosxi postfix/cleanup[32512]: 31D86110F: message-id=<[email protected]>
Oct 20 09:55:13 nagiosxi postfix/qmgr[29826]: 31D86110F: from=<[email protected]>, size=10396, nrcpt=1 (queue active)
Oct 20 09:55:13 nagiosxi postfix/local[32514]: 31D86110F: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.12, delays=0.07/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 09:55:13 nagiosxi postfix/qmgr[29826]: 31D86110F: removed
Oct 20 09:57:36 nagiosxi postfix/pickup[29827]: 73D71112C: uid=500 from=<nagios>
Oct 20 09:57:36 nagiosxi postfix/cleanup[829]: 73D71112C: message-id=<[email protected]>
Oct 20 09:57:36 nagiosxi postfix/qmgr[29826]: 73D71112C: from=<[email protected]>, size=825, nrcpt=1 (queue active)
Oct 20 09:57:36 nagiosxi postfix/pickup[29827]: 79CFA112A: uid=500 from=<nagios>
Oct 20 09:57:36 nagiosxi postfix/cleanup[829]: 79CFA112A: message-id=<[email protected]>
Oct 20 09:57:36 nagiosxi postfix/qmgr[29826]: 79CFA112A: from=<[email protected]>, size=819, nrcpt=1 (queue active)
Oct 20 09:57:36 nagiosxi postfix/local[831]: 73D71112C: to=<[email protected]>, orig_to=<nagios@localhost>, relay=local, delay=0.1, delays=0.07/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 09:57:36 nagiosxi postfix/qmgr[29826]: 73D71112C: removed
Oct 20 09:57:36 nagiosxi postfix/smtp[832]: 79CFA112A: to=<[email protected]>, relay=192.168.x.x[192.168.x.x]:25, delay=0.3, delays=0.07/0.01/0/0.22, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=2134915] Queued mail for delivery)
Oct 20 09:57:36 nagiosxi postfix/qmgr[29826]: 79CFA112A: removed
Oct 20 10:00:13 nagiosxi postfix/pickup[29827]: 50E8F114F: uid=0 from=<root>
Oct 20 10:00:13 nagiosxi postfix/cleanup[1779]: 50E8F114F: message-id=<[email protected]>
Oct 20 10:00:13 nagiosxi postfix/qmgr[29826]: 50E8F114F: from=<[email protected]>, size=10396, nrcpt=1 (queue active)
Oct 20 10:00:13 nagiosxi postfix/local[1781]: 50E8F114F: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.11, delays=0.07/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 10:00:13 nagiosxi postfix/qmgr[29826]: 50E8F114F: removed
Oct 20 10:03:31 nagiosxi postfix/pickup[29827]: C458D1177: uid=500 from=<nagios>
Oct 20 10:03:31 nagiosxi postfix/cleanup[2896]: C458D1177: message-id=<[email protected]>
Oct 20 10:03:31 nagiosxi postfix/qmgr[29826]: C458D1177: from=<[email protected]>, size=778, nrcpt=1 (queue active)
Oct 20 10:03:31 nagiosxi postfix/local[2898]: C458D1177: to=<[email protected]>, orig_to=<nagios@localhost>, relay=local, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 20 10:03:31 nagiosxi postfix/qmgr[29826]: C458D1177: removed
On postfix main.cf I have made this change in order to relay the mails to our Exchange mailserver and the send test mail works ok
I see something strange because one of the addresses configured to get mails as notifications works ok (shown on the logs as
[email protected]), meanwhile all the other addresses configured on Contacts do not work.
I think the configuration of Contacts and Host/Service notifications has been done correctly but I don't know why it doesn't work.
The assigned command for host and service notifications are respectively: notify-host-by-email and notify-service-by-email.
The configuration has been done on:
Core Config Manager --> Monitoring menu --> Hosts/Service (one by one) --> Alert Settings --> Manage Contact Groups --> assigning the correct Contact Group
Thanks,
Enid