Comments (3)
If you're in need of a development SMTP server, may I suggest Sendria, MailHog or MailCatcher?
from docker-postfix.
Thank you for the hint, we may use MailHog for real mail testing functionality.
However what we want is not exactly what development SMTPs (Sendria, MailHog, MailCatcher) currently offer.
We want to white list target domains, so any other mails should not leave the company.
This is somehow possible with postfix, because there is already ALLOWED_SENDER_DOMAINS parameter.
I just cannot find something like ALLOWED_RECEPIENT_DOMAINS.
Kind regards
from docker-postfix.
Sorry,
this kind of functionality is outside of the scope of this image. This, however, might be supported by Postfix itself and you can influence it either by setting POSTFIX_<name>
variables and/or putting your init scripts into a /docker-init.db
directly.
I suggest you look at:
- https://serverfault.com/questions/355972/is-it-possible-to-limit-outgoing-emails-in-postfix-to-one-specific-domain
- http://www.postfix.org/SMTPD_ACCESS_README.html
- http://www.postfix.org/postconf.5.html#smtpd_client_restrictions
and/or ask with your local devops/Linux groups.
from docker-postfix.
Related Issues (20)
- README - Incorrect UID/GID in Security HOT 1
- Rebuild alpine images HOT 1
- Docker healthcheck reports unhealthy due to syntax error HOT 1
- Permission problems HOT 8
- Not able to get the smtp-relay pod in ready state HOT 5
- Would want to use regex to do fancy masquerading HOT 4
- 530 when relaying through AWS SES HOT 2
- SASL authentication failure: No worthy mechs found HOT 2
- Log files are overflowing with milter messages HOT 1
- Can't create monitor on some nodes HOT 1
- Deployment doesn't use RELAYHOST for delivery HOT 4
- [Feature] Set healthcheck port in configuration options HOT 2
- Gmail not working? HOT 3
- /etc/default/locale: No such file or directory by cron calls HOT 2
- Using GMail as Relay: Way to generate tokens in README not working anymore HOT 1
- SASL passwords are created with the container's hostname as domain HOT 10
- prometheus without k8s HOT 1
- Relaying through Mailgun for multiple domains and username/passwords HOT 1
- Rootless postfix? HOT 1
- Helm upgrade from 4.1.0 to 4.2.0 failing: mapping key "name" already defined HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-postfix.