Package: tumgreyspf
Version: 1.35-7
Severity: normal

Hi!

Using greylistByIPOnly = 0 I saw that the expired entries aren't removed
after GREYLISTEXPIREDAYS.

>From /etc/cron.daily/tumgreyspf it's possible to see, for example:

=====
+ [ -f /etc/tumgreyspf/default.conf ]
+ grep GREYLISTEXPIREDAYS /etc/tumgreyspf/default.conf
+ cut -d= -f2
+ awk {print $1}
+ cut -d. -f1
+ GREYLISTEXPIREDAYS=10
+ [ -z 10 ]
+ greylistDir=/var/lib/tumgreyspf/data
+ [ -d /var/lib/tumgreyspf/data ]
+ ls /var/lib/tumgreyspf/data
+ [ -z client_address ]
+ find /var/lib/tumgreyspf/data/client_address/1/161/ -name check_file -mtime 
+10 -delete
+ rmdir --ignore-fail-on-non-empty /var/lib/tumgreyspf/data/client_address/1/161
+ rmdir --ignore-fail-on-non-empty /var/lib/tumgreyspf/data/client_address/1
+ find /var/lib/tumgreyspf/data/client_address/103/10/ -name check_file -mtime 
+10 -delete
(...)
=====

But what I have in /var/lib/tumgreyspf/data/client_address/1/161/ is:

=====
/var/lib/tumgreyspf/data/client_address/1/161/
/var/lib/tumgreyspf/data/client_address/1/161/0
/var/lib/tumgreyspf/data/client_address/1/161/0/greylist
/var/lib/tumgreyspf/data/client_address/1/161/0/greylist/mail@somedomain
/var/lib/tumgreyspf/data/client_address/1/161/0/greylist/mail@somedomain/receiver1@mydomain
/var/lib/tumgreyspf/data/client_address/1/161/0/greylist/othermail@otherdomain
/var/lib/tumgreyspf/data/client_address/1/161/0/greylist/othermail@otherdomain/receiver2@mydomain
=====

Note that it tries to remove check_file (that is not created with
greylistByIPOnly = 0) and also remove the dirs that aren't empty.

Problem is that these dirs will grow without limit (and maybe reaching
some filesystems limit).

It also affects testing/unstable's 1.36-4

Thank you!

Best regards,
Nelson

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to