built date in sa-exim.h

Norihisa Washitake <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Organization Dept of Earth Sciences, Sci, The Univ of Tokyo. Japan.
Message-ID <[email protected]>
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
[email protected], http://washitake.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.