Changeset - 226b5faf3e5a
[Not reviewed]
0 1 1
Branko Majic (branko) - 9 years ago 2015-08-31 23:35:01
branko@majic.rs
MAR-19: Simplified the mail forwarder role by making some of the parameters optional.
2 files changed with 8 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/rolereference.rst
Show inline comments
 
@@ -840,17 +840,17 @@ Postfix is configured as follows:
 
Parameters
 
~~~~~~~~~~
 

	
 
**local_mail_aliases** (dictionary, mandatory)
 
**local_mail_aliases** (dictionary, optional, ``[]``)
 
  Dictionary defining the local aliases. Aliases defined this way will either be
 
  appended to default aliases on the server, or replace the existing entries (if
 
  the alias/recipient is already present). Keys in the dictionary are the local
 
  recipients/aliases, while the value provided should be a space-separated list
 
  of mail addresses (or local users) where the mails should be forwarded.
 

	
 
**smtp_relay_host** (string, mandatory)
 
**smtp_relay_host** (string, optional, ``None``)
 
  SMTP server via which the mails are sent out for non-local recipients.
 

	
 
**smtp_relay_truststore** (string, mandatory)
 
**smtp_relay_truststore** (string, optional, ``/etc/ssl/certs/truststore.pem``)
 
  Path to the file containing full X.509 CA certificate chain used for
 
  validating the server certificate presented by the relay server.
 

	
roles/mail_forwarder/defaults/main.yml
Show inline comments
 
new file 100644
 
---
 

	
 
local_mail_aliases: []
 
smtp_relay_host: ""
 
smtp_relay_truststore: "/etc/ssl/certs/truststore.pem"
 
\ No newline at end of file
0 comments (0 inline, 0 general)