> -----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
