Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.