• 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.

Question change access rights /var/log/maillog

sandi44

New Pleskian
hello

i want to monitor the logfile /var/log/maillog.
so that the user has access to the file, the rights should be adjusted.

every night the file will be recreated ( logrotate? )

-rw-r-----. 1 root root 287951 15 Oct 06:27 /var/log/maillog

the goal would be that the file permissions are 644

how or where can i set this?

thanks
 
Your only option here would be to make the file world readable, like -rw-r--r--, however this means that every user account on the system can potentially read it. Maybe you should rather copy it by a script run by root and provide your user with a copy of the file that has appropriate permissions?
 
Back
Top