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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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')