LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-23-2004, 05:03 PM   #1
frzburn
Member
 
Registered: Feb 2004
Location: Canada
Distribution: FreeBSD
Posts: 38

Rep: Reputation: 15
Question Changing pop3 port ??


Hi, I would like to change the port of my pop3 service.
Here's the situation:
I tried to set up a mail server. I can send e-mails, it works perfectly by using my ISP smtp. But I can't receive e-mails. I suspect my ISP from blocking my port 110, just as he does with the port 80.

With the port 80, it was easy: I set my (apache 1.3) httpd.conf file to listen to port 8080, and tell my router to forward port 80 to port 8080. Works like a charm.
So I think I could do the same thing with pop3 (port 110), if I knew where (wich file) to change its port... I tried /etc/services, without success.


Of course, I registered a Dynamic DNS (dyndns.org) to make it easier to find me on the net.
I use Slackware 10 with 2.4.27 kernel
I'm using sendmail-8.12.11

Thanks!
 
Old 12-23-2004, 06:07 PM   #2
cherylchase
LQ Newbie
 
Registered: Dec 2004
Location: California
Distribution: RHEL3
Posts: 13

Rep: Reputation: 0
Depends a bit on what mailer you are using. There's a discussion here that should be helpful:

forums.devshed.com/t209668/s.html
 
Old 12-23-2004, 06:18 PM   #3
frzburn
Member
 
Registered: Feb 2004
Location: Canada
Distribution: FreeBSD
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks for the reference. It clears things a bit.
I understand what the guy (dba_frog) says, but... if I can do it with http from port 80 to 8080, why not with pop?
So I'll keep seeking the sendmail docs, or at worse try qmail...
 
Old 12-24-2004, 09:33 AM   #4
cherylchase
LQ Newbie
 
Registered: Dec 2004
Location: California
Distribution: RHEL3
Posts: 13

Rep: Reputation: 0
The reason why you can do it with incoming http but not incoming email is that you get to tell people who want to visit your web server that they should use a different port. But transport of email is distributed all across the net. When someone sends you an email, it may pass through a number of mail servers on route, and there's no way to tell them to talk to you on a nonstandard port.

I just realized that I'm confused about what you are actually trying to do. You said "can't receive emails", but then also mentioned pop3 and port 110. Pop3 is only used to transport email at the final stage, into the user's email client. Before that (between sender and receiver's mail host) it is transferred by smtp. You can't tell mail most hosts to talk to you with smtp on a nonstandard port (except for mail reflectors, mentioned in the devshed forum post linked above).

So if you want to run your own mail host, you need to be able to receive mail from any sender via smtp. They are only going to talk to you on port 25. Thus the need for a mail reflector.

There's a sort of helpful picture of this at http://computer.howstuffworks.com/email4.htm. As you see, port 25 is what connects your mail host to other mail hosts (and allows incoming mail). Changing the port used by pop3 will only affect communications between your mail client and local mail host (sounds like your client probably runs on your mail host in any case).


Last edited by cherylchase; 12-24-2004 at 09:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Changing port 25 sureplan_ian Linux - Networking 6 11-24-2004 12:02 AM
email error after changing POP3 to IMAP ryedunn Linux - Newbie 2 10-25-2004 05:25 PM
about changing the port no dummyagain Linux - Security 2 09-13-2004 04:24 AM
pop3 port config iceman47 Linux - Software 2 11-02-2003 04:44 PM
changing Apache port GabeF Linux - Networking 5 10-07-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:37 AM.

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