-> as in template
This commit is contained in:
parent
e775f510cd
commit
000ec536a0
2 changed files with 6 additions and 6 deletions
2
README
2
README
|
@ -6,7 +6,7 @@ A couple of classes will preconfigure postfix for common needs.
|
||||||
|
|
||||||
Config
|
Config
|
||||||
------
|
------
|
||||||
- set $postfix_amavis="true" to include postfix::amavis
|
- set $postfix_use_amavisd="true" to include postfix::amavis
|
||||||
|
|
||||||
== Example:
|
== Example:
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
# delivery and an SMTP server listening on the loopback interface.
|
# delivery and an SMTP server listening on the loopback interface.
|
||||||
#
|
#
|
||||||
# Parameters:
|
# Parameters:
|
||||||
# - *$postfix_ng_smtp_listen*: address on which the smtp service will listen to. defaults to 127.0.0.1
|
# - *$postfix_smtp_listen*: address on which the smtp service will listen to. defaults to 127.0.0.1
|
||||||
# - *$root_mail_recipient*: who will recieve root's emails. defaults to "nobody"
|
# - *$root_mail_recipient*: who will recieve root's emails. defaults to "nobody"
|
||||||
#
|
#
|
||||||
# Example usage:
|
# Example usage:
|
||||||
#
|
#
|
||||||
# node "toto.example.com" {
|
# node "toto.example.com" {
|
||||||
# $postfix_ng_smtp_listen = "192.168.1.10"
|
# $postfix_smtp_listen = "192.168.1.10"
|
||||||
# include postfix
|
# include postfix
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
|
@ -41,9 +41,9 @@ class postfix {
|
||||||
"": { $root_mail_recipient = "nobody" }
|
"": { $root_mail_recipient = "nobody" }
|
||||||
}
|
}
|
||||||
|
|
||||||
case $postfix_amavis {
|
case $postfix_use_amavisd {
|
||||||
"": { $postfix_amavis = "false" }
|
"": { $postfix_use_amavisd = "no" }
|
||||||
"true": { include postfix::amavis }
|
"yes": { include postfix::amavis }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue