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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-19-2004, 01:29 PM
|
#1
|
Member
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142
Rep:
|
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
|
|
|
07-19-2004, 01:45 PM
|
#2
|
Member
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142
Original Poster
Rep:
|
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
|
|
|
07-19-2004, 02:08 PM
|
#3
|
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:
|
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
|
|
|
07-19-2004, 03:10 PM
|
#4
|
Member
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142
Original Poster
Rep:
|
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
|
|
|
07-19-2004, 03:11 PM
|
#5
|
Member
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142
Original Poster
Rep:
|
Only thing now is to check if I have an open relay hole. How I can test that?
TIA
|
|
|
07-19-2004, 03:21 PM
|
#6
|
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:
|
latino
Test open relay Here
|
|
|
All times are GMT -5. The time now is 08:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|