Quoting Mike Nielsen (mike at getbent.net):
> On Tuesday 20 March 2001 23:00, you wrote:
> > Quoting Mike Nielsen (mike at getbent.net):
> > > Hi there, a while back I posted a question about my attempt to configure
> > > my sendmail box to relay/spool mail for another domain.
> > >
> > > I was helped along by simply adding the domains (Not mine, the ones I
> > > want to spool for) to  /etc/mail/relay-domains
> >
> > What verion of sendmail are you running?
> >
> > What distribtion?
> 
> 8.11.2  
> Slackware Current or 7.1+
> 

I don't know how slack does it, but the relay controls under redhat and I
believe default for 8.11.x is in the access file, like this:

/etc/mail/access

localhost                       RELAY
real-time.com                   RELAY
mn-linux.org                    RELAY
207.46.181.30                   REJECT  "relays for anyone spoofing a user at msn.com envelope"

You you need to make sure you have your MX domains in your access file.

Next, make sure you have you are MX'd at a HIGHER level then the real mail
server:

mn-linux.org.           IN      MX      5 mail.mn-linux.org.
                        IN      MX      10 mail.real-time.com.
                        IN      MX      15 mail1.real-time.com.
                        IN      MX      20 mail2.real-time.com.

Make sure local-host-names does NOT have the domain listed in it. Otherwise your
mail server will accept and attempt to deliver the email, instead of MX holding
it.

I never, ever :-) edit the sendmail.cf, I only work with the .mc file, you can
see an example of my .mc file here:

http://www.mn-linux.org/members/tanner/presentations/Sendmail+SMTP_AUTH/html/Sendmail+SMTP_AUTH.htm

I am not sure which slide.



-- 
Bob Tanner <tanner at real-time.com>       | Phone : (952)943-8700
http://www.mn-linux.org                 | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9