Mailcow-dockerized: [feature request] logs folder at docker host

Created on 19 May 2017  路  3Comments  路  Source: mailcow/mailcow-dockerized

Hi,
first of all: mailcow is a great project. ;)

But i want to ask for a feature with the mailcow docker container.
It is possible to link all log files from each container (postfix, dovecot, etc.) on a local logs folder?
It could useful in different ways:

  • using logrotate for each logfile
  • using a central fail2ban instance at the host

Thanks.

Most helpful comment

Hi,
Docker can log to Syslog. :-) You can find it in the docs. I also added a howto for Fail2ban there.

All 3 comments

Hi,
Docker can log to Syslog. :-) You can find it in the docs. I also added a howto for Fail2ban there.

It was my fault. I was to stupid to found the logging section in the documentation. Sorry for that.
But works it with roundcube or any third party app inside the container which only logs to a file and not to syslog?

@pgollor You could always use a log collector to send those on to syslog/rsyslog :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CrAazZyMaN21 picture CrAazZyMaN21  路  3Comments

Adorfer picture Adorfer  路  3Comments

zkryakgul picture zkryakgul  路  3Comments

K2rool picture K2rool  路  3Comments

a3li picture a3li  路  3Comments