[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sendmail questions (almost there!) Followup



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 (cowboy@vnet.ibm.com) 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=<mike@col.hp.com>, relay=black.chromatic.org [192.168.0.69], reject=550 <mike@col.hp.com>... 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 debian-user-request@lists.debian.org < /dev/null
> 

-- 
Bob Nielsen                 Internet: nielsen@primenet.com
Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
DM42nh                      http://www.primenet.com/~nielsen


Reply to: