Skip to content

Commit b84a6d9

Browse files
author
Milan Karalic
committed
Extending config.pp to add support for inet interfaces settings.
1 parent 735f973 commit b84a6d9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Real World Configuration:
6464
content_filter => 'amavis:[127.0.0.1]:10024',
6565
disable_vrfy_command => 'yes',
6666
import_environment => 'MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C RESOLV_MULTI=on',
67+
inet_interfaces => 'all',
6768
mail_spool_directory => '/var/mail',
6869
mailbox_size_limit => '100000000',
6970
message_size_limit => '60485760',

manifests/config.pp

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
$disable_vrfy_command = undef,
2121
$home_mailbox = undef,
2222
$import_environment = undef,
23+
$inet_interfaces = undef,
2324
$mailbox_size_limit = undef,
2425
$mail_spool_directory = undef,
2526
$message_size_limit = undef,
@@ -112,6 +113,8 @@
112113

113114
postfix::config::maincfhelper { 'import_environment': value => $import_environment }
114115

116+
postfix::config::maincfhelper { 'inet_interfaces': value => $inet_interfaces }
117+
115118
postfix::config::maincfhelper { 'mailbox_size_limit': value => $mailbox_size_limit }
116119

117120
postfix::config::maincfhelper { 'mail_spool_directory': value => $mail_spool_directory }

0 commit comments

Comments
 (0)