> >
> > 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',`forwardfileingroupwritabledi
> rpath')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
>
Well...
The changes in sendmail.mc will not be the same as one would make in
sendmail.cf,
Syntax may be different.
I should have added, but thought one would know...
cp /etc/sendmail.mc sendmail.mc.orig
same goes when hacking sendmail.cf, or anyother file, save a copy...
If you hacked sendmail.cf and it was working... Why change it.
It's the old tale... If it ain't broke don't fix it.
BTW, the original CBQ servr I did (before Brian's install CD) has;
HACK(popauth)dnl
As the last line which seems to inludes a file at;
/usr/share/sendmail-cf/hack/popauth.m4
Which reads;
======== file: /usr/share/sendmail-cf/hack/popauth.m4 =========
divert(0)
# Pop-before-smtp secondary access hash
Kpopauth hash -a<MATCH> /etc/mail/popip.db
LOCAL_RULESETS
SLocal_check_rcpt
# Put the address into cannonical form (even if it doesn't resolve to an
MX).
R$* $: $>Parse0 03 $1
R$* < $* > $* $: $1 < $2 . > $3
R$* < $* . . > $* $1 < $2 . > $3
# Test against pop-before-relay hash
R$* $: < $&{client_addr} >
R< $* > $(popauth $1 $)
R$* < MATCH > $#OK
============ end file /usr/share/sendmail-cf/hack/popauth.m4 =====
Gerald