Comments (9)
@lelutin if the module was a new one, I'd say we should be as close as possible to the OS standard. However because this module already has a history which is to set chroot to false by default, I think we should keep it backwards-compatible.
from puppet-postfix.
So you're suggesting we should use false for Ubuntu 16.04?
from puppet-postfix.
i honestly don't know
it's really complicated, or, else depends on whether you wanna keep compatibility with the module or the software
from puppet-postfix.
Yes. I'd rather the module behave in a standard manner as much as possible.
from puppet-postfix.
Maybe you could include PR #170 that adds a parameter to configure chroot. If you leave it undefined, the it uses the software default (-
in master.cf ) but you could also force it to true (y
) or false (n
).
But the PR is failing because of problems, I think that not directly related with the PR, building ubuntu machines for CI.
from puppet-postfix.
@igalic would #224 fix this bug?
from puppet-postfix.
hello! from what I can see, #224 changes the default value of $chroot
to false for all distributions.
debian uses chrooted daemons by default (which postfix upstream is not too happy about, but that's another story)
so the solution here depends on you goals towards how things are managed:
if you'd like for the puppet module to have default settings that are as close as possible to distro defaults, then you could special-case the value of the $chroot
parameter in the params class.
however, if you want to simplify and/or standardize how the module manages default configuration, then #224 does this well.
In all cases, the undef
value to $chroot
seems useless after the change, so it'd probably be nice to add a deprecation warning and remove it at some later point to keep only 'y' and 'n' as possible values.
from puppet-postfix.
@raphink this makes a lot of sense!
from puppet-postfix.
Merged #224 which makes all chroot options default to false as it's always been in this module.
from puppet-postfix.
Related Issues (20)
- Module fails with blank mydestination on a satellite HOT 8
- v3.0.0 has unmentioned deps HOT 1
- Docs unclear on "relayhost"'s "direct" value HOT 1
- virt advice is wrong
- TLS settings not reflecting on some of the servers in main.cf HOT 3
- canonical map doesn't accept underscores in destination address HOT 5
- virtual maps not permitted to have multiple recipients by Augeas lens HOT 3
- [3.1.0] Add support to puppet 8 HOT 1
- [3.1.0] Add support for RHEL9 HOT 6
- [4.0.0.] support puppet-alternatives > 5.0.0 HOT 1
- Mynetworks value in init.pp is not applied HOT 2
- 4.0.0+: not possible to construct a valid dependency tree due to dependency on camptocamp/augeas HOT 2
- support smtpd_forbid_bare_newline to mitigate smtp smuggling HOT 1
- postfix::transport ignores destination if nexthop includes []
- maillog configuration? HOT 4
- Add possibility to specify a template for main.cf HOT 1
- Please add support for Ubuntu 24.04 HOT 3
- Doc: link to metadata.json is broken
- missing postfix-ldap rpm on RHEL8+ distro
- Searching for a possibility the just delete ALL OTHER config entries and only keep the ones I defined.
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 puppet-postfix.