Use port 225 instead of 25 for smtp transport from mailin servers to

hives.
This commit is contained in:
Michael Hierweck 2012-08-16 17:38:00 +02:00
parent b9f140d19d
commit c679a19c03
2 changed files with 4 additions and 4 deletions

View File

@ -184,8 +184,8 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
domName + " anything\n" + domName + " anything\n" +
"." + domName + " anything\n"), "." + domName + " anything\n"),
new ShellProcessor("postmap -r -i /etc/postfix-mailin/transport", new ShellProcessor("postmap -r -i /etc/postfix-mailin/transport",
domName + " smtp:[" + pac.getName() + ".hostsharing.net]\n" + domName + " smtp:[" + pac.getName() + ".hostsharing.net]:225\n" +
"." + domName + " smtp:[" + pac.getName() + ".hostsharing.net]\n") "." + domName + " smtp:[" + pac.getName() + ".hostsharing.net]:225\n")
); );
} }

View File

@ -85,8 +85,8 @@ public class EMailAddressProcessorFactory implements EntityProcessorFactory {
private Processor createMailinSetupProcessor(String domName, String pacName) { private Processor createMailinSetupProcessor(String domName, String pacName) {
return return
new ShellProcessor("postmap -r -i /etc/postfix-mailin/transport", new ShellProcessor("postmap -r -i /etc/postfix-mailin/transport",
domName + " smtp:[" + pacName + ".hostsharing.net]\n" + domName + " smtp:[" + pacName + ".hostsharing.net]:225\n" +
"." + domName + " smtp:[" + pacName + ".hostsharing.net]\n"); "." + domName + " smtp:[" + pacName + ".hostsharing.net]:225\n");
} }
private Processor createMailinDeleteProcessor(String domName) { private Processor createMailinDeleteProcessor(String domName) {