diff options
author | petef <petef@FreeBSD.org> | 2003-03-27 11:49:51 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-03-27 11:49:51 +0800 |
commit | dc9af1f1adb7184d608f24da7a870c538484e1cc (patch) | |
tree | deceb2d295ad88d61c355b55e13f3ee384e7c1b6 /security/amavisd-new | |
parent | cf2bc1105d54b1e23b10fa3ba0f5cabbe3d4374c (diff) | |
download | freebsd-ports-gnome-dc9af1f1adb7184d608f24da7a870c538484e1cc.tar.gz freebsd-ports-gnome-dc9af1f1adb7184d608f24da7a870c538484e1cc.tar.zst freebsd-ports-gnome-dc9af1f1adb7184d608f24da7a870c538484e1cc.zip |
Fix a bug where non-RFC 2822 compliant mails were generated when a
non-US locale was in use.
PR: 50028
Submitted by: maintainer
Diffstat (limited to 'security/amavisd-new')
-rw-r--r-- | security/amavisd-new/Makefile | 1 | ||||
-rw-r--r-- | security/amavisd-new/files/amavisd.sh.tmpl | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile index b2c6b1523528..bde8de772283 100644 --- a/security/amavisd-new/Makefile +++ b/security/amavisd-new/Makefile @@ -8,6 +8,7 @@ PORTNAME= amavisd-new PORTVERSION= 20021227.p2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.ijs.si/software/amavisd/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/-p/} diff --git a/security/amavisd-new/files/amavisd.sh.tmpl b/security/amavisd-new/files/amavisd.sh.tmpl index 5c49ebf710e1..b69db78402ca 100644 --- a/security/amavisd-new/files/amavisd.sh.tmpl +++ b/security/amavisd-new/files/amavisd.sh.tmpl @@ -18,6 +18,9 @@ start) if [ -e $MILTERFLAG ]; then su %%AMAVISUSER%% -c "${PREFIX}/sbin/amavis-milter -D -p $DIR/amavis-milter.sock" fi + export LANG="C" + export LC_ALL="C" + export LC_TIME="C" su %%AMAVISUSER%% -c "${PREFIX}/sbin/amavisd -c ${CONFIGFILE} > /dev/null 2>&1" && echo -n ' amavisd' fi ;; |