Comments (7)
That more of less makes sense if you ask me. As smtp_sasl_auth_enable
also needs to end up with yes
in your main.cf. And for that to happen you indeed need to set/override it to yes
from postfix.
Let me put it another way, if you don't explicitly set smtp_sasl_auth_enable or set it to 'no'; what is the expected behaviour? Right now; the behaviour is You must supply a name when declaring a template resource
and the recipe fails to cook.
from postfix.
Well... Personally I don't see why you would want to include the sasl_auth
recipe in a nodes runlist, while not having configured the accompanying attributes accordingly.
Of course there could (and maybe should) be a check/guard around the recipe that checks if you are trying to configure your postfix to use sasl auth (e.g. you have smtp_sasl_auth_enable=yes
in your main.cf by setting the attribute accordingly), and if not will skip the defined resources.
But still it wouldn't make much sense to call the sasl_auth
recipe if you don't enable sasl auth for postfix in your main.cf... Then why run the recipe in the first place?
Or am I totally missing something here? Not a postfix guru, so maybe you know something I don't?
from postfix.
The following code in a wrapper cookbook will cause this error:
node.set['postfix']['main']['smtp_sasl_auth_enable'] = "yes"
include_recipe "postfix"
from postfix.
This bit me, too. The only way I could get it to compile is to set the node.postfix.sasl_password_file attribute in my wrapper cookbook:
default['postfix']['sasl_password_file'] = "#{node['postfix']['conf_dir']}/sasl_passwd"
This cookbook used to work in my old hosted chef repo. Not sure what's going on now.
from postfix.
ive done several testing and this issue looks to be resolved by commit 489bfaa, @CloCkWeRX please close this.
from postfix.
Closing this out since @chasebolt reports it has been fixed
from postfix.
Related Issues (20)
- Build failing on master? HOT 1
- Support regexp Postfix lookup table HOT 2
- Documentation error on readme: inet-interfaces HOT 1
- Using node.default_unless instead of node.default in _attributes not updated in supermarket HOT 1
- Request: Ability to disable ipv6 HOT 6
- Any reason for no metadata.rb?
- Adding full mailaddress as alias-target is not working HOT 1
- "use_relay_restrictions_maps" misspelt in recipes HOT 4
- `use_relay_restrictions_maps` makes converge fail HOT 2
- Custom Resource HOT 3
- New release to supermarket HOT 2
- Allow setting message_size_limit HOT 1
- postfix tls problem HOT 2
- sasl passwd problems with 5.3.0 HOT 7
- postfix 3.3.0 and a relayhost HOT 5
- Using this cookbook to provision docker containers fails when attempting to do the service start/restart HOT 3
- Not able to set 'smtp_generic_map_entries' in postfix HOT 3
- Postfix not reloaded/restarted after postmap resource for virtual aliases; causes mail delivery problems HOT 3
- SASL packages are hard coded HOT 2
- Dependency Dashboard
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 postfix.