14#define WHO "hdr_datemsgid"
22static char strnum[FMT_ULONG];
24static stralloc line = {0};
37 if (!stralloc_copyb(&line,strnum,fmt_ulong(strnum,(
unsigned long)
when)))
die_nomem();
38 if (!stralloc_append(&line,
"."))
die_nomem();
39 if (!stralloc_catb(&line,strnum,fmt_ulong(strnum,(
unsigned long) getpid())))
die_nomem();
40 if (!stralloc_cats(&line,
".ezmlm@"))
die_nomem();
41 if (!stralloc_cats(&line,outhost.s))
die_nomem();
void makehash(const char *indata, unsigned int inlen, char *hash)
Error messages. If you translate these, I would urge you to keep the English version as well....
void qmail_puts(struct qmail *, const char *)
void qmail_put(struct qmail *, const char *, int)
charset, outhost, outlocal and flagcd are shared
void hdr_datemsgid(unsigned long when)
unsigned int date822fmt(char *s, const struct datetime *dt)
void datetime_tai(struct datetime *dt, datetime_sec t)
const char * logmsg(const char *dir, unsigned long num, unsigned long listno, unsigned long subs, int done)