$OpenBSD: patch-notifyd_notify_mailto_c,v 1.3 2018/05/18 11:16:43 ajacoutot Exp $

64 bit time_t

Index: notifyd/notify_mailto.c
--- notifyd/notify_mailto.c.orig
+++ notifyd/notify_mailto.c
@@ -110,7 +110,7 @@ char* notify_mailto(const char *class,
         return strdup("NO mailto could not spawn sendmail process");
 
     t = time(NULL);
-    snprintf(outmsgid, sizeof(outmsgid), "<cmu-sieve-%d-%lu-%d@%s>",
+    snprintf(outmsgid, sizeof(outmsgid), "<cmu-sieve-%d-%lld-%d@%s>",
              (int) sm_pid, t, global_outgoing_count++, config_servername);
 
     fprintf(sm, "Message-ID: %s\r\n", outmsgid);
