Am 06.09.2011 12:29, schrieb Patrick Ben Koetter:
You can offer a different SASL policy on a different port on the Postfix
server side.
Clone the "smtp ... smtpd" service line and configure it to listen on a
different port e.g. 2525. Then add "-o
smtpd_sasl_security_options=noanonymous" and let the java client connect
there. Use a firewall to control access to that port.
I've thought of that too, but: not possible, as the software does not
allow connecting anywhere else but port 25 for mail relay. ;-)
If I don't find the time to try and patch Postfix to offer this
functionality, I'll probably attach an additional IP to the relay system
which is then firewalled to allow only connections from the "local"
subnet, and attach an additional smtpd process to that specific IP on
port 25, which should work.
Thanks!
--
--- Heiko.