Commit d7991b52 authored by Lienhart Woitok's avatar Lienhart Woitok
Browse files

$mydestination should allow comma separated values

According to the example given in manifests/mta.pp,
$mydestination should allow '$myorigin, myapp.example.com'.
However, the regular expression didn't allow this value.
parent de609e76
...@@ -31,7 +31,7 @@ class postfix::mta ( ...@@ -31,7 +31,7 @@ class postfix::mta (
validate_re($relayhost, '^\S+$', validate_re($relayhost, '^\S+$',
'Wrong value for $relayhost') 'Wrong value for $relayhost')
validate_re($mydestination, '^\S+$', validate_re($mydestination, '^\S+(?:,\s*\S+)*$',
'Wrong value for $mydestination') 'Wrong value for $mydestination')
validate_re($mynetworks, '^\S+$', validate_re($mynetworks, '^\S+$',
'Wrong value for $mynetworks') 'Wrong value for $mynetworks')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment