I'm building a Docker container from debian:jessie
.
I've installed rsyslog
this normally causes /var/log/mail.log
to be created.
However after running some commands with postfix
I look in /var/log/
and can't find anything related to mail.
Is there a step I'm missing when using rsyslog
with Docker?
I was able to fix the problem by running the following after startup:
service rsyslog restart
Even though rsyslog
had been installed it was never started.