LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-10-2005, 04:12 PM   #1
martian
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat, Ubuntu
Posts: 14

Rep: Reputation: 0
Receiving mail from beyond localhost


Hi there,

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!

Thanks,
Chris
 
Old 08-10-2005, 04:51 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
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

Last edited by Moloko; 08-10-2005 at 04:57 PM.
 
Old 08-11-2005, 12:19 AM   #3
martian
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat, Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
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...?

Thanks again.

Chris
 
Old 08-11-2005, 02:04 AM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
martian

This is the line in sendmail.mc you have to change

From this
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
To this
Code:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
You then have to create "sendmail.cf", how you do this depends on your distro, restart sendmail

Port 25 needs to be open and if you have a router the port needs to be forwarded to your mail server

You also need MX records setup in DNS for your domain

Pete
 
Old 08-11-2005, 01:09 PM   #5
martian
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat, Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
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?

Thanks again,
Chris
 
Old 11-10-2005, 01:19 PM   #6
RLIN
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
Having problem to get incoming mail too

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.)

Please help
 
Old 11-10-2005, 02:27 PM   #7
RLIN
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
just a thought

Probably firewall stops you from getting any mail outside of your machine.

If you have KDE or GNOME,
System setting -> Security Level ->trusted services ->check Mail (SMTP)

This solved my problem.
 
  


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
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 10:18 AM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 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
receiving mail using KMAIL agp Linux - Software 3 01-31-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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