All email-related services now logs in /var/log/mail/#116
All email-related services now logs in /var/log/mail/#116tomav merged 3 commits intodocker-mailserver:masterfrom
Conversation
and fail2ban config has been updated accordingly. Added also a check before copying spamassassin rule file.
|
Tests are failing! I've repeated now my tests and : docker exec mail_fail2ban fail2ban-client status sasl I'll look at it later. |
|
@tomav I've repeated the tests in my own environment (via Makefile) and it seems that it may happen that during some test not all services are already online. I've expanded the sleep time used in the makefile and now everything is working (on my own server):
I don't know if that could be the kind of problem we have on the Travis CI build. Maybe having another container to start up (mail_fail2ban) requires more time for the services to be online. |
|
|
@tomav the jail is there and is configured for sasl. |
|
Increasing time is not a good solution, we already have timeouts because of freshclam. That's probably what @gegere suggested. |
|
That's a possibility. |
|
Never played with Travis matrix build and I'm currently out of time. Let's see if a contributor can help. |
|
@tomav I've seen that today's Reldeis patch has passed the CI tests. Would you like to try to restart this one? Probably now the Travis-CI resources are less busy! |
|
Restarted. |
|
@tomav I've another idea |
|
@tomav sorry, I've another idea: I've tested on my server and make the job reach the end (on my server at least!). In fact the problem with the current version is that starting up all the processes togheter causes a lot of contention on the resources (iowait and so on). As an example, 60s after the startup of all the containers on the container By splitting 60s in 4x15s we don't add more time to the job :) |
|
Ok, let's try! |
|
@tomav Ok - I'm going to submit another PR. |
Modified the Makefile so that the containers startup with a short delay between each other. Corrected a small bug in start-mailserver.sh that prevented the correct configuration of the jails.
|
@tomav ... sort of ... eureka! |
/var/log/mail directory. Fail2ban jails and logrotate config files have been updated accordingly. Integration tests have been extended to include a check of the new path.
|
@tomav I've done some changes and added a PR. |
Implements #113
Fail2ban config has been updated accordingly.
Added also a check before copying spamassassin rule file.