Hi, I just discovered about 16GB of file ("rcmAttmnt....") on /tmp directory on my mailserver.
Actually, on my config.inc.php I have:
$config['temp_dir'] = 'temp/';
which is /var/www/webmail/temp in my case. On that folder, the oldest file is two days ago.
On /tmp, instead, I have several file even from the last year! I think this difference is related to some upgrade that I did in the past (from 0.9.4 to 1.0.0). My question is: is it safe to delete all files in /tmp directory? Are attachment not stored in user mailboxes? Thank you
On August 15, 2014 9:12:31 PM "absolutely_free@libero.it" absolutely_free@libero.it wrote:
I just discovered about 16GB of file ("rcmAttmnt....") on /tmp directory on my mailserver.
google tmpwatch
Actually, on my config.inc.php I have: $config['temp_dir'] = 'temp/';
rcu does not use /tmp
which is /var/www/webmail/temp in my case. On that folder, the oldest file is two days ago.
use the provided .htaccess file there
On /tmp, instead, I have several file even from the last year! I think this difference is related to some upgrade that I did in the past (from 0.9.4 to 1.0.0).
in gentoo /tmp is cleaned on every reboot, so no old files there, and tmpwatch is cronned :)
My question is: is it safe to delete all files in /tmp directory?
yes, but use tmpwatch to do so, when your server is running dont just delete
Are attachment not stored in user mailboxes?
unrelated