• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved How to disable log for mails (smtp, ingoing, Spamassassin) ?

jmar83

Regular Pleskian
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...)

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
 
Back
Top