Coder Social home page Coder Social logo

mswart / chef-postfix-full Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 8.0 262 KB

Chef cookbook to setup and manage a postfix instance, it is designed for administrators who needs the full control about postfix

License: Apache License 2.0

Ruby 100.00%

chef-postfix-full's People

Contributors

cmur2 avatar mburns avatar mswart avatar zuazo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chef-postfix-full's Issues

mysql password shown in plain text in logs

When I try to make a couple of tables with the cookbook. I see that the for a password in the tables content it shows in plain text.
Can you add the 'sensitive true' parameter in the file resources in the 'libraries/tables.rb'

Thanks

recipe.file params['file'] do
        content content
        user params['user']
        group params['group']
        mode params['mode']
        sensitive true
        notifies :run, "execute[#{execute_name}]"
end

and

recipe.file params['file'] do
        content config.content
        user params['user']
        group params['group']
        mode params['mode']
        sensitive true
end

Disable default service in master.cf

Hello, there is a way to disable a default service? I need to make Postfix use a outgoing non standard port due to limitation of the network in which the server will be, and I'd like to disable smtp on port 25 ( because cannot be used ).

Making postfix listen on specific port has been easy:

"postfix": {
    "master": {
      "inet:20100": {
        "private": false,
        "command": "smtpd"
      }
    }
  }

I didn't find a way to disable smtp on port 25. I tried

"postfix": {
    "master": {
      "inet:smtp": null
    }
  }

but is not working.

There is a way to prevent this recipe from adding line smtp inet n - - - - smtpd in the master.cf file?

Thank you.

_mode does not apply to postmap output

Using a mode of 00600 to prevent world readable passwords in input files like smtp_sasl_password_maps, the input file is correctly mapped but the output of postmap remains at 00644 which defeats the original intentions of keeping the file private.

The bundle in the Opscode repository is missing a file suffix

The tarball in the Opscode repo has a file extension of .tar, but it's a bzipped tarball, and should have an extension of either .tar.bz2 or .tbz2. As it stands, it breaks filetype detection, and causes Berkshelf to explode a little bit because it can't be extracted as a regular tar.

Verify correctness of default services

Currently the cookbooks uses ubuntu's master.cf as default service definition. But the comments looks like that ubuntu has patched postfix and that the default service may not work correctly on other distros.

Support managing of additional postfix packages

At least ubuntu and debian splits postfix into multiple packages. e.g to have ldap_table support the package postfix-ldap is needed.
The cookbook should extract which tables are needed and installing the packages which provides them or at least allow defining which packages should be installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.