Sendmail Question [OT]

View: New views
4 Messages — Rating Filter:   Alert me  

Sendmail Question [OT]

by Marc Perkel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just a quick sendmail question I'm asking for a friend. If they want to
make sendmail listen on port 2525 instead of 25 - what do they meed to
change? Email me privately off list.

Thanks in advance


Re: Sendmail Question [OT]

by Duane Hill-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 18 Jul 2008, Marc Perkel wrote:

> Just a quick sendmail question I'm asking for a friend. If they want to make
> sendmail listen on port 2525 instead of 25 - what do they meed to change?
> Email me privately off list.
>
> Thanks in advance

Google for:

   "sendmail" +alternate port

Very first link that came up.

-d

Re: Sendmail Question [OT]

by Andrzej Adam Filip-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marc Perkel <marc@...> wrote:

> Just a quick sendmail question I'm asking for a friend. If they want
> to make sendmail listen on port 2525 instead of 25 - what do they meed
> to change? Email me privately off list.
>
> Thanks in advance

By default sendmail accepts SMTP connections also on port 587.

Port 587 is intended for MUA->MTA communication unlike port 25 intended
for MTA->MTA communication.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@... : anfi@...
It is a wise father that knows his own child.
  -- William Shakespeare, "The Merchant of Venice"

RE: Sendmail Question [OT]

by Anthony Kamau-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: Marc Perkel [mailto:marc@...]
> Sent: Saturday, 19 July 2008 5:14 AM
> To: Spamass
> Subject: Sendmail Question [OT]
>
> Just a quick sendmail question I'm asking for a friend. If they want to
> make sendmail listen on port 2525 instead of 25 - what do they meed to
> change? Email me privately off list.
>
> Thanks in advance

You can also leave sendmail as it is and on the firewall, drop packets going
to port 25 and redirect traffic on port 2525 to port 25 on the machine
running sendmail:

iptables -A FORWARD -p tcp --dport smtp -j DROP
iptables -t nat -A PREROUTING -p tcp --dport 2525 -j DNAT --to-destination
server:25