You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
Adding daily mail review from Issue 839 (#881)
* Added dependencies, binary, startup configuration * Added env variable to dist files/readme * send summary after each logrotate, added env variable for mail/logrotate interval * remove mail.log from rsyslogs logrotate * rotate mail.log when no email is set * Added documentation for POSTFIX_LOGROTATE_INTERVAL * Removed interval option, since its not being tested for. * changed test to force logrotate to rotate fixed logrotate config * readded setup_environment, made logrotate_setup being called everytime * changed documentation for new variable names - again * Did Documentation, added a default recipient, added test for default config. * layout fix * changed variable names apposite the documentation
This commit is contained in:
16
README.md
16
README.md
@ -311,6 +311,22 @@ Enabled by ENABLE_POSTFIX_VIRTUAL_TRANSPORT. Specify the final delivery of postf
|
||||
- drop => Drop the connection immediately with a 521 SMTP reply. Repeat this test the next time the client connects.
|
||||
- ignore => Ignore the failure of this test. Allow other tests to complete. Repeat this test the next time the client connects. This option is useful for testing and collecting statistics without blocking mail.
|
||||
|
||||
##### REPORT_RECIPIENT
|
||||
|
||||
Enables a report being sent (created by pflogsumm) on a regular basis.
|
||||
- **0** => Report emails are disabled
|
||||
- 1 => Using POSTMASTER_ADDRESS as the recipient
|
||||
- => Specify the recipient address
|
||||
|
||||
##### REPORT_INTERVAL
|
||||
|
||||
changes the interval in which a report is being sent.
|
||||
- **daily** => Send a daily report
|
||||
- weekly => Send a report every week
|
||||
- monthly => Send a report every month
|
||||
|
||||
Note: This Variable actually controls logrotate inside the container and rotates the log depending on this setting. The main log output is still available in its entirety via `docker logs mail` (Or your respective container name). If you want to control logrotation for the docker generated logfile see: [Docker Logging Drivers](https://docs.docker.com/config/containers/logging/configure/)
|
||||
|
||||
## Spamassassin
|
||||
|
||||
##### ENABLE_SPAMASSASSIN
|
||||
|
Reference in New Issue
Block a user