Closed tuxmea closed 3 years ago
Also want to set set mydestination to ''.
I started adding a patch to allow mydestination
to be set to '' but then I found the blank
magic.
Following is I think a null client:
class{'postfix':
myorigin => 'example.ch',
mta => true,
mydestination => 'blank',
relayhost => '[mx.example.ch]'
root_mail_recipient => $root_email,
inet_interfaces => 'loopback-only',
}
where did you find it??
where did you find it??
The blank magic?
I found the special case when I was adding rspec tests.
https://github.com/camptocamp/puppet-postfix#postfixconfig
does have blank
in the docs. It is just not immediately obvious that blank is available
to the main class parameters until you look down a few levels.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
According to Postfix documentation the parameter
mydestination
should be set to no value (http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client)The module requires a string. See error message, when setting to an empty string: