diff options
-rwxr-xr-x | amavis/amavis.cf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amavis/amavis.cf b/amavis/amavis.cf index 1948da2..adb2d21 100755 --- a/amavis/amavis.cf +++ b/amavis/amavis.cf @@ -20,8 +20,8 @@ editfiles: # WarnIfNoLineMatching "^[[:blank:]]*\$mydomain[[:blank:]].*" LocateLineMatching "^[[:blank:]]*\$mydomain[[:blank:]].*" - BeginGroupIfNoLineMatching "^[[:blank:]]*\$mydomain[[:blank:]]*=[[:blank:]]*'$(domainname)'[[:blank:]]*" - ReplaceLineWith "$mydomain = '$(domainname)' # Edited by cfengine" + BeginGroupIfNoLineMatching "^[[:blank:]]*\$mydomain[[:blank:]]*=[[:blank:]]*'$(domainname)';[[:blank:]]*.*" + ReplaceLineWith "$mydomain = '$(domainname)'; # Edited by cfengine" EndGroup # # Make space for cfengine hacks near EOF |