From 95b5fbd56f7cbcda7f662db0cd010ad6a4a67632 Mon Sep 17 00:00:00 2001 From: Michael Hierweck Date: Tue, 23 Oct 2012 21:44:36 +0200 Subject: [PATCH] Postfix aliases database moved to /etc/postfix-mailin/aliases. --- .../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"); } }