How to receive incoming mail on port xxx, outgoing mail on port 25?
Hello,
I posted this question before, but no success yet. I'm using Exim 4.42 on
Linux RH Fedora core (2.4.20-021stab022.2.777-smp).
Does anybody know, How Do I ..... ?
1. Receive mail on port 25 using a perl anti-spam SMTP daemon
(assp.sourceforge.net) - this part works ok
2. Relay good mail to Exim, which is listening on an unused port, and Exim
will not accept relaying from any other host.
3. Exim can SMTP out on port 25
I tried changing /etc/services from:
smtp 25/tcp mail
smtp 25/udp mail
to:
smtp 125/tcp mail
smtp 125/udp mail
and it worked perfectly to receive mail on port 125 except for one problem:
Exim sent mail out of port 125 too, making it incompatible with the rest of
the Internet. Christian Scmidt kindly recommended creating a transport, but
I was not able to get it working. Any ideas?
Thanks,
Chris
|