Michael,
These are the entries in my /etc/mail
[marius@argon mail]$ ls -l
total 7
-rw-r--r-- 1 root root 0 Sep 21 1998 deny
-rw-r--r-- 1 root root 16384 May 17 13:40 deny.db
-rw-r--r-- 1 root root 22 May 17 23:01 ip_allow
-rw-r--r-- 1 root root 0 Sep 21 1998 name_allow
-rw-r--r-- 1 root root 0 Sep 21 1998 relay_allow
You may notice that relay_allow is actually empty
I use ip_allow instead
At a minimum you need
127.0.0.1
and you can add some individual hosts, and subnets (put in your numbers)
192.0.0.1
192.0.0
192.0
You get the picture. If you prefer, you can also set up name_allow in a
similar manner.
Then restart sendmail.
BTW be careful not to open yourself up as open spam relaying channel...
Marius
--
Marius Schamschula, optical physicist, mac, and network coordinator
The Center for Applied Optical Sciences: http://www.caos.aamu.edu/
Department of Physics, Alabama A & M University
----------
>From: Michael Reynolds <[EMAIL PROTECTED]>
>To: Marius Schamschula <[EMAIL PROTECTED]>
>Subject: Re: allowing relaying of mail
>Date: Fri, Sep 3, 1999, 2:43 PM
>
> Marius,
>
> Thanks, but this doesn't exist on my system. Here's what's in my
> /etc/mail dir:
>
> [michael@cy18291-c mail]$ ls -la
> total 38
> drwxr-xr-x 2 root root 1024 Aug 26 20:01 .
> drwxr-xr-x 36 root root 3072 Sep 3 00:39 ..
> -rw-r--r-- 1 root root 123 Apr 19 15:38 Makefile
> -rw-r--r-- 1 root root 313 Apr 19 15:38 access
> -rw-r--r-- 1 root root 16384 Sep 1 12:10 access.db
> -rw-r--r-- 1 root root 0 Apr 19 15:38 domaintable
> -rw-r--r-- 1 root root 16384 Sep 1 12:10 domaintable.db
> -rw-r--r-- 1 root root 0 Apr 19 15:38 mailertable
> -rw-r--r-- 1 root root 16384 Sep 1 12:10 mailertable.db
> -rw-r--r-- 1 root root 0 Apr 19 15:38 virtusertable
> -rw-r--r-- 1 root root 16384 Sep 1 12:10 virtusertable.db
> [michael@cy18291-c mail]$
>
> Thanks!
> ---Michael
>
>
>
> On Fri, 3 Sep 1999, Marius Schamschula wrote:
>
>> Michael,
>>
>> Check out /etc/mail/relay_allow
>>
>> Marius
>> --
>> Marius Schamschula, optical physicist, mac, and network coordinator
>>
>> The Center for Applied Optical Sciences: http://www.caos.aamu.edu/
>> Department of Physics, Alabama A & M University
>>
>>
>> ----------
>> >From: Michael Reynolds <[EMAIL PROTECTED]>
>> >To: [EMAIL PROTECTED]
>> >Subject: allowing relaying of mail
>> >Date: Fri, Sep 3, 1999, 11:20 AM
>> >
>>
>> > I'm having a problem with incoming mail. I have a domain and hostname
>> > preset on my machine (RedHat 6.0) that I configured when I installed teh
>> > OS. When I send mail to a user with that domain, it comes through fine.
>> > However, I have recently pointed another domain to my server and I would
>> > like to send mail to [EMAIL PROTECTED] However, when I try this... the
>> > messages bounce back with a "550 relaying denied" sort of message. I've
>> > added the new domain to my sendmail.cw file and I've put it after the
>> > Cwlocalhost entry in sendmail.cf but it still happens. Can anyone offer
>> > some assistance?
>> >
>> > Thanks!
>> > ---Michael
>> >
>>
>