[SA-exim] built date in sa-exim.h

Norihisa Washitake nori at washitake.com
Mon Sep 1 21:29:24 PDT 2003


Hi,

I installed exim with SA-exim integration, and noticed it adds a
header 'X-SA-Exim-Version: $(version) (built `date`)' but it
does not work "right" on my linux box.  That's because the result
of system command `date` is in euc-jp code page (a multi-byte
character set used commonly in UNIX boxes in Japan), which should
not be used in internet mails.

So I suggest it be in LANG=C when being make'd, by doing:

*** Makefile.orig       Mon Sep  1 20:23:50 2003
--- Makefile    Mon Sep  1 20:24:08 2003
***************
*** 65,70 ****
--- 65,71 ----
  sa-exim.c: sa-exim.h

  sa-exim.h: version
+       LANG=C
        echo "char *version=\"`cat version` (built `date`)\";" > sa-exim.h

  clean:


Regards,
--
Norihisa Washitake
Dept of Earth Sciences, Sci, The University of Tokyo
nori at washitake.com, http://washitake.com/




More information about the SA-Exim mailing list