LinuxQuestions.org
Visit Jeremy's Blog.
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 05-04-2005, 07:16 PM   #1
angelohl
LQ Newbie
 
Registered: May 2005
Location: Maryland
Posts: 5

Rep: Reputation: 0
Redhat 9 and Sendmail question


Thanks in advance. I have a dual-homed server, eth0 on the internet, and eth1 in internal - SERVER1. I can ping workstations from the server and the server from the workstations, from both sides so forwarding is working. To make sure it's working, from the server I'm trying to send email out to the internet (which seems to work), yet when I try to send mail to users on the domain (i.e. replying from a hotmail account to the mail I sent for testing) or received mail - I look in the logs and see (names changed obviously):

May 4, 2005 SERVERNAME sendmail[5306]: j44MuVjK005221: to=<user1@domain.com, ctladdr=<user2@domain.com> (501/100), delay=00:00:13, xdelay=00:00:13, mailer=esmtp, pri=30512, relay=domain.com. [10.10.10.11], dsn=4.0.0, stat=Deferred: Connection refused by domain.com.

Nutshell is, internal mail seems to work but external mail (coming in) doesn't work. I'm in a dual-homed environment and iptables is in use (though I don't think it's the culprit but I could be wrong). I can ping the hostname Am I doing something wrong or does this glare-out at anyone or rather, how should I go about troubleshooting this as I'm new to sendmail?

Last edited by angelohl; 05-06-2005 at 04:02 PM.
 
Old 06-29-2005, 11:34 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
And I'm assuming you actually have a real domain with DNS and MX records setup to send to this sendmail mail server?
 
Old 06-29-2005, 06:40 PM   #3
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
sendmail is a bitch...

The above post asks if you have your own domain... I assume you do. Forwarding is more complex that pinging... I assume you are are forwarding from a router to your email box and then want to distribute?

On the email box, you have to have accounts setup for them to log into e.g. outlook (if windows boxes) must look for sendmail on your internal ip eth on the sendmail box.

Regards
Richard
 
Old 06-29-2005, 09:34 PM   #4
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
Just a note, using Red Hat 9 on any server that faces the net is stupid. (Not calling you stupid btw, most people don't know this). Red Hat 9 has not received security updates from Red Hat for over a year now. The fedora Legacy project tries to fix this but they don't do the best job (kind of slow updates).

I would highly recommend installing CentOS 4.1. It is rebuild of the Red Hat Enterprise Linux Source RPMs so it is compatable with it and free. It will also be supported at least until 2010, most likely till 2012, so you want have to reinstall again for a while.
 
  


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
Redhat 9 and Sendmail ncblues Red Hat 2 02-18-2005 07:40 AM
Redhat 6.2 SendMail rhaley Linux - Software 6 09-29-2004 03:22 PM
sendmail on RedHat 9 sboyce57 Linux - Networking 4 02-26-2004 01:57 PM
RedHat 7.2 and sendmail Jorge_Beteta Linux - Newbie 1 09-22-2003 10:40 PM
sendmail on Redhat 9.0 ehedman Linux - Distributions 4 07-08-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 PM.

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