Hello Thibault Le Meur Am 2014-05-15 18:53, schrieb Thibault Le Meur: > > I recently had a small issue where my tmp directory was full due to big > temporary files (I expect them to be attachements). The consequences for > SOGo were: > * some attachement could not be read from the Web interface > * when composing a new email with a attachement, the mail was filled > with a 0-length attachement > > Thus I'd like to handle this issue so that It can't occur again. > > Thus I've got the following questions: > > 1- Is there a way to set a maximum file size for attachement upload in > SOGo ? > * I've read on the list that an error message is displayed if the > SMTP server refuses the attachement, but I'd like to forbid the big file > to be uploaded to the SOGo server (which may occur before any SMTP > connection is made to the SMTP server).
No, there is no such thing. > 2- is there a parameter that provides the directory where uploaded > (attachement) files are stored ? Yes. It is set via SOGoMailSpoolPath in sogo.conf > 3- is there a sogo cleaning script that can purge these temporary > uploaded files (possiblly enabled in a cron) ? > Yes, see /etc/cron.daily/sogo-tmpwatch Hope this helps. Kind regards, Christian Mack -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416
smime.p7s
Description: S/MIME Cryptographic Signature