[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Sendmail reroute



At 17:00 23-06-2001 -0400, you wrote:
On Sat, 23 Jun 2001, A.J. Werkman wrote:

> Does anyone know if and how it is possible to have sendmail not talk to
> port 25 but to let's say 2525??
>
> Koos

Make sure these lines are in your /etc/sendmail.mc file:

DAEMON_OPTIONS(`Port=25,Addr=127.0.0.1, Name=MTA')
DAEMON_OPTIONS(`Port=2525, Name=MTA')

Then rebuild your /etc/sendmail.cf by running the commands:

# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
# service sendmail restart

This will allow programs running locally on your mail server to use port
25 to send mail out, but will only allow inbound connections on port
2525. I tested this here, so I know it works.

Sorry for not being clear enough, but I was looking the other way around.


I am confronted with a mail relay that accepts mail connections for the local network only on port 2525. So I was wondering how I can sendmail on my box have mail send to the relay at 2525?

Koos





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]