LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-17-2009, 08:44 AM   #1
Sanity Challenged
LQ Newbie
 
Registered: Jul 2006
Location: Gloversville, New York
Distribution: openSuSE
Posts: 3

Rep: Reputation: 1
Question Sendmail - Mail to local network address - openSuse 11.1


I would like to send mail from a local account on one machine in my network to another machine in my network without having to go out to the internet and back.
i.e. I would like to send mail from ron@sisu to ron@ronlt

/etc/hosts contains:
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 nil

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 nil

ff00::0 nil
ff02::1 nil
ff02::2 nil
ff02::3 nil
127.0.0.2 sisu.sparks.endoftheinternet.org sisu
192.168.1.69 sisu sisu
192.168.1.11 brendaws.sparks.endoftheinternet.org brendaws
192.168.1.80 noodle.sparks.endoftheinternet.org noodle
192.168.1.80 ronlt

The error message I get back from Sendmail is:
This is the mail system at host sisu.sparks.endoftheinternet.org.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

* * * * * * * * * *The mail system

<ron@ronlt.sparks.endoftheinternet.org> (expanded from <ron@ronlt>): unable to
* * look up host ronlt.sparks.endoftheinternet.org: Name or service not known

The system is behind a linksys WRT54GS router to connect all machines, hardwire and wifi. There is no 'central' server.

The operating systems used are openSuse 11.1 and 11.0.

I recall something from the '80s about uumail, but I'm sure there's a better solution available today.

How to I get sendmail to go directly to the target machine i.p. address (i.e. 192.168.1.11) without all the expansion.

Also, I would like to forward system mail from the other machines all to one user on one machine (i.e. root@ronlt, root@brendaws to ron@sisu)

Note local mail (ron@sisu to ron@sisu) seems to work OK.

Last edited by Sanity Challenged; 10-17-2009 at 09:20 AM. Reason: add addtional info
 
Old 10-31-2009, 01:50 PM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Hi, welcome to the LQ forums.

OK, there are several questions here:

1. "ronlt.sparks.endoftheinternet.org" is not written in your hosts file. Also, I am not sure you are allowed to double IP addresses. You should have one IP and list of hostnames. like this:

Quote:
192.168.1.80 noodle.sparks.endoftheinternet.org noodle ronlt ronlt.sparks.endoftheinternet.org
I think this should work.

For your other questions, it would be best to set up mail server on one machine and point all others on that one.
 
Old 10-31-2009, 08:34 PM   #3
Sanity Challenged
LQ Newbie
 
Registered: Jul 2006
Location: Gloversville, New York
Distribution: openSuSE
Posts: 3

Original Poster
Rep: Reputation: 1
I think I figured it out.
I went into yast on the target machine and configured the Mail Transfer Agent. That installed a few packages I had apparently needed.
 
  


Reply

Tags
opensuse111, sendmail



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
relay all non-local mail to 1 local address and NOT real destinations manqox Linux - Server 6 09-04-2008 04:13 AM
Forward local mail to another local host using sendmail loopy69 Linux - Server 5 02-26-2008 05:38 PM
sendmail: how to send mail from my yahoo e-mail address harryhaller Slackware 3 11-13-2006 11:00 PM
Rejecting non local mail for specific e-mail address vrsic Linux - Server 4 10-24-2006 02:46 AM
sendmail not chaning local address properly kudos Linux - Software 2 12-13-2003 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:27 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
Open Source Consulting | Domain Registration