[luau] Sendmail building troubles...
Ben Beeson
beesond001 at hawaii.rr.com
Sun May 5 02:48:58 PDT 2002
Aloha all,
I'm rebuilding sendmail with a new version and I am having two small
troubles when compiling and starting it. When I build and install sendmail,
I get the following error when I initialize it:
[root at VALinux sendmail]# /usr/sbin/sendmail -v -bi
/etc/mail/sendmail.cf: line 201: readcf: unknown option name
AutoRebuildAliases
Warning: Option: AuthOptions requires SASL support (-DSASL)
Warning: .cf file is out of date: sendmail 8.12.3 supports version 10, .cf
file is version 9
[root at VALinux sendmail]#
When compiling sendmail, I get :
[root at VALinux sendmail]# sh Build && sh Build install
Configuration: pfx=, os=Linux, rel=2.4.9-31smp, rbase=2, rroot=2.4,
arch=i686, sfx=, variant=optimized
Making in
/usr/local/src/SendMail8.12.3/sendmail-8.12.3/obj.Linux.2.4.9-31smp.i686/sendmail
make: Nothing to be done for `all'.
Configuration: pfx=, os=Linux, rel=2.4.9-31smp, rbase=2, rroot=2.4,
arch=i686, sfx=, variant=optimized
Making in
/usr/local/src/SendMail8.12.3/sendmail-8.12.3/obj.Linux.2.4.9-31smp.i686/sendmail
if [ ! -d /etc/mail ]; then mkdir -p /etc/mail; else :; fi
install -c -o bin -g bin -m 444 helpfile /etc/mail/helpfile
if [ ! -d /etc/mail ]; then mkdir -p /etc/mail; else :; fi
install -c -o root -g bin -m 644 statistics /etc/mail/statistics
install -c -o root -g smmsp -m 2555 sendmail /usr/sbin
for i in /usr/bin/newaliases /usr/bin/mailq /usr/bin/hoststat
/usr/bin/purgestat; do \
rm -f $i; \
ln -s /usr/sbin/sendmail $i; \
done
install -c -o bin -g bin -m 444 sendmail.0 /usr/man/man8/sendmail.8
install -c -o bin -g bin -m 444 aliases.0 /usr/man/man5/aliases.5
install -c -o bin -g bin -m 444 mailq.0 /usr/man/man1/mailq.1
install -c -o bin -g bin -m 444 newaliases.0 /usr/man/man1/newaliases.1
I cannot get the "AuthOptions" to work because I cannot figure out which m4
macro I need to edit so I can add the compiler flag "-DSASL" to "CFLAGS." I
did find a line in the file "defines.m4" that looks like a good candidate,
only adding the flag to that line didn't fix it. Note the line: "make:
Nothing to be done for `all'." which is curious, I thought the change to the
m4 file would change the compiler flags and thus force a rebuild, so I am
wondering if my change actually was recognized as a change that needed to be
addressed by the compiler.
The second error involves the error referred to in:
"/etc/mail/sendmail.cf: line 201: readcf: unknown option name
AutoRebuildAliases"
I suppose I could turn this option off in sendmail.mc, but I'd like the
aliases to be rebuilt when I reboot once in a while.
Any ideas would be appreciated.
Mahalos in advance,
Ben
More information about the LUAU
mailing list