Tim Möhlmann
049ca9941f
Cleanup syntax and fix typo
2019-01-08 05:21:03 +02:00
Tim Möhlmann
7d01bb2a4d
LOG_LEVEL docs and changelog entry
2019-01-08 00:58:01 +02:00
Tim Möhlmann
b04a9d1c28
Implement debug logging for template rendering
2019-01-08 00:38:06 +02:00
Tim Möhlmann
b9313488dd
Add logging for tenacity.retry
...
In the process we found that the previous way of tenacity syntax caused it not to honor any args.
In this commit we've refactored to use the @decorator syntax, in which tenacity seems to behave better.
2019-01-07 23:49:10 +02:00
Tim Möhlmann
8172f3eab8
Move the Mailu Docker network to a fixed subnet.
...
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
2018-12-06 12:08:22 +02:00
mergify[bot]
37027cfce7
Merge pull request #633 from kaiyou/fix-sender-checks
...
Improve sender checks
2018-12-05 16:03:24 +00:00
Tim Möhlmann
42e2dbe35d
Standarize image by using shared / similair layers
2018-10-31 19:17:23 +02:00
Ionut Filip
8a44a44688
Merge branch 'master' into feat-startup
2018-10-23 12:51:32 +03:00
Ionut Filip
1187cac5e1
Finished up switching from .sh to .py
2018-10-23 11:58:36 +03:00
Tim Möhlmann
2d382f2d67
Merge branch 'master' into fix-sender-checks
2018-10-23 10:58:29 +03:00
Ionut Filip
eb7dfb5771
Cleaning up start.py
2018-10-22 17:02:43 +03:00
Thomas Sänger
603b6e7390
Merge pull request #2 from usrpro/fix-nginx-healthcheck
...
Fix nginx healthcheck
2018-10-21 22:44:44 +02:00
Tim Möhlmann
81b24f61e8
Merge branch 'master' into feat-healthchecks
2018-10-21 20:58:59 +03:00
Tim Möhlmann
a2fea36c79
Increase HEALTHCHECK start time for services that need to wait for host resolving during startup.
...
In Docker Swarm mode the services listed below can get stuck in their start script, while they
are waiting for other services become available. Now, with HEALTHCHECK enabled, docker does not resolve
names of services that not pass HEALTHCHECK yet. Meaning that if one of the depenend services is not yet
available, it will create a chain of failing services.
The services below retry to resolve 100 time, with an average of 3.5 seconds. Hence, the --start-time
flag is now set at 350 seconds.
- dovecot (imap)
- postfix (smtp)
- rspamd (antispam)
2018-10-21 20:49:01 +03:00
kaiyou
1fcaef7c7e
Merge branch 'master' into fix-sender-checks
2018-10-20 10:18:36 +02:00
mergify[bot]
118ea0f3fb
Merge pull request #604 from ofthesun9/feature-swarm
...
Enabling swarm deployment on master branch
2018-10-19 09:18:34 +00:00
Thomas Sänger
a412951a30
simpler healthcheck for postfix
2018-10-16 23:12:02 +02:00
Thomas Sänger
1fc40bf932
add healthcheck for postfix
2018-10-16 22:57:25 +02:00
kaiyou
f647d1a0bc
Merge branch 'master' into fix-sender-checks
2018-10-16 20:41:18 +02:00
kaiyou
5035975c41
Remove Postfix debugging
2018-10-15 22:07:38 +02:00
kaiyou
10ec2f999a
Another (embarrassing) fix for a merge typo
2018-10-10 11:39:41 +02:00
kaiyou
2e1aa079c1
Fix one (hopefully) last merge typo
2018-10-10 11:24:51 +02:00
kaiyou
4b9dbf00a8
Fix yet another merge-time typo
2018-10-10 09:51:50 +02:00
kaiyou
e8e133b53d
Fix a merge typo in postfix build
2018-10-10 08:54:57 +02:00
kaiyou
00b5ae11db
Merge branch 'master' into feat-abstract-db
2018-10-10 08:41:56 +02:00
ofthesun9
13146be57e
Merge branch 'master' into feature-swarm
2018-10-07 16:42:25 +00:00
kaiyou
8b189ed145
Separate senderaccess and senderlogin maps
2018-10-07 16:23:53 +02:00
ofthesun9
74796201ec
Merge branch 'master' into feature-swarm
2018-10-07 08:00:12 +00:00
kaiyou
fc99eb7b34
Re-enable sender access check to prevent source spoofing
2018-10-07 01:52:01 +02:00
kaiyou
f3f0b98755
Fix relay restrictions so email gets delivered correctly
2018-10-07 01:28:22 +02:00
Tim Möhlmann
0817629869
Increase attempts as it failed on fresh Swarm host
2018-10-07 02:10:13 +03:00
Tim Möhlmann
16469d7282
Upgrade to newer pip version
2018-10-07 01:40:22 +03:00
Tim Möhlmann
1bae5968ad
Import tenacy and fix syntax errors
2018-10-07 01:39:02 +03:00
Tim Möhlmann
c457ccfa60
Use tenacity for resolver retries
2018-10-07 00:32:05 +03:00
Tim Möhlmann
d6c386651d
Merge branch 'master' into fix-swarm-start
2018-10-06 23:48:32 +03:00
ofthesun9
09d77bc2de
Handle the case where the variable REJECT_UNLISTED_RECIPIENT is not set
2018-10-04 18:55:56 +00:00
ofthesun9
cc17962c86
fixes #583
2018-10-04 18:55:56 +00:00
kaiyou
2cba045013
Explicitely declare required volumes, fixes #568
2018-09-28 17:28:46 +02:00
kaiyou
f5668dea51
Handle relays as virtual transports through podop
2018-09-27 16:30:20 +02:00
kaiyou
43b6547e1c
Lower the loglevel of podop
2018-09-27 14:53:58 +02:00
kaiyou
6d088504bd
Adjust podop debug level based on environment
2018-09-27 14:37:47 +02:00
kaiyou
697caaab81
Update podop access and mail restrictions
2018-09-26 00:15:24 +02:00
kaiyou
7143fb8c47
Implement some basic views for podop
2018-09-26 00:15:03 +02:00
kaiyou
39cd0d5034
Upgrade to alpine 3.8 for smtp and imap
2018-09-26 00:14:30 +02:00
kaiyou
68aa797720
Merge branch 'master' into feat-abstract-db
2018-09-25 21:46:12 +02:00
kaiyou
73ca5fb3d3
Provide a more generic skeletton for postfix virtual lookups
2018-09-24 23:19:06 +02:00
ofthesun9
23e288aadc
Enabling swarm deployment on master branch:
...
-Extends the usage of POD_ADDRESS_RANGE
-Provides documentation
2018-09-24 17:29:31 +00:00
Tim Möhlmann
cc8e15748b
Retry 10 times when resolving fails in start.py scripts
2018-08-08 17:54:15 +03:00
kaiyou
f506966abc
Pin Alpine 3.7 to preserve the Postfix version
2018-08-03 08:24:06 +02:00
Tim Möhlmann
9350bb9b9a
Use fixed alpine:3.7 tag to prevent postix upgrade
2018-08-03 00:18:39 +03:00
Pierre Jaury
c04e58498d
Remove unused postfix sqlite files
2018-07-26 21:57:48 +02:00
Pierre Jaury
bb73933e1e
Switch postfix to Podop
2018-07-26 21:57:21 +02:00
Pierre Jaury
82e738cc53
Remove the old code of postproxy
2018-07-26 21:45:33 +02:00
Pierre Jaury
2b2ab864d1
Add support for querying the table in Dovecot proxy
2018-07-15 15:35:35 +02:00
Pierre Jaury
70175f8c28
Add postproxy support for Dovecot dict protocol
2018-07-15 15:30:16 +02:00
Pierre Jaury
262e82a367
Add a postfix socketmap to http proxy
2018-07-03 20:13:00 +02:00
Pierre Jaury
e543477c2e
Revert "Only enable milter for incoming emails"
...
This reverts commit cfd233039e
.
2018-06-02 10:38:08 +02:00
Pierre Jaury
cfd233039e
Only enable milter for incoming emails
2018-06-02 10:33:58 +02:00
Pierre Jaury
1b0b3a2b1e
Only check login mismatch for authenticated users, fixes #309
2018-06-02 10:22:15 +02:00
Mildred Ki'Lya
ae8c9f5a6b
Add various environment variables to allow running outside of docker-compose
2018-05-08 20:41:02 +01:00
kaiyou
d1dbba2d3a
Add expose instructions in Dockerfiles, fixes #392
2018-04-21 14:46:01 +02:00
Caleb Johnson
b58dcfb511
Add support for sending from alternative domains
...
See Mailu/Mailu#415
2018-03-19 17:54:04 -05:00
Marcus Ripkens
7375134474
Update main.cf
2017-12-04 22:04:22 +01:00
Marcus Ripkens
175349a224
Added adress verification before accepting mails for delivery
...
See https://www.endpoint.com/blog/2015/05/28/postfix-address-verification
Block client until address verifiction is completed and mail will not be rejected by relaying MTA or smarthost.
If verification fails, mail is rejected.
If verification takes too long, mail is temporaryly rejected and sending client will retry later.
2017-12-04 22:02:33 +01:00
rageOS
59766d289e
Fix for relayed Domains
2017-12-04 19:57:51 +01:00
kaiyou
e625bc9adb
Update the milter port on Postfix
2017-11-05 17:36:13 +01:00
kaiyou
1d9b3b00a7
Use rspamd as a milter service instead of deprecated rmilter
2017-11-05 16:54:23 +01:00
kaiyou
689be5f2d9
Move all directories per theme
2017-11-01 12:11:04 +01:00