From a7a0263ed3690ebe0347231811717e2ebf418941 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 30 Oct 2012 10:43:37 +0100 Subject: [PATCH] aliases in postfix-mailin --- .../de/hsadmin/mods/email/EMailAliasProcessorFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/email/EMailAliasProcessorFactory.java b/hsarback/src/de/hsadmin/mods/email/EMailAliasProcessorFactory.java index 6a2f47e..401ce32 100644 --- a/hsarback/src/de/hsadmin/mods/email/EMailAliasProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/email/EMailAliasProcessorFactory.java @@ -20,7 +20,7 @@ public class EMailAliasProcessorFactory implements EntityProcessorFactory { public Processor createCreateProcessor(EntityManager em, T entity) { EMailAlias alias = (EMailAlias) entity; - return new ShellProcessor("postalias -r -i /etc/postfix/aliases", + return new ShellProcessor("postalias -r -i /etc/postfix-mailin/aliases", alias.getName() + ": " + alias.getTarget()); } @@ -30,7 +30,7 @@ public class EMailAliasProcessorFactory implements EntityProcessorFactory { public Processor createUpdateProcessor(EntityManager em, T entity) { EMailAlias alias = (EMailAlias) entity; - return new ShellProcessor("postalias -r -i /etc/postfix/aliases", + return new ShellProcessor("postalias -r -i /etc/postfix-mailin/aliases", alias.getName() + ": " + alias.getTarget()); } @@ -41,6 +41,6 @@ public class EMailAliasProcessorFactory implements EntityProcessorFactory { T entity) { EMailAlias alias = (EMailAlias) entity; return new ShellProcessor( - "postalias -d '" + alias.getName() + "' /etc/postfix/aliases"); + "postalias -d '" + alias.getName() + "' /etc/postfix-mailin/aliases"); } }