LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2004, 02:29 PM   #1
latino
Member
 
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142

Rep: Reputation: 15
Not receiving mail.


Hi All:

Have spent more than a day to solve this issue. I have been using Red Hat Linux for two years. While finnishing setting a second box Red Hat ES 3, I am having the cant' receive email problem. Need help from the pro's here.

I am using sendmail as mta and squirrelmail

1-- Telnet to 127.0.0.1 25 shows sendmail is listening
2-- tail /var/mail/maillog shows my login and logout to imapd
3-- Only user at /var/spool/mail is root ***
4-- /etc/hosts:
x.x.x.x mydomain myhostname


I have created another user webmaster and when I try to send mail I get:

<webmaster@mydomain.com>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too long.

LQ users help will be appreciated

Later
 
Old 07-19-2004, 02:45 PM   #2
latino
Member
 
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142

Original Poster
Rep: Reputation: 15
This is another error message:

Deferred: Connection refused by
mail.mydomain.com.

However, I don't have registered mail.mydomain.com. I use just mydomain.com. Also, I have Apache 2.0.50 working fine I can connect and domain have been populated.

Later
 
Old 07-19-2004, 03:08 PM   #3
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
latino

Add mydomain.com to /etc/mail/local-host-names, restart Sendmail

Add it exactly as is

/etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
mydomain.com

Pete
 
Old 07-19-2004, 04:10 PM   #4
latino
Member
 
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142

Original Poster
Rep: Reputation: 15
Well dit that, but problem was fixed after adding:

mydomain.com RELAY
MYIP RELAY

to /etc/mail/access

also added:

mydomain.com to

/etc/mail/relay-domains

Now, after a 1 1/2 days with a *big* headache, I am now a happy man.

Posted here so it could help other with similar setups.

Later
 
Old 07-19-2004, 04:11 PM   #5
latino
Member
 
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142

Original Poster
Rep: Reputation: 15
Only thing now is to check if I have an open relay hole. How I can test that?

TIA
 
Old 07-19-2004, 04:21 PM   #6
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
latino

Test open relay Here
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 03:43 PM
Receiving E-Mail Problems, need help, please! bignitz Linux - Networking 11 08-09-2004 02:00 PM
Receiving e-mail from Rogers.com lxandrthegr8 Linux - Networking 3 08-12-2003 08:12 PM
Receiving Mail mrant Slackware 3 07-28-2003 11:22 AM
receiving mail using KMAIL agp Linux - Software 3 01-31-2003 11:39 PM


All times are GMT -5. The time now is 08:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration