Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st October 2010, 02:05 AM
akaisora Offline
Registered User
 
Join Date: Nov 2009
Posts: 20
windows_xp_2003firefox
can't get sendmail to work for local mail

hi. i need some help here please.
i have been trying to set up sendmail for a while but it just won't work for me. i'm just trying to get local mail going for now. i have set up a very basic lan in vmware with just 2 linux systems.. lets call them firstsys and secondsys. what do i need to set up on each system for very basic sendmail to work (sending mail to/from each system)? thanks in advance!


this is the error i get when emailing to firstsys from secondsys..
[root@unttainable.info ~]# mail g@firstsys
----- The following addresses had permanent fatal errors -----
<q@unattainable.info>
(reason: 550 5.7.1 <q@unattainable.info>... Relaying denied. IP name lookup
failed [10.0.22.9])


this is what i've tried but didn't work (both system pingable from one another):
firstsys..
users: g, root
service: sendmail, dovecot, dhcpd
security: all off
hostname: firstsys.unattainable.info
/etc/hosts
firstsys.unattainable.info firstsys localhost.localdomain localhost
10.0.22.9 secondsys

secondsys..
users: root
service: sendmail, dovecot
security: all off
hostname: secondsys.unattainable.info
/etc/hosts
secondsys.unattainable.info secondsys localhost.localdomain localhost
10.0.22.9 firstsys

---------- Post added at 05:10 PM GMT ---------- Previous post was at 04:32 PM GMT ----------

btw, in firstsys, all i configured in /etc/mail/sendmail.mc is add the line..
"DAEMON_OPTIONS(`Port=smtp,Addr=10.0.22.1, Name=MTA')dnl"

then i ran a script that does the following..
cd /etc/mail
make
newaliases
/etc/init.d/sendmail restart

firstsys seems to be able to recieve the mail, but why is it trying to relay it?

---------- Post added at 06:05 PM GMT ---------- Previous post was at 05:10 PM GMT ----------

ok, i figured it out. it wasn't able to find the recipient in my DNS zone file because i configured MX incorrectly. thanks all
Reply With Quote
Reply

Tags
local, mail, sendmail, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending mail to a 'local' user who is actually not local danscott Servers & Networking 0 28th February 2010 05:03 PM
Sendmail -- sending mail with the mail command -- doesn't work :-( carolinevdh Servers & Networking 1 13th August 2009 07:18 PM
how to setup pop mail clietns for local mail server? shams Servers & Networking 7 19th July 2006 09:05 AM
sendmail can't send mail from local mail server? shams Servers & Networking 0 16th June 2006 04:35 PM
local mail delivery issue on SENDMAIL 8.12 mn210 Servers & Networking 1 10th March 2006 08:07 PM


Current GMT-time: 19:52 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat