Index: [Article Count Order] [Thread]

Date:  Thu, 28 Dec 2006 16:15:49 -0500
From:  Robert Fitzpatrick <lists (at mark) webtent.net>
Subject:  [coba-e:08377] Re: .forward: Group writable directory
To:  coba-e (at mark) bluequartz.org
Message-Id:  <1167340549.2198.36.camel (at mark) columbus.webtent.org>
In-Reply-To:  <19c501c72ab4$b3d662c0$0301a8c0@Jerrycp>
References:  <19c501c72ab4$b3d662c0$0301a8c0@Jerrycp>
X-Mail-Count: 08377

On Thu, 2006-12-28 at 13:16 -0600, Gerald Waugh wrote:
> > 
> > > > O DontBlameSendmail=forwardfileingroupwritabledirpath,
> > > > ForwardFileInUnsafeDirPath, ForwardFileInUnsafeDirPathSafe
> > > > 
> > > > That goes all into one line!
> > > > 
> > > > Save the changes and restart Sendmail.
> > > > 
> > > Is it wise to edit sendmail.cf?
> > > Wouldn't changes be made in sendmail.mc and then run make.
> > > 
> > 
> > Thanks Gerald, the server migration went without a hitch last 
> > night, great job on those servers! I'll probably be giving 
> > you a call about refurbishing the others.
> > 
> > I did already make the necessary changes to sendmail.cf in 
> > order to get my POP before SMTP working. Should this be done 
> > like you said. If so, how exactly does that work? What 
> > entries would be necessary to accomplish these things in 
> > sendmail.mc? Do you run make from the /etc/mail directory?
> 
> Well see how it goes...
> I believe CBQ is running a conventional version of CentOS sendmail.
> 
> The normal process is to 
>   cd /etc/mail
>   edit sendmail.mc 
>   then run 'make'
>   then restart sendmail

Yes, I was reading up on how to do this, but I am doing something wrong.
I have the following in my sendmail.mc file and after restarting
sendmail, I can only connect to the sendmail server from localhost. I
have tried with and without the first 'define' line shown here as I had
already placed the POP lines in my sendmail.cf file and they were
working. They look the same in my sendmail.cf file that works compared
to the one generated by make. Can you tell me what I'm doing wrong? I
put all this at the bottom of the sendmail.mc file.

define(`confDONT_BLAME_SENDMAIL',`forwardfileingroupwritabledirpath')dnl
LOCAL_RULESETS
SLocal_check_relay
R$*             $: < $&{client_addr} >
R< $* >         $(popauth $1 $)
R$* < MATCH >   $#OK
SLocal_check_rcpt
R$*             $: < $&{client_addr} >
R< $* >         $(popauth $1 $)
R$* < MATCH >   $#OK
LOCAL_CONFIG
Kpopauth hash -a<MATCH> /etc/mail/popip.db

-- 
Robert