Package: tumgreyspf
Version: 1.35-7
Severity: normal
Hello,
The cron.daily script chokes when there are IPv6 addresses in the
/var/lib/tumgreyspf/data dir, so mails are being sent from cron.
The cron script isn't written to handle them at all as it seems:
[root@yoshi /var/lib/tumgreyspf/data]# /etc/cron.daily/tumgreyspf
find:
`/var/lib/tumgreyspf/data/2001:4c48:2:a365:216:3eff:fe27:a3d7/check_file/*/':
Not a directory
rmdir: failed to remove
`/var/lib/tumgreyspf/data/2001:4c48:2:a365:216:3eff:fe27:a3d7/check_file/*':
Not a directory
rmdir: failed to remove
`/var/lib/tumgreyspf/data/2001:4c48:2:a365:216:3eff:fe27:a3d7/check_file': Not
a directory
Please note that the cron.daily script I'm using is from 1.36-3 that I
got from the sid package source, so I'm running the newest available
script.
-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.3.3
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tumgreyspf depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii passwd 1:4.1.4.2+svn3283-2+squeeze1 change and administer password and
ii python 2.6.6-3+squeeze7 interactive high-level object-orie
ii python-spf 2.0.5-2+squeeze1 sender policy framework (SPF) modu
ii spfquery 1.2.9-4 query SPF (Sender Policy Framework
tumgreyspf recommends no packages.
tumgreyspf suggests no packages.
-- Configuration Files:
/etc/cron.d/tumgreyspf [Errno 2] No such file or directory:
u'/etc/cron.d/tumgreyspf'
/etc/cron.daily/tumgreyspf changed:
if [ -f /etc/tumgreyspf/default.conf ] ; then
GREYLISTEXPIREDAYS=`grep GREYLISTEXPIREDAYS
/etc/tumgreyspf/default.conf | cut -d'=' -f2 | awk '{print $1}' | cut -d'.' -f1`
fi
if [ -z "${GREYLISTEXPIREDAYS}" ] ; then
GREYLISTEXPIREDAYS=10
fi
greylistDir="/var/lib/tumgreyspf/data"
if ! [ -d "${greylistDir}" ] ; then
# echo "No tumgreyspf data folder"
exit 0
fi
if [ -z "$(ls ${greylistDir})" ] ; then
# echo "No data to clean in this run"
exit 0
fi
for i in ${greylistDir}/* ; do
for j in ${i}/* ; do
for k in ${j}/* ; do
find ${k}/ -name check_file -mtime
+${GREYLISTEXPIREDAYS} -delete
rmdir --ignore-fail-on-non-empty ${k}
done
rmdir --ignore-fail-on-non-empty ${j}
done
rmdir --ignore-fail-on-non-empty ${i}
done
/etc/tumgreyspf/default.conf changed:
SPFSEEDONLY = 0
GREYLISTTIME = 300
CHECKERS = spf,greylist
OTHERCONFIGS = client_address,envelope_sender,envelope_recipient
GREYLISTEXPIREDAYS = 10.0
/etc/tumgreyspf/tumgreyspf.conf changed:
debugLevel = 1
defaultSeedOnly = 0
defaultAllowTime = 300
configPath = 'file:///var/lib/tumgreyspf/config'
greylistDir = '/var/lib/tumgreyspf/data'
spfqueryPath = '/usr/bin/spfquery'
blackholeDir = '/var/lib/tumgreyspf/blackhole'
ignoreLastByte = 0
greylistByIPOnly = 1
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]