Closed sandynomad closed 1 year ago
destination => 'name2@example.domain, name3@example.domain'
That does not look like a valid e-mail address. I guess you want:
postfix::virtual { 'name@example.domain':
ensure => present,
destination => [
'name2@example.domain',
'name3@example.domain',
],
}
Please reopen if this does not fix your issue.
Hi Smortex,
Thanks - this does fix the issue. Looking at the REFERENCE.md this is obvious.
However the information at https://forge.puppet.com/modules/puppet/postfix/readme appears to be misleading in the case of multiple targets:
destination
A string defining where the e-mails will be delivered to, (virtual(8)). Default: Undefined. Example: 'root'
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
/etc/postfix/virtual updated with:
Output log
As above.
Any additional information you'd like to impart
None.