fix #101 ungetestet

This commit is contained in:
Peter Hormanns 2012-07-06 10:49:11 +00:00
parent 88dff73e4a
commit 4cb00ec2a3

View File

@ -137,7 +137,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
private ShellProcessor createHiveEMailRemoveProcessor(String domName) { private ShellProcessor createHiveEMailRemoveProcessor(String domName) {
return new ShellProcessor( 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); " + "for KEY in $(postmap -s /etc/postfix/virtual|grep '@" + domName + "\\s'|cut -f1); " +
"do postmap -d $KEY /etc/postfix/virtual; done" "do postmap -d $KEY /etc/postfix/virtual; done"
); );