• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Maillog empty after delete

whnunlife

New Pleskian
So last night I was tracking down a issue with spam coming from my box. In the process, I did the following in a terminal:

path: /usr/local/psa/var/log

rm maillog
touch maillog

Now, before I deleted it, it was full of all these entries from spammers and so on, but after deleting and touching it, the file is empty.

I verified file permissions before I deleted it, and have restarted postfix. But the file is always empt. Anyway to fix this issue?
 
Try running

# restorecon /usr/local/psa/var/log/maillog

if you use SELinux. This will restore security context.
 
Just ran the command, and the file after 10 - 20 minutes is still empty.

Damm, I shouldn't of deleted it last night :(
 
Don't worry. Just remove the log file. With any luck it will be recreated with acceptable permissions.
 
Back
Top