LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-19-2003, 04:14 PM   #16
enigmaweb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Unhappy Stumped Again


Well I'm stuck now. For some reason Postfix still isn't receiving emails and putting them into user mailboxes. Let me make sure I understand this concept correctly...

Remote Computer Sends An Email via SMTP to their server on Port 25 ... Destination Computer Receives this Email via POP3 on port 110... or am I totally wrong?

If Port 25 is directly involved in my receipt of email, I am going to have a problem because CoX has blocked port 25.

If anyone else has suggestions please post them! All help is very much appreciated
 
Old 08-19-2003, 04:50 PM   #17
Electric_Blue
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 35

Rep: Reputation: 15
ahh I see.

The DNS changes will not matter since you have primary MX as mail.enigmawebware.com. This just points 110 at the ip number that mail.enigmawebware.com backward resolves to which is ip68-10-164-20.hr.hr.cox.net (68.10.164.20).

Quote:
An Email via SMTP to their server on Port 25 ... Destination Computer Receives this Email via POP3 on port 110
Good question, and I think that is exactly how it works.

I know there is a way to change what port smtp runs on in postfix, but I'll need to research it a bit. So don't dispair just yet
Try googling for "smtp port cox" and see what you can come up with.

The problem with incoming mail remains though. You should be able to see some activity when you send an email to that server. I'm not sure what's going on with that just yet. When you can test it locally by IP you should have a better idea.

Nothing in your /var/log/maillog?

Might even do a tcpdump on that interface while you try to send mail to it just to see if packets are actually getting there.

Last edited by Electric_Blue; 08-19-2003 at 04:57 PM.
 
Old 08-19-2003, 10:13 PM   #18
enigmaweb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Unhappy I Hate Failure

hmmm well my friend who is quite familiar with Linux seems to think that SMTP is essential for PostFix to work properly. I have my doubts, but I took his word on it. He suggested changing smtp under /etc/services so I proceeded to do so and set them to 2525/tcp and 2525/udp. That didn't work so well. On my initial try, I still didn't get the mail in the user's mailbox. Then my ISP started acting crazy and killed my ability to connect to AIM and port 10000 on my server. Which is weird, because I've been using Webmin all day, and I don't see why changing the port for SMTP would effect it, especially in a LAN environment. Though Apache, my CDWServer, SSH, FTP, and VNC are still all working flawlessly. I'm wondering if it is a passing glitch that will kinda fix itself by the time I get to work in the morning. I changed my SMTP port back to the standard 25 just in case that's what caused Webmin to stop working.

I have yet to get a chance to do a tcpdump, but that is definitely a good suggestion. What is the best way to accomplish that? I have also found this quick short briefs about setting up Postfix behind CoX but I am slightly confused by it. I think you all may be able to make more sense out of it than I am and give me instructions on how to get this working... apparently others have accomplished it...

http://archives.neohapsis.com/archiv...3-01/2185.html

http://help.changeip.com/Default.asp?kb=30

I think we are getting really close here and I look forward to this being a guide to other CoX Broadband users experiencing the same kinds of problems
 
Old 08-20-2003, 10:11 AM   #19
Electric_Blue
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 35

Rep: Reputation: 15
I was able to telnet into port 110 on your mail.enigmawebware.com. I got:
+OK POP3 Prometheus.enigmawebware.com v2001.78rh server ready
So we know that the server is open on that port and ready for you to retrieve mail. Postfix is probably up and running.

I learned something here:
Quote:
Remote Computer Sends An Email via SMTP to their server on Port 25 ... Destination Computer Receives this Email via POP3 on port 110... or am I totally wrong?

If Port 25 is directly involved in my receipt of email, I am going to have a problem because CoX has blocked port 25.
Mail is sent FROM SMTP, TO SMTP. The POP3 110 port is only used to accept requests to retrieve mail. I know it sounds simple, but I hadn't really thought about it before :P

Let's try telnetting from the local machine to send an email. At least you can know then if your server is working.

While you are ssh'd in at work you should be able to try this:

telnet mail.enigmawebware.com 25

helo mycomputername
mail from: <joe@somewhere.com>
rcpt to: <ceo@enigmawebware.com>
data
This is a test email. Yeehaw!
.
rset
quit

(notice the period at the end there, you have to hit CRLF.CRLF to end the data input. Then do rset, and quit.)

This will send you a little test email to that address, and tell you whether or not your smtp is working.

cool eh?

Now if that part is indeed working, we just need to find a way for you to use a different port other than 25 to handle this.
 
Old 08-20-2003, 10:44 AM   #20
enigmaweb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Wink I Think We're On The Same Track :)

I have been reading and discovered the same truth about SMTP last night/this morning. I know that my internal SMTP service is working because my user accounts, root, CDWServer, and Postfix are all exchanging mail from say root@localhost.localdomain ... postfix is also receiving mail from root and believes that it is postfix@enigmawebware.com. So I think SMTP is working, kindof.

I can't telnet mail.enigmawebware.com 25 because as you probably remember, Port 25 is completely blocked by CoX. So there is no way I can try to access that port from the internet...

Here is what I am in the process of trying, but I may be missing a step, so correct me if I'm wrong. Unfortuanately, it's going to be an hour or so before I can truly test this because the appropriate port(s) are not open on my router at home and I have not yet set up a VPN so I have to get my brother who is at the house now to open them for me (at his convenience).

Here is what I have done... I went into /etc/services and added a new service called smtp2 which operates on port 1054. I did not mess with smtp because it will most likely still be referenced by other internal processes and I don't want to mess those up locally.... maybe it would be okay, but from my experience last night in trying to change the smtp port things started getting weird. Then I went into /etc/postfix/master.cf and changed the line that read smtp .. n .. y (etc) to smtp2. By doing this I am hoping that postfix will use smtp2 on port 1054 therefore bypassing the port blocking.

Sounds like it should work in theory right? There may be other things I have to do, or this might not work at all, I'm not sure yet. I will definitely post an update as soon as my router's ports get opened... in the meantime please post any suggestions you might have!
 
Old 08-20-2003, 11:01 AM   #21
Electric_Blue
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 35

Rep: Reputation: 15
Yea that should work. I think it's smart to leave the port 25 one alone and add the smtp2.

But it will only work for email clients that set their smtp ports to 1054.
As I understand it, the rest of the world won't be able to send to your machine, but you can send out of it and check mail from it.



I can't think of a way around that.
Anyone else have an idea?
 
Old 08-20-2003, 01:05 PM   #22
enigmaweb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Lightbulb Possible Port Forwarding

I know that this may seem a little off the wall but...

Could it be possible to set up port forwarding with zoneedit.com (my DNS/Nameserver) so that all incoming requests on Port 25 could then be forwarded to say, port 1054? Also, upon further research I see that CoX actually doesn't list Port 53 (DNS) as blocked, though Apache Virtual Servers doesn't work, so I assumed it was.

So I guess my question now is, would there be any way to forward Port 25 requests to a different port on the DNS level?
 
Old 08-20-2003, 02:41 PM   #23
enigmaweb
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Nooooooooooooo

I'm fuxz0red. As far as I can tell there is no way to get around the SMTP port block. I guess it's time to start looking for a 3rd party solution. If anyone has any suggestions please let me know.

Even though my particular situation was not resolved, hopefully this can serve as an in depth resource to people having troubles with Postfix.
 
Old 08-20-2003, 02:50 PM   #24
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Well there is a solution after a quick google but like most things costs money, probably other companys provide it too, so google

http://www.changeip.com/dsmtpinfo.asp
 
Old 08-20-2003, 05:50 PM   #25
boa
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Rep: Reputation: 0
I had the exact same problem with my ISP blocking port 25. They bolcked the port in response to the msblast virus and of course they wanted me to upgrade to a Business Account to have the port opened. After being unable to contact the Business Account people for 2 days, the tech person opened the port for me. Yet again we see that pleading, crying, begging, and compliments are all a sys admin person requires to perform their job!
 
  


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
killing fsck grgoffe Linux - General 14 12-02-2007 01:41 PM
This is killing me UncleEricB Linux - Networking 2 02-01-2005 09:41 PM
killing X jabberwock486 Linux - Newbie 7 09-10-2003 11:59 AM
killing artsd JunLitsu Linux - Software 2 05-02-2003 12:57 AM
Killing X ? sp0t Linux - Newbie 7 08-17-2002 07:53 AM

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

All times are GMT -5. The time now is 07:09 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