-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
en-/disable domain in mydestination #53
base: master
Are you sure you want to change the base?
Conversation
@kossmac isn't it possible to just set mydestination in pillar to achieve the same thing
|
yes, you're right, but i do have to write redundant pillar data to every system i manage |
Maybe you can make it generic with jinja like:
This is something I use for some email address rewriting to avoid this copy/paste as well. |
This should be re-opened We just noticed this issue on a system that just happened to need to send to `something@[hostdomain] Normally systems with default postfix config are just setup to get mail out to some monitoring address for cron failures, etc, and that's usually a 3rd party address from the managed system, so we only noticed it now. I can't think of a good reason why the 'default' handling needs to be If the server is going to be a full SMTP Inbound system, you are probably going to have a much deeper pillar configuration. I can't think of a good reason why the 'default' unconfigured state should have the The Postfix defaults (from the manual) are : One should have to go out of their way to set a value different than the postfix default, with this formula. |
@kti-richard Your are raising a good point. :-) I'd rather drop |
Our team would be happy with @alxwr 's recommendation of just following the postfix default. Do we need a new PR for this ? |
@kti-richard I'd do it myself, but haven't got the time to do it. Please submit a PR! :-) |
If I setup a server with hostname subdomain.example.com example.com is configured in postfix' mydestination so that every mail addressed to [email protected] is sent to local postfix.