Browse Source

bogofilter: set BOGOFILTER_DIR to /etc/bogofilter, as /var/lib is wiped on reboot

Signed-off-by: W. Michael Petullo <mike@flyn.org>
lilik-openwrt-22.03
W. Michael Petullo 10 years ago
parent
commit
055d2074f4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      mail/bogofilter/Makefile
  2. +1
    -1
      mail/bogofilter/files/postfix-bogofilter

+ 1
- 1
mail/bogofilter/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bogofilter PKG_NAME:=bogofilter
PKG_VERSION:=1.2.4 PKG_VERSION:=1.2.4
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=GPLv2 PKG_LICENSE:=GPLv2
PKG_LICENSE_FILE:=COPYING PKG_LICENSE_FILE:=COPYING


+ 1
- 1
mail/bogofilter/files/postfix-bogofilter View File

@ -12,7 +12,7 @@ FILTER_DIR=/mnt/sda1/var/spool/bogofilter
# misleading traces in headers, such as local address # misleading traces in headers, such as local address
# canonicalizations. # canonicalizations.
POSTFIX="/usr/sbin/sendmail -G -i" POSTFIX="/usr/sbin/sendmail -G -i"
export BOGOFILTER_DIR=/var/lib/bogofilter
export BOGOFILTER_DIR=/etc/bogofilter
# Exit codes from <sysexits.h> # Exit codes from <sysexits.h>
EX_TEMPFAIL=75 EX_TEMPFAIL=75


Loading…
Cancel
Save