HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-11-20 8b8d7db7e7c96dd54988337c91c3b05e36da119a
inserted linebreak
1 files modified
3 ■■■■ changed files
hsarback/src/de/hsadmin/mods/email/EMailAddressProcessorFactory.java 3 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/email/EMailAddressProcessorFactory.java
@@ -57,7 +57,8 @@
        WaitingTasksProcessor waitingTasksProcessor = new WaitingTasksProcessor(cp);
        for (String queueName : config.getProperty("queues.mail").split(",")) {
            waitingTasksProcessor.appendProcessor(queueName, 
                    new ShellProcessor( "postmap -d '" + email.getEMailAddress() + "' /etc/postfix-mailin/relayrecipients" ), "Remove from relayrecipients" );
                new ShellProcessor( "postmap -d '" + email.getEMailAddress() + "' /etc/postfix-mailin/relayrecipients" ),
                    "Remove from relayrecipients" );
        }        
        int emailAddressCount = emailAddressCount(em, email);
        if (emailAddressCount == 0) {