Hi,

Thank you for correcting me.

I did as you noted, placed those lines in openbsd-submit.mc (at the bottom).

Here's the 'make' step, from /usr/share/sendmail/cf/, it had an error:

$ sudo make openbsd-submit.cf
rm -f openbsd-submit.cf
( cd /usr/share/sendmail/cf && /usr/bin/m4
/usr/share/sendmail/cf/../m4/cf.m4 op enbsd-submit.mc >
/usr/share/sendmail/cf/openbsd-submit.cf )
*** ERROR: FEATURE() should be before MAILER()
echo "### openbsd-submit.mc ###" >>openbsd-submit.cf
sed -e 's/^/# /' /usr/share/sendmail/cf/openbsd-submit.mc >>
openbsd-submit.cf
chmod 444 openbsd-submit.cf
$ ls openbsd-submit.
openbsd-submit.cf openbsd-submit.mc

Perhaps the error was because there wasn't an openbsd-submit.cf to 'rm' in
the first place? I'm not sure.

Either way, it created it still, from the 'ls'.

I went ahead and made a backup of /etc/mail/submit.cf and copied it into
(replacing) /etc/mail/submit.cf.

Should I be concerned about that error that popped up on the 'make' command
above?



On 11/3/07, Stuart Henderson <[EMAIL PROTECTED]> wrote:
>
> On 2007/11/03 05:59, Sean Darby wrote:
> > 1. cd /etc/mail/
>
> You are confused between /etc/mail (dir holding config files
> used by sendmail) and /usr/share/sendmail/cf (dir holding files
> used to *build* these config files).
>
> cd /usr/share/sendmail/cf
> copy submit.mc to openbsd-submit.mc and add these lines:
>
> define(`confCT_FILE', `-o MAIL_SETTINGS_DIR`'trusted-users')dnl
> FEATURE(`use_ct_file')dnl
>
> type 'make openbsd-submit.cf' and copy the resulting file to
> /etc/mail/submit.cf (not sendmail.cf as I originally wrote; typo,
> sorry and thanks ajacoutot for pointing it out).
>
>


-- 
Phone: 217.766.1312

Reply via email to