On Fri, Feb 18, 2011 at 7:33 PM, Martin Pala <mart...@tildeslash.com> wrote:
> We have randomized the message id using seed based on current time, monit's 
> pid and message order - if the hostname is duplicate for different hosts, the 
> message id should no longer conflict even if if it is generated in the same 
> second as described in Debian's Bug#613770.

Looks good, but putting the nodename (short hostname, without the
domain part) only
doesn't follow the RFC2822 _recommendations_ :
--->8---
3.6.4. Identification fields

[...]
  at the same time.  Though other algorithms will work, it is
  RECOMMENDED that the right hand side contain some domain identifier
  (either of the host itself or otherwise) such that the generator of
  the message identifier can guarantee the uniqueness of the left hand
  side within the scope of that domain.
--->8---

Probably, you can include output of getdomainname() in S.localhost too.

_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev

Reply via email to