LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-24-2005, 09:32 AM   #1
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Rep: Reputation: 15
Question Receiving mail thru web


FC2
Apache 2.0


I have to apologize, as I've been unable to work with my linux webserver for a few months, and I've forgotten some things.

Anyway, I'm able to send mail out from my webserver, but I cannot receive mail. Am I missing a setup step?

I would like to be able to receive mail by anyone that uses "myid@mydomain.com", but it doesn't seem to work.

Any help would be appreciated.

Thanks,
Jeff
 
Old 01-24-2005, 10:48 AM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
I don't know where to begin...

Apache is not your mail handler... not even when sending mail 'from your webserver' -- webmail?

so... more info, please.

like: is this a dedicated server you are trying to admin, or is this a box on your home network you are trying to be able to reveice Internet mail to...
 
Old 01-24-2005, 11:45 AM   #3
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Original Poster
Rep: Reputation: 15
Sorry,

This is Linux server running on my home network with my own domain, and yes, I would like to receive internet mail.

Right now I have a apache running on it, and I can send mail out if someone enters comments on my web page. The email shows up as being from "Apache@mydomain.com", but it does send it out.

I can also use the "mail" or "mailx" command to send mail out from the command line, then the email shows up as being from "root@localhost", or something like that.

FYI...I also use port forwarding because this linux box is attached to a wireless router.

In a nutshell, I'm just looking to receive Internet email to myid@mydomain.com

Thanks,
Jeff
 
Old 01-24-2005, 02:07 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Have you first checked to see if port 25 inbound is open on your home network? To see how:

telnet <your domain name goes here> 25 (from the outside world)

-twantrd
 
Old 01-24-2005, 03:25 PM   #5
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Original Poster
Rep: Reputation: 15
I'll try that when I get home. I guess I thought that would all come thru port 80.

Thanks for the help.
 
Old 01-24-2005, 05:33 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Your apache is listening on port 80, it serves web content and will not understand smtp transaction. When a piece of mail is being sent to you, the recipient's smtp server will first query your domain MX record. Once it finds out the IP address to your MX, it will then contact that IP address (your smtp server) only on port 25.

If your ISP blocks inbound port 25, then you have no choice but to go smarthost. Meaning, use a different smtp server to relay your domain. You can change your default smtp port to something else other than 25, HOWEVER, no one in the world will be able to send mail to you.

-twantrd
 
Old 01-24-2005, 11:55 PM   #7
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Original Poster
Rep: Reputation: 15
My ISP (Comcast) must be blocking port 25. Is there a way I can find this out, or does anyone else know if Comcast does this? If they block incoming, why wouldn't they block outgoing also?

I set port forwarding for port 25 on the router to my linux box.

I can use the mail command from the command line to send mail to my yahoo account, and I get an email from myid@mydomain.com, but when I reply, it just vanishes. No return, or nothing. I'm sure I may get one in a few days.

I tried the telnet mydomain.com 25 using putty, but I get connection refused. I'm pretty sure it's not my firewall. Can someone tell me the entry I would need to add to my iptables list?

Thanks,
Jeff

Last edited by lawadm1; 01-25-2005 at 01:20 PM.
 
  


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
Receiving mail from beyond localhost martian Red Hat 6 11-10-2005 02:27 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Receiving Emails through web server? (PHP) gothgeek84 Programming 12 01-16-2005 03:02 PM
Not receiving mail. latino Linux - Newbie 5 07-19-2004 03:21 PM
Receiving Mail mrant Slackware 3 07-28-2003 10:22 AM

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

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