fix #84 (untested)
This commit is contained in:
parent
1fe212e809
commit
f3754d957b
@ -134,8 +134,10 @@ 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 || " +
|
||||||
"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"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Processor createDNSServerSetupProcessor(String domName,
|
private Processor createDNSServerSetupProcessor(String domName,
|
||||||
|
Loading…
Reference in New Issue
Block a user