receive mail from local home network machines

Running sendmail-8.14.1 on gentoo linux

I want to receive mail from my other local home lan machines.

Somewhere I got the notion that would work if I put the names of the
machines in /etc/mail/local-host-names.

But apparently that isn't all it takes. Because I still get relay
denied in the log file when mail is sent from a local machine (posted
at the end)

I've done this before but its been so long ago I'm pretty lost all
over again. Googling on senmail relaying can be an avalanche of
information ... mostly about much more complicated stuff than my
case. I hoped someone could steer me toward the information I need to
allow one machine to accept mail from other local home lan machines.

log messages:

Jan 9 19:03:06 reader sm-mta[22873]: m0A136sB022873:
ruleset=check_rcpt, arg1=<reader [at] mob2vm25>, relay=mob2vm25.local.lan
[192.168.0.25], reject=550 5.7.1 <reader [at] mob2vm25>... Relaying denied

Jan 9 19:03:06 reader sm-mta[22873]: m0A136sB022873: lost input
channel from mob2vm25.local.lan [192.168.0.25] to MTA after rcpt

Jan 9 19:03:06 reader sm-mta[22873]: m0A136sB022873:
from=<root [at] mob2vm25>, size=0, class=0, nrcpts=0, proto=SMTP,
daemon=MTA, relay=mob2vm25.local.lan [192.168.0.25]
Harry Putnam [ Do, 10 Januar 2008 02:10 ] [ ID #1905066 ]

Re: receive mail from local home network machines

reader [at] newsguy.com writes:

> Running sendmail-8.14.1 on gentoo linux
>
> I want to receive mail from my other local home lan machines.
>
> Somewhere I got the notion that would work if I put the names of the
> machines in /etc/mail/local-host-names.
>
> But apparently that isn't all it takes. Because I still get relay
> denied in the log file when mail is sent from a local machine (posted
> at the end)

We are on 8.13, but I don't think it's changed, you should look for the
following in your sendmail.cf

---
# Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains
---
and put your domain names in that file. On our servers we have a sym
link in /etc/mail

relay-domains -> sendmail.cw

-- in our MC file

FEATURE(use_cw_file)dnl


--------- Having said this I wonder why "use_cw_file" turns into
relay-domain in the .cf?


--
John
____________________________________________________________ _______
John Murtari Software Workshop Inc.
jmurtari [at] following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/
John Murtari [ Do, 10 Januar 2008 20:02 ] [ ID #1905071 ]

Re: receive mail from local home network machines

>> I want to receive mail from my other local home lan machines.

I can pass mail between two hosts (OpenBSD & Solaris) on my home lan
using the following Sendmail configuration:

gopher://sdf-eu.org/00/users/mackie/Unix-Notes/local-lan_sen dmail.txt


HTH,

Stuart
--
Stuart Mackie [ Fr, 11 Januar 2008 16:45 ] [ ID #1905963 ]

Re: receive mail from local home network machines

John Murtari <jmurtari [at] thebook.com> writes:

> ---
> # Hosts for which relaying is permitted ($=R)
> FR-o /etc/mail/relay-domains
> ---

Sorry to be so slow responding but got distracted by other problems.

Your short hand there was a little to brief for me to follow.

FR-o went right over my head.
Harry Putnam [ So, 13 Januar 2008 16:38 ] [ ID #1906974 ]

Re: receive mail from local home network machines

Stuart Mackie <swmackie [at] bcs.org> writes:

>>> I want to receive mail from my other local home lan machines.
>
> I can pass mail between two hosts (OpenBSD & Solaris) on my home lan
> using the following Sendmail configuration:
>
> gopher://sdf-eu.org/00/users/mackie/Unix-Notes/local-lan_sen dmail.txt

Thanks for the full detailed information
Harry Putnam [ So, 13 Januar 2008 16:39 ] [ ID #1906975 ]

Re: receive mail from local home network machines

reader [at] newsguy.com writes:

> John Murtari <jmurtari [at] thebook.com> writes:
>
>> ---
>> # Hosts for which relaying is permitted ($=R)
>> FR-o /etc/mail/relay-domains
>> ---
>
> Sorry to be so slow responding but got distracted by other problems.
>
> Your short hand there was a little to brief for me to follow.
>
> FR-o went right over my head.

Yikes, sorry. Please excuse the denseness here. At first glance I
thought you were telling me to look in the README. Don't ask why
because I couldn't tell you.

Looking in sendmail.cf as directed led me to the right stuff.
Thanks.
Harry Putnam [ So, 13 Januar 2008 17:09 ] [ ID #1906976 ]
Miscellaneous » comp.mail.sendmail » receive mail from local home network machines

Vorheriges Thema: Problem forwarding mail to another host on non-standard port
Nächstes Thema: sendmail & AV today (... in the year 2008)