Commit Graph

210 Commits (d0631558c741f6949087a197a9b4a57e5b20547c)

Author SHA1 Message Date
Ionut Filip 1187cac5e1 Finished up switching from .sh to .py
Tim Möhlmann 2d382f2d67
Merge branch 'master' into fix-sender-checks
Ionut Filip eb7dfb5771 Cleaning up start.py
Thomas Sänger 603b6e7390
Merge pull request from usrpro/fix-nginx-healthcheck
Fix nginx healthcheck
Tim Möhlmann 81b24f61e8
Merge branch 'master' into feat-healthchecks
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)
kaiyou 1fcaef7c7e
Merge branch 'master' into fix-sender-checks
mergify[bot] 118ea0f3fb
Merge pull request from ofthesun9/feature-swarm
Enabling swarm deployment on master branch
Thomas Sänger a412951a30
simpler healthcheck for postfix
Thomas Sänger 1fc40bf932
add healthcheck for postfix
kaiyou f647d1a0bc Merge branch 'master' into fix-sender-checks
kaiyou 5035975c41 Remove Postfix debugging
kaiyou 10ec2f999a Another (embarrassing) fix for a merge typo
kaiyou 2e1aa079c1 Fix one (hopefully) last merge typo
kaiyou 4b9dbf00a8 Fix yet another merge-time typo
kaiyou e8e133b53d Fix a merge typo in postfix build
kaiyou 00b5ae11db
Merge branch 'master' into feat-abstract-db
ofthesun9 13146be57e Merge branch 'master' into feature-swarm
kaiyou 8b189ed145 Separate senderaccess and senderlogin maps
ofthesun9 74796201ec Merge branch 'master' into feature-swarm
kaiyou fc99eb7b34 Re-enable sender access check to prevent source spoofing
kaiyou f3f0b98755 Fix relay restrictions so email gets delivered correctly
Tim Möhlmann 0817629869
Increase attempts as it failed on fresh Swarm host
Tim Möhlmann 16469d7282
Upgrade to newer pip version
Tim Möhlmann 1bae5968ad
Import tenacy and fix syntax errors
Tim Möhlmann c457ccfa60
Use tenacity for resolver retries
Tim Möhlmann d6c386651d
Merge branch 'master' into fix-swarm-start
ofthesun9 09d77bc2de Handle the case where the variable REJECT_UNLISTED_RECIPIENT is not set
ofthesun9 cc17962c86 fixes
kaiyou 2cba045013 Explicitely declare required volumes, fixes
kaiyou f5668dea51 Handle relays as virtual transports through podop
kaiyou 43b6547e1c Lower the loglevel of podop
kaiyou 6d088504bd Adjust podop debug level based on environment
kaiyou 697caaab81 Update podop access and mail restrictions
kaiyou 7143fb8c47 Implement some basic views for podop
kaiyou 39cd0d5034 Upgrade to alpine 3.8 for smtp and imap
kaiyou 68aa797720 Merge branch 'master' into feat-abstract-db
kaiyou 73ca5fb3d3 Provide a more generic skeletton for postfix virtual lookups
ofthesun9 23e288aadc Enabling swarm deployment on master branch:
-Extends the usage of POD_ADDRESS_RANGE
-Provides documentation
Tim Möhlmann cc8e15748b Retry 10 times when resolving fails in start.py scripts
kaiyou f506966abc Pin Alpine 3.7 to preserve the Postfix version
Tim Möhlmann 9350bb9b9a Use fixed alpine:3.7 tag to prevent postix upgrade
Pierre Jaury c04e58498d Remove unused postfix sqlite files
Pierre Jaury bb73933e1e Switch postfix to Podop
Pierre Jaury 82e738cc53 Remove the old code of postproxy
Pierre Jaury 2b2ab864d1 Add support for querying the table in Dovecot proxy
Pierre Jaury 70175f8c28 Add postproxy support for Dovecot dict protocol
Pierre Jaury 262e82a367 Add a postfix socketmap to http proxy
Pierre Jaury e543477c2e Revert "Only enable milter for incoming emails"
This reverts commit cfd233039e.
Pierre Jaury cfd233039e Only enable milter for incoming emails
Pierre Jaury 1b0b3a2b1e Only check login mismatch for authenticated users, fixes
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose
kaiyou d1dbba2d3a Add expose instructions in Dockerfiles, fixes
Caleb Johnson b58dcfb511
Add support for sending from alternative domains
See 
Marcus Ripkens 7375134474
Update main.cf
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.
rageOS 59766d289e
Fix for relayed Domains
kaiyou e625bc9adb Update the milter port on Postfix
kaiyou 1d9b3b00a7 Use rspamd as a milter service instead of deprecated rmilter
kaiyou 689be5f2d9 Move all directories per theme