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" );