fix #84 (untested)

This commit is contained in:
Peter Hormanns 2012-01-24 21:30:27 +00:00
parent 1fe212e809
commit f3754d957b

View File

@ -134,8 +134,10 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
private ShellProcessor createHiveEMailRemoveProcessor(String domName) {
return new ShellProcessor(
"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");
"do postmap -d $KEY /etc/postfix/virtual; done"
);
}
private Processor createDNSServerSetupProcessor(String domName,