Hello!
I wrote this post on CentOS forum
CentOS 7 + spamassassin-3.3.2-18.el7.x86_64
https://www.centos.org/forums/viewtopic.php?f=47&t=50226&p=213277
case was:
1) user mail quota 50 MB
2) spamd and clamscan together
3) ...spamd[28040]: plugin: eval failed: error writing to
/tmp/.spamassassin28040V31F7ftmp: Disk quota exceeded at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message.pm line 965,
<GEN840> line 1575.
...spamd[28040]: spamd: error closing input file: at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message.pm line 569,
<GEN840> line 1575.
4) user just reached 19.05 MB of his mail quota at that time
5) then I raised the user quota to 250 MB... BUT...
...questions are:
1) spamd can require even more than 30 MB of temp files to check an
incoming email? or this together with ClamAV ?
2) how can I know what's a good margin of additional space the user
should keep in mind?
3) eg. mail quota 250 MB, 200 MB for emails and 50 MB as margin for
email checking, to be sure?
4) how can I calculate this margin more or less exactly?
5) OR is possible to automatically prevent such a situation?
BEST REGARDS
HAPPY HOLIDAYS!!!