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.
|
 |
09-26-2007, 09:15 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 9
Rep:
|
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?
|
|
|
09-27-2007, 08:04 AM
|
#2
|
Member
Registered: Jul 2006
Location: FL, Delray Beach
Distribution: Slackware11, LFS
Posts: 67
Rep:
|
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.
|
|
|
09-28-2007, 08:33 PM
|
#3
|
LQ Newbie
Registered: Sep 2007
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
09-29-2007, 01:33 AM
|
#4
|
Member
Registered: Jul 2006
Location: FL, Delray Beach
Distribution: Slackware11, LFS
Posts: 67
Rep:
|
just edit hosts file, you dont need to edit anything in your sendmail cfg
|
|
|
10-03-2007, 03:51 PM
|
#5
|
LQ Newbie
Registered: Sep 2007
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:55 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
|
|