Re: Sendmail questions (almost there!) Followup

1999-07-15 Thread Bob Nielsen
Relaying is now turned off by default in sendmail 8.9.3 (the version in
slink). 

I added the following to /etc/mail/sendmail.mc:

FEATURE(access_db, hash -o /etc/mail/access)dnl

I then ran sendmailconfig to create sendmail.cf

In /etc/mail/access, I have:

host.domain RELAY

where host.domain is the FQDN of the host I want to relay for. After
doing this it works for me.

Bob

On Thu, Jul 15, 1999 at 04:01:22PM -0600, Mike Patterson wrote:
> 
> Richard A Nelson ([EMAIL PROTECTED]) wrote:
> : 1) Make sure /etc/resolv.conf is setup correctly
> :if you can't do `host xxx.yyy.zzz', sendmail can't find
> :it either
> 
> : 2) sendmail is restrictive by design - you have to tell it
> :that you know the blood is upon your hands ;-}
> :
> :on the black machine (your apparent gateway), make sure
> :this is in /etc/mail/sendmail.cf:
> :   FEATURE(relay_entire_domain)dnl
> 
> Ok, black is actually the 0.69, a machine dialing in with ppp. 0.1, the 
> relay, is "white". 
> 
> So I made the change above on white in the file /etc/mail/sendmail.mc. 
> The file /etc/mail/sendmail.cf had no FEATURE lines in it, so I assumed 
> that it was the wrong file. 
> 
> My .mc file now looks like:
> --
> divert(-1)
> divert(0)
> VERSIONID(`@(#)sendmail.mc  8.9.1a (Linux) 19981026')
> OSTYPE(debian)dnl
> LOCAL_CONFIG
> FEATURE(masquerade_envelope)dnl
> FEATURE(allmasquerade)dnl
> Cwchromatic.org
> FEATURE(use_cw_file)dnl
> FEATURE(use_ct_file)dnl
> FEATURE(nouucp)dnl
> MAILER_DEFINITIONS
> MAILER(local)dnl
> MAILER(smtp)dnl
> 
> LOCAL_CONFIG
> MASQUERADE_AS(chromatic.org)dnl
> ## Custom configurations below (will be preserved)
> 
> FEATURE(relay_entire_domain)dnl
> --
> 
> The output I'm getting in my mail.info file is now:
> --
> Jul 15 15:53:37 white sendmail[934]: PAA00934: ruleset=check_rcpt, 
> arg1=<[EMAIL PROTECTED]>, relay=black.chromatic.org [192.168.0.69], 
> reject=550 <[EMAIL PROTECTED]>... Relaying denied
> 
> --=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
> Michael K Patterson, HP Software Engineer 
>My opinions do not represent those of HP. If they do, it's coincidence. 
> -
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


Re: Sendmail questions (almost there!) Followup

1999-07-15 Thread Richard A Nelson
On Thu, 15 Jul 1999, Mike Patterson wrote:

> Ok, black is actually the 0.69, a machine dialing in with ppp. 0.1, the 
> relay, is "white". 

cool, we're on the same page then (I'm suddenly reminded of a Three Dog
Night song ;-} )
  
> So I made the change above on white in the file /etc/mail/sendmail.mc. 
> The file /etc/mail/sendmail.cf had no FEATURE lines in it, so I assumed 
> that it was the wrong file. 

ah well, 'tis been a long, hard week... sorry

> My .mc file now looks like:
> --
> divert(-1)
> divert(0)
> VERSIONID(`@(#)sendmail.mc  8.9.1a (Linux) 19981026')
> OSTYPE(debian)dnl
> LOCAL_CONFIG
> FEATURE(masquerade_envelope)dnl
> FEATURE(allmasquerade)dnl
> Cwchromatic.org
> FEATURE(use_cw_file)dnl
> FEATURE(use_ct_file)dnl
> FEATURE(nouucp)dnl
> MAILER_DEFINITIONS
> MAILER(local)dnl
> MAILER(smtp)dnl
> 
> LOCAL_CONFIG
> MASQUERADE_AS(chromatic.org)dnl
> ## Custom configurations below (will be preserved)
> 
> FEATURE(relay_entire_domain)dnl
> --

Looks good
  
> The output I'm getting in my mail.info file is now:
> --
> Jul 15 15:53:37 white sendmail[934]: PAA00934: ruleset=check_rcpt, 
> arg1=<[EMAIL PROTECTED]>, relay=black.chromatic.org [192.168.0.69], 
> reject=550 <[EMAIL PROTECTED]>... Relaying denied

hrm... did you run sendmailconfig and answer Y twice after editing
sendmail.mc?  (once to rebuild sendmail.cf from sendmail.mc, and once to
restart sendmail using the new sendmail.cf)

-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL


Sendmail questions (almost there!) Followup

1999-07-15 Thread Mike Patterson

Richard A Nelson ([EMAIL PROTECTED]) wrote:
: 1) Make sure /etc/resolv.conf is setup correctly
:if you can't do `host xxx.yyy.zzz', sendmail can't find
:it either

: 2) sendmail is restrictive by design - you have to tell it
:that you know the blood is upon your hands ;-}
:
:on the black machine (your apparent gateway), make sure
:this is in /etc/mail/sendmail.cf:
:   FEATURE(relay_entire_domain)dnl

Ok, black is actually the 0.69, a machine dialing in with ppp. 0.1, the 
relay, is "white". 

So I made the change above on white in the file /etc/mail/sendmail.mc. 
The file /etc/mail/sendmail.cf had no FEATURE lines in it, so I assumed 
that it was the wrong file. 

My .mc file now looks like:
--
divert(-1)
divert(0)
VERSIONID(`@(#)sendmail.mc  8.9.1a (Linux) 19981026')
OSTYPE(debian)dnl
LOCAL_CONFIG
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
Cwchromatic.org
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(nouucp)dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl

LOCAL_CONFIG
MASQUERADE_AS(chromatic.org)dnl
## Custom configurations below (will be preserved)

FEATURE(relay_entire_domain)dnl
--

The output I'm getting in my mail.info file is now:
--
Jul 15 15:53:37 white sendmail[934]: PAA00934: ruleset=check_rcpt, arg1=<[EMAIL 
PROTECTED]>, relay=black.chromatic.org [192.168.0.69], reject=550 <[EMAIL 
PROTECTED]>... Relaying denied

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
Michael K Patterson, HP Software Engineer 
   My opinions do not represent those of HP. If they do, it's coincidence. 
-