fix #101 ungetestet
This commit is contained in:
parent
88dff73e4a
commit
4cb00ec2a3
@ -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"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user