Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can Sendmail Listen to multiple ports???

Status
Not open for further replies.

jonnybb1

Technical User
Oct 25, 2000
89
US
I have thelatest download from Redhat (RH9) with all the patches.

I am using an outside email forwarder because my ISP blocks port 25, 23, 80...

I am also using Webmin to administer the Linux box.

Can anyone tell me how to tell Sendmail to listen on ports 25 & 2525 at the same time. By the way, traffic on this box is minimal, except for the spam!!

Johnnyb
 
IN the sendmail.cf file look for "SMTP daemon options"

You will see

O DaemonPortOptions=Name=MTA
O DaemonPortOptions=Port=587, Name=MSA, M=E

just change 587 to 2525.

give it a try it might work.
 
Yes, that is what I already did. I also need to listen to port 25 and 2525 so other internal notifications to the Linux box (on port 25) will work and I can receive incoming mail (on port 2525) since the ISP blocks port 25.

Thanx,

John
 

you must be create sendmail.cf in other name and change config line
O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTAge
to
O DaemonPortOptions=Port=xxxx,Addr=0.0.0.0, Name=MTAge
and start sendmail with command line
#sendmail -Cpath/to/newconfig -bd -q30m



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top