Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkency/nullmailer-cookbook
https://github.com/arkency/nullmailer-cookbook
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arkency/nullmailer-cookbook
- Owner: arkency
- Created: 2013-03-07T17:30:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-06T09:06:55.000Z (over 8 years ago)
- Last Synced: 2023-03-25T10:38:10.947Z (over 1 year ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 3
- Watchers: 9
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Description
===========Installs and configures [nullmailer](http://untroubled.org/nullmailer/), simple relay-only mail transport agent.
Attributes
==========- `node['nullmailer']['mailname']`
Fully-qualified host name of the node running relay agent. Defaults to `node.fqdn`.
- `node['nullmailer']['remotes']`
A list of remote servers to which to send each message. Each element contains a remote host name or address followed by an optional protocol string, separated by white space. The protocol name defaults to smtp, and may be followed by command-line arguments for that module.
Examples:
```ruby
node['nullmailer']['remotes'] = ['1.2.3.4', 'host.domain smtp --port=2525 --user=user --pass=pass']
```
Possible command-line arguments:
- --port, set the port number of the remote host to connect to
- --user, set the user name to be used for authentication
- --pass, set the password for authentication
- --auth-login, use AUTH LOGIN instead of auto-detecting in SMTP
- --ssl, Connect using SSL (on port 465 instead) (1.10+)
- --starttls, use STARTTLS command (1.10+)
- --x509cafile, Certificate authority trust file (1.10+)
- --x509crlfile, Certificate revocation list file (1.10+)
- --x509fmtdef, X.509 files are in DER format (1.10+)
- --insecure, Do not abort if server certificate fails validation (1.10+)- `node['nullmailer']['adminaddr']`
Recipients to users on localhost or canonical host name (mailname) are remapped to this address. This allows local daemons to send emails to 'somebody@localhost' and have it go somewhere sensible instead of being bounced by your relay host.
License and Authors
===================Author:: Arkency
Copyright 2012, Arkency
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.