From 4cb00ec2a3a8cb7165d6c90d3cfd36b8d11656d9 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 6 Jul 2012 10:49:11 +0000 Subject: [PATCH] fix #101 ungetestet --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 2140fce..5bf4ba0 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -137,7 +137,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { private ShellProcessor createHiveEMailRemoveProcessor(String domName) { return new ShellProcessor( - "postmap -d '" + domName + "' /etc/postfix/virtual || " + + "postmap -d '" + domName + "' /etc/postfix/virtual && " + "for KEY in $(postmap -s /etc/postfix/virtual|grep '@" + domName + "\\s'|cut -f1); " + "do postmap -d $KEY /etc/postfix/virtual; done" );