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

poldixd picture poldixd  路  3Comments

lgleim picture lgleim  路  3Comments

K2rool picture K2rool  路  3Comments

starcraft0429 picture starcraft0429  路  3Comments

damdinsharav picture damdinsharav  路  3Comments