LinuxQuestions.org
Help answer threads with 0 replies.
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 09-26-2007, 09:15 PM   #1
shadowc
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 0
sendmail setup


Hi, I'm trying to set up my first mail server. I have installed fedora core 6 and was able to send mail outside to the internet through sendmail. Now, I am trying to send mail to another computer in my lan. If I could setup two domains (one on each computer) and set a lab where I can send email to each other. I'm just wondering if this is feasible though? Do I need to configure a DNS server before I continue? What are you thoughts?
 
Old 09-27-2007, 08:04 AM   #2
winfinit
Member
 
Registered: Jul 2006
Location: FL, Delray Beach
Distribution: Slackware11, LFS
Posts: 67

Rep: Reputation: 15
if it both of your computers are on a local network, you have to mod your hosts file to make sure that mail is going to be delivered to correct MX, otherwise it will try to go out to your default NS and try to get addr for it from there.
 
Old 09-28-2007, 08:33 PM   #3
shadowc
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I'm confused with the MX record that sendmail uses when sending mail to another domain. Do I just edit the /etc/host file put the IP of the second machine and the domain. Or do I need to make changes to the default sendmail.mc file?
 
Old 09-29-2007, 01:33 AM   #4
winfinit
Member
 
Registered: Jul 2006
Location: FL, Delray Beach
Distribution: Slackware11, LFS
Posts: 67

Rep: Reputation: 15
just edit hosts file, you dont need to edit anything in your sendmail cfg
 
Old 10-03-2007, 03:51 PM   #5
shadowc
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I'm still unable to sendmail. I changed the /etc/hosts file. I can ping the my test domain "plain.1a2b3c.com" but when I type in "host plain.1a2b3cttyy.com". I get this output error "host plain.1a2b3c.com not found: 3 (NXDOMAIN)"

my logs shows:

Oct 2 22:09:27 localhost sendmail[2105]: l8UEUNSl025879: to=<UserB@plain.1a2b3c.com>, ctladdr=<userA@localhost.localdomain> (500/500), delay=2+11:39:04, xdelay=00:00:00, mailer=esmtp, pri=1380345, relay=plain.1a2b3.com., dsn=4.0.0, stat=Deferred: Connection refused by plain.1a2b3c.com.


Oct 2 22:09:27 localhost sendmail[2105]: l8UESYF4025860: to=<UserB@plain.1a2b3c.com>, ctladdr=<userA@localhost.localdomain> (500/500), delay=2+11:40:53, xdelay=00:00:00, mailer=esmtp, pri=1380345, relay=plain.1a2b3.com., dsn=4.0.0, stat=Deferred: Connection refused by plain.1a2b3c.com>, ctladdr=<userA@localhost.localdomain> (500/500), delay=2+11:40:53, xdelay=00:00:00, mailer=esmtp, pri=1380345, relay=plain.1a2b3c.com., dsn=4.0.0, stat=Deferred: Connection refused by plain.1a2b3c.com.
 
  


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
Sendmail 8.12.10 setup brooky9999 Linux - Server 2 09-29-2006 04:01 AM
How do you setup Sendmail + Squirrelmail dethalis Linux - Server 2 09-02-2006 12:23 PM
Basic setup of Sendmail matsgl Linux - Software 1 02-06-2005 08:15 PM
How to setup sendmail? alexr186 Linux - Software 4 12-19-2003 05:01 PM
sendmail setup Finlay Linux - Networking 16 03-18-2003 02:00 PM


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