LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail build problem (https://www.linuxquestions.org/questions/linux-software-2/sendmail-build-problem-91353/)

budzynm 09-10-2003 03:18 PM

sendmail build problem
 
I'm trying to manually update my sendmail to 8.12.9--I'm little paranoid about security. My distro is RH7.0; with a fairly recent kernel that I rolled myself.

Anyway, I compile it fine, and installed it and I get the following errors when I try to launch it:

Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 163: readcf: map mailertable: class hash not available
554 5.0.0 /etc/mail/sendmail.cf: line 166: readcf: map virtuser: class hash not available
554 5.0.0 /etc/mail/sendmail.cf: line 171: readcf: map access: class hash not available
Warning: Option: AuthOptions requires SASL support (-DSASL)
[FAILED]

I'm not too concerned about the SASL option, its the class hash thing that's throwing me for a loop. Any suggestions? What did I miss?

Thanks in advance.
-mark

Sticky Toejam 09-10-2003 11:03 PM

You need to compile sendmail to use hashes. I don't usually compile sendmail from an RPM but from a tar ball. If you extract sendmail (say v8.12.9) into /usr/local/src you need to put a file called "site.config.m4" into /usr/local/src/sendmail-8.12.9/devtools/Site/

This "site.config.m4" file contains:

APPENDDEF(`confMAPDEF',`-DMAP_REGEX')

This will compile sendmail with hash turned on. I'm fairly confident there is some way to do this via an RPM but I don't know how.


All times are GMT -5. The time now is 01:23 AM.