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

Sendmail questions (almost there!) Followup



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. 
-----------------------------------------------------------------------------


Reply to: