iredmail / iRedAPD

A simple Postfix policy server.
https://www.iredmail.org/
47 stars 24 forks source link

iRedAPD log not working #13

Closed Ashiq5 closed 1 year ago

Ashiq5 commented 1 year ago

I have installed the latest version of iRedAPD and successfully integrated it with Postfix in my Ubuntu after following the INSTALL.md file. But for some reason, logging is not working and I don't see any log being written in /var/log/iredapd/ directory. Permissions and other necessary checks are okay.

Can anyone suggest what is going wrong?

Ashiq5 commented 1 year ago

It seems like INSTALL.md was missing an instruction. We need to copy samples/rsyslog.d/iredapd.conf in /etc/rsyslog.d directory to make sure the log is getting written.

Additionally, for enabling logrotate, copy samples/logrotate.d/iredapd to /etc/logrotate.d/ directory.