Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 07:49:00 PM

Pages: [1]   Go Down
  Print  
Author Topic: Alternate SMTP Port  (Read 1004 times)
Eric B.
Newbie
*
Offline Offline

Posts: 5


« on: April 29, 2006, 08:36:45 PM »

I'd like to configure my smtp server to listen on an alternate port, but I can't see how to do this in Webmin. Is it in the Sendmail settings? Postfix?

thanks

-e
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1395



« Reply #1 on: April 29, 2006, 11:59:27 PM »

Hi Eric,

Sendmail runs on fresh installed server by default, so you will need to adjust sendmail settings. Edit /etc/mail/sendmail.mc and add:

Code:
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl

after the "DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl" line.

As noted in the comments of sendmail.mc, this will cause sendmail to additionally listen to port 587 for connections from clients.

You will need to issue "make -C /etc/mail" after editing, and "service sendmail restart"
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: