LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2004, 03:02 AM   #1
mosherben
LQ Newbie
 
Registered: May 2004
Posts: 24

Rep: Reputation: 15
Question SMTP Port changing


Hi, basicly my ISP blocks port 25 but I want to send out email using my Red Hat 9 server. I know I have sendmail installed and I updated it via Up2Date but I want to change the SMTP port from 25 to anything else. Preferanbly, I would like to use Port 2525 since it is easy to remember. Any ideas how to do this?
Also, if this helps then I think I have sendmail.cf installed also.
 
Old 07-14-2004, 04:18 AM   #2
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Open up /etc/sendmail.cf
Find the line
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

and change Port=smtp to Port=2525

You probably need to change Addr to your external IP too.
 
Old 07-14-2004, 04:52 AM   #3
mosherben
LQ Newbie
 
Registered: May 2004
Posts: 24

Original Poster
Rep: Reputation: 15
thanks for the reply. I have a follow up question: Where it says Addr, I have a dynamic IP so I have a hostname (mosherben.dyndns.org) so should I change it to this?
 
Old 07-14-2004, 05:18 AM   #4
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Does it work using 127.0.0.1? If not, then yeah you should probably use the domain name.
 
Old 07-25-2004, 11:16 AM   #5
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Postfix port change

Any chance there is a similar way to configure Postfix to send mail over a different port as well?
I'm having major trouble getting mail to go out from Sendmail and Postfix, only recently I
managed to get mail between users on the system itself to start working. (except for root.
sending works for this account, but receiving doesn't.)
I'm quite new at configuring a mailserver but eager to learn. my ISP conveniantly blocked
the SMTP port, leaving me without the possibility to use the mailserver on my domain on
the internet, which is quite annoying.. I have mailing lists to maintain!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] changing smtp port in evolution bwaynej2002 Linux - Software 3 01-20-2009 12:52 PM
SMTP Port always open AJones Linux - Security 2 08-05-2005 10:34 PM
comcast smtp port 25 johnyy Linux - Networking 3 01-01-2005 11:19 PM
smtp port changes Bruce Hill Linux - General 1 10-17-2004 05:37 PM
smtp port not turned on - how do i do it? punt Linux - Security 13 08-05-2001 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration