monit alert mail message id issue

Eric Pailleau <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello,

I encountered a monit alert mail issue.

I use simple config :

check file no_acks with path /path/to/no_acks.log
         if match ".*" then alert

So that monit effetively send a mail at each entry in this log.
So far so good.

But since we changed mail architecture, we did not received all the mails,
but, by investigating , only the first one of all in the same second 
(using monit.log timestamp reference)

We could find that imapd/cyrus  removed duplicate message ids and could 
add a special config entry disabling this option.

Indeed we could see in postfix/smtpd that all the mails was relayed, but 
all in the same second add same ID :
example :
Oct 18 15:32:41 sv1 postfix/cleanup[31715]: 9AE25A87C51: 
message-id=<*1508333561.0*@mydomain.net>
Oct 18 15:32:41 sv1 postfix/cleanup[31715]: A59FDA87C3D: 
message-id=<*1508333561.0*@mydomain.net>

It is not clear to me if this is a monit or postfix issue. Is this mail 
id set by monit or postfix ?

Thanks for sharing any thoughts on this.

Regards
Eric

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.