Hi there
I use Plesk 18.x "Obsidian" in Debian 10.
Question: How to disable log for mails (smtp, ingoing, Spamassassin) ?
So i saw, many files in directory /var/log will get HUGE after sending mass mails with (some with attachements)
E.g. the following files:
/var/log/sa-update.log
/var/log/maillog.processed
Questions:
1.) Regarding Spamassassin, which creates the file /var/log/maillog.processed: Why the file sa-update.log gets HUGE (~35GB) if there a ALMOST NO INCOMING mails? Does Spamassassin also check EVERY outgoing mail so it seems?
2.) How can i disable (or decrease at lease!!) the "general" mail logging which logs to the file /var/log/maillog.processed?
3.) I executed that commands...
cat /dev/null > maillog.processed
cat /dev/null > sa-update.log
...to empty that huge files, but the "df" command still shows me a 99% usage on root partition - which makes ABSOLUTELY NO SENSE!! (WTF...)
The plesk server is virtualized. But why there are only 653260 bytes left on /-parition after emptying the files maillog.processed AND sa-update.log ? Makes no sense i.m.o.
Thank you very much for your feedbacks
I use Plesk 18.x "Obsidian" in Debian 10.
Question: How to disable log for mails (smtp, ingoing, Spamassassin) ?
So i saw, many files in directory /var/log will get HUGE after sending mass mails with (some with attachements)
E.g. the following files:
/var/log/sa-update.log
/var/log/maillog.processed
Questions:
1.) Regarding Spamassassin, which creates the file /var/log/maillog.processed: Why the file sa-update.log gets HUGE (~35GB) if there a ALMOST NO INCOMING mails? Does Spamassassin also check EVERY outgoing mail so it seems?
2.) How can i disable (or decrease at lease!!) the "general" mail logging which logs to the file /var/log/maillog.processed?
3.) I executed that commands...
cat /dev/null > maillog.processed
cat /dev/null > sa-update.log
...to empty that huge files, but the "df" command still shows me a 99% usage on root partition - which makes ABSOLUTELY NO SENSE!! (WTF...)
Code:
root@xyz:/var/log# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ploop34327p1 51472864 48601436 653260 99% /
none 1048576 0 1048576 0% /sys/fs/cgroup
none 1048576 0 1048576 0% /dev
tmpfs 1048576 16 1048560 1% /dev/shm
tmpfs 1048576 9436 1039140 1% /run
tmpfs 5120 20 5100 1% /run/lock
none 1048576 0 1048576 0% /run/shm
tmpfs 209712 0 209712 0% /run/user/0
The plesk server is virtualized. But why there are only 653260 bytes left on /-parition after emptying the files maillog.processed AND sa-update.log ? Makes no sense i.m.o.
Thank you very much for your feedbacks