Re: Sendmail Question [OT]

2008-07-18 Thread Duane Hill

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]

2008-07-18 Thread Andrzej Adam Filip
Marc Perkel [EMAIL PROTECTED] 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.

-- 
[plen: Andrew] Andrzej Adam Filip : [EMAIL PROTECTED] : [EMAIL PROTECTED]
It is a wise father that knows his own child.
  -- William Shakespeare, The Merchant of Venice


RE: Sendmail Question [OT]

2008-07-18 Thread Anthony Kamau
 -Original Message-
 From: Marc Perkel [mailto:[EMAIL PROTECTED]
 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