Red HatThis forum is for the discussion of Red Hat Linux.
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.
I'm trying to figure out why I can't send email to any of the new accounts on my Linux server (I'll call it my.server.org). I've configured it as best I can, and am able to send mail from the machine to the outside world. When I send an email from, for example, Gmail to root@my.server.org, the email seems to disappear. I have no record that it was ever received by the server.
I am hoping to make this server into one that would support lists (via Mailman) and everything seems to be working perfectly except this one thing. I would greatly appreciate any assistance!
Perhaps your ISP is blocking the mail ports? This is a common practice nowadays.
note. Your example is somewhat unfortunate if you don't own server.org. If you use a qualified domain name it should be registered in your name. Otherwise sending mail to server.org will never reach you, but the guy who does own server.org. Might be obvious, but I can't read that in your post
Moloko, hanks for the reply. I am in posession of the domain (which is, in fact, something other than server.org). We are currently running an Exchange server for my organization's regular mail system, and this works fine. (I'm attempting to set up a Linux machine to handle mailing lists with Mailman.) So I think that the ISP is, in fact, not blocking the mail ports.
Do you know which ports need to be open in order to allow mail delivery, or whether there is any special configuration of sendmail required to allow incoming mail?
From my limited understanding of all of this, it seems as though I need to have port 25 open on my computer and that I need to edit the sendmail .mc file to allow incoming connections from hosts other than 127.0.0.1. I'm pretty sure I've done both of these things correctly... so maybe I'm missing something else...?
Pete, thanks for the tips. I've made the changes to sendmail.mc and recreated sendmail.cf. The software firewall is also set to allow SMTP connections on port 25 (there is no hardware firewall -- bad, I know, but soon to be remedied). And I've modified the MX records on our local server (a Windows Server 2003) to point to the Linux server.
But, after all of that, I still am not able to send email to the Linux server.
Do I still need to notify my ISP about the changes? Currently mail routed to our primary server (example.com) comes through just fine, so I was thinking that mail to lists.example.com would also work.
Maybe I need to wait for DNS propogation? Or does this not apply for MX records?
I have two FEDORA CORE 3 system, one is fine, the other one having the same problem as you have
although
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
in sendmail.mc
, and dovecot IMAP server is running. I don't get mail from outside of this machine.
(I have not problem to send mail out to any machine.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.