Package: squirrelmail Version: 2:1.4.9a-3 Severity: normal File: /etc/cron.daily/squirrelmail
Attachments folder /var/spool/squirrelmail/attach has subfolders: $ sudo ls -lh /var/spool/squirrelmail/attach totale 1,1M drwxr-x--- 2 www-data www-data 140K 2008-12-09 16:55 1 drwxr-x--- 2 www-data www-data 184K 2008-12-09 16:56 2 drwxr-x--- 2 www-data www-data 160K 2008-12-09 16:55 3 drwxr-x--- 2 www-data www-data 144K 2008-12-09 16:39 4 drwxr-x--- 2 www-data www-data 128K 2008-12-09 16:43 5 drwxr-x--- 2 www-data www-data 104K 2008-12-09 16:46 6 drwxr-x--- 2 www-data www-data 152K 2008-12-09 16:39 7 drwxr-x--- 2 www-data www-data 4,0K 2008-12-09 16:39 8 drwxr-x--- 2 www-data www-data 12K 2008-12-09 16:39 9 drwxr-x--- 2 www-data www-data 4,0K 2008-12-09 16:39 a drwxr-x--- 2 www-data www-data 4,0K 2008-12-09 16:39 b drwxr-x--- 2 www-data www-data 12K 2008-12-09 16:39 c drwxr-x--- 2 www-data www-data 12K 2008-12-09 16:48 d drwxr-x--- 2 www-data www-data 4,0K 2008-12-09 16:39 e drwxr-x--- 2 www-data www-data 4,0K 2008-12-09 16:39 f So find in /etc/cron.daily/squirrelmail fails to find old attachments because of the option -maxdepth 1. It should be -maxdepth 2. The attached patch fixes the problem. Thanks, Marcello Nuccio -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686 Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Versions of packages squirrelmail depends on: ii apache2 2.2.3-4+etch6 Next generation, scalable, extenda ii apache2-mpm-prefork [htt 2.2.3-4+etch6 Traditional model for Apache HTTPD ii libapache2-mod-php4 6:4.4.4-8+etch6 server-side, HTML-embedded scripti ii perl 5.8.8-7etch5 Larry Wall's Practical Extraction ii php4 6:4.4.4-8+etch6 server-side, HTML-embedded scripti Versions of packages squirrelmail recommends: pn ispell | aspell | aspel <none> (no description available) ii squirrelmail-locales 1.4.9-20070106-1 Translations for the SquirrelMail -- no debconf information
--- /etc/cron.daily/squirrelmail.dpkg-dist 2008-12-09 16:33:00.000000000 +0100 +++ /etc/cron.daily/squirrelmail 2008-12-09 16:39:03.000000000 +0100 @@ -6,7 +6,7 @@ cd /var/spool/squirrelmail/attach find \ - -maxdepth 1 \ + -maxdepth 2 \ -xdev \ -type f \ \! -name '*.*' \