On Mon, 6 Apr 1998 [EMAIL PROTECTED] wrote:

> I having trouble with relay on my redhat 5.0 machine.  I have many virtual
> domains that I want to be able to receive email on it.  I have added the
> domains in the following files:
> 
> /etc/sendmail.cw
> /etc/mail/relay.allow
> /etc/mail/name.allow
> 
> I restarted sendmail after I added them.  They can all receive email fine.
> But, when someone tries to send a message using one of these domains in
> their "from" address then get a "We do not Relay" error. 
> 
> What do I need to do to enable these people to use this machine as their
> SMTP server?
> 

   Add the addresses you will allow relaying from in /etc/mail/ip_allow.
If you have a whole class c, then the first three octets will work. If for
instance you owned the whole class c 192.168.1.0/24, you would put 
192.168.1 in /etc/mail/ip_allow and any mail coming in to the smtp port
from those addresses would be allowed relay privileges. 

   If the sendmail-cf rpm isn't on your machine, download it from the net
or CD, and install it, (it won't change anything on your system). And read
the file /usr/lib/sendmail-cf/README.check, check out the web-site
mentioned in the file and it will answer most of your questions. 

later
Kelley



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to