diff --git a/hsarback/src/de/hsadmin/mods/email/EMailAddressProcessorFactory.java b/hsarback/src/de/hsadmin/mods/email/EMailAddressProcessorFactory.java index 3f513a2..9fbc5cd 100644 --- a/hsarback/src/de/hsadmin/mods/email/EMailAddressProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/email/EMailAddressProcessorFactory.java @@ -30,7 +30,7 @@ public class EMailAddressProcessorFactory implements EntityProcessorFactory { } cp.appendProcessor(new ShellProcessor("postmap -r -i /etc/postfix-mailin/virtual || true", email.getEMailAddress() + " " + email.getTarget() + "\n")); - logger.log(Level.INFO, "Queue: virtual => create email address record"); + logger.log(Level.INFO, "Queue: virtual => create email address record (" + email.getEMailAddress()+ ")"); WaitingTasksProcessor waitingTasksProcessor = new WaitingTasksProcessor(cp); Config config = Config.getInstance(); for (String queueName : config.getProperty("queues.mail").split(",")) { @@ -38,7 +38,7 @@ public class EMailAddressProcessorFactory implements EntityProcessorFactory { new ShellProcessor("postmap -r -i /etc/postfix-mailin/relayrecipients || true", email.getEMailAddress() + " anything\n"), "Add to relayrecipients"); - logger.log(Level.INFO, "Queue: relayrecipients => create email address record for " + queueName + (" + email.getEMailAddress()+ ")); + logger.log(Level.INFO, "Queue: relayrecipients => create email address record for " + queueName + "(" + email.getEMailAddress()+ ")"); } return waitingTasksProcessor; } @@ -70,7 +70,7 @@ public class EMailAddressProcessorFactory implements EntityProcessorFactory { new ShellProcessor("postmap -d - /etc/postfix-mailin/relayrecipients || true", email.getEMailAddress() + "\n"), "Remove from relayrecipients"); - logger.log(Level.INFO, "Queue: relayrecipients => remove email address record for " + queueName + (" + email.getEMailAddress()+ ")); + logger.log(Level.INFO, "Queue: relayrecipients => remove email address record for " + queueName + "(" + email.getEMailAddress()+ ")"); } return waitingTasksProcessor; }