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,'.
However, the regular expression didn't allow this value.
parent de609e76
......@@ -31,7 +31,7 @@ class postfix::mta (
validate_re($relayhost, '^\S+$',
'Wrong value for $relayhost')
validate_re($mydestination, '^\S+$',
validate_re($mydestination, '^\S+(?:,\s*\S+)*$',
'Wrong value for $mydestination')
validate_re($mynetworks, '^\S+$',
'Wrong value for $mynetworks')
Supports Markdown
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