3 #ifndef _MAIL_VERSION_H_INCLUDED_
4 #define _MAIL_VERSION_H_INCLUDED_
10 /* globally configurable parameters
12 /* #include <mail_version.h>
17 * Version of this program. Official versions are called a.b.c, and
18 * snapshots are called a.b-yyyymmdd, where a=major release number, b=minor
19 * release number, c=patchlevel, and yyyymmdd is the release date:
20 * yyyy=year, mm=month, dd=day.
22 * Patches change both the patchlevel and the release date. Snapshots have no
23 * patchlevel; they change the release date only.
25 #define MAIL_RELEASE_DATE "20090828"
26 #define MAIL_VERSION_NUMBER "2.6.5"
29 # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE
31 # define MAIL_VERSION_DATE ""
35 # define MAIL_VERSION_PROD "-nonprod"
37 # define MAIL_VERSION_PROD ""
40 #define VAR_MAIL_VERSION "mail_version"
41 #define DEF_MAIL_VERSION MAIL_VERSION_NUMBER MAIL_VERSION_DATE MAIL_VERSION_PROD
43 extern char *var_mail_version
;
48 #define VAR_MAIL_RELEASE "mail_release_date"
49 #define DEF_MAIL_RELEASE MAIL_RELEASE_DATE
50 extern char *var_mail_release
;
53 * The following macros stamp executable files as well as core dumps. This
54 * information helps to answer the following questions:
56 * - What Postfix versions(s) are installed on this machine?
58 * - Is this installation mixing multiple Postfix versions?
60 * - What Postfix version generated this core dump?
62 * To find out: strings -f file... | grep mail_version=
66 #define MAIL_VERSION_STAMP_DECLARE \
67 char *mail_version_stamp
69 #define MAIL_VERSION_STAMP_ALLOCATE \
70 mail_version_stamp = strdup(VAR_MAIL_VERSION "=" DEF_MAIL_VERSION)
75 /* The Secure Mailer license must be distributed with this software.
78 /* IBM T.J. Watson Research
80 /* Yorktown Heights, NY 10598, USA