Skip to content

Latest commit

 

History

History
105 lines (99 loc) · 2.42 KB

README.md

File metadata and controls

105 lines (99 loc) · 2.42 KB

fetchmail Cookbook

Install fetchmail using the system package and configure

Requirements

Plataforms:

  • Debian
  • Ubuntu

Attributes

fetchmail::default

Attribute Description Default
node['fetchmail']['timeout'] Interval to check for email 20
node['fetchmail']['invisible'] Toggle invisible option true
node['fetchmail']['no_bouncemail'] Toggle no bouncemail option true
node['fetchmail']['syslog'] Use syslog true
node['fetchmail']['logfile'] Change log file location nil
node['fetchmail']['fetches'] A list of emails to fetch, see below options []
node['fetchmail']['fetches'][]['server'] Email server domain mail.domain.com
node['fetchmail']['fetches'][]['protocol'] Which protocol to use pop3
node['fetchmail']['fetches'][]['username'] Username to login [email protected]
node['fetchmail']['fetches'][]['password'] Password to login a1b2c3
node['fetchmail']['fetches'][]['mda'] Command to execute in MDA format echo
node['fetchmail']['fetches'][]['no_keep'] Don't keep emails on the server false

Usage

fetchmail::default

Just include fetchmail in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[fetchmail]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

After 3 consistent patches you become a commiter :)