for those who are interested:
If you are using solaris 8 use the latest gcc from sun
freeware (gcc 3.3) because maildrop is not backward
compatible with earlier versions of gcc.
I installed mysql from source using standard configure
etc.
If you get an elf error; make sure you have
/usr/ccs/bin before /usr/local/bin because gnu strip
doesn't work:
# echo $PATH
/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/usr/ucb
This setup works with mysql nicely.
I do have 3 questions though:
1) Do I HAVE to have homedirectory_field in my
database. Why can't this be static? The same goes with
uid and gid (I know these have default but I still
have to have the uid/gidnumber_field values in the
config and in the database). Is this the same with
LDAP config?
2) Is there any documentation (other than the example
config and the source on mysql and ldap
functionality)? Is it new?
3) Does anyone have a maildroprc config that creates
maildirs if they don't exist? I can remember seeing
one but it had errors.
Thanks for any help.
Chris
--- Erik Bourget <er...@midmaine.com> wrote:
Chris Masters <roti...@yahoo.com> writes:
Thanks erik, I should have known:
(gdb) r -d "cmasters@localhost"
Starting program: /usr/local/bin/maildrop -d
"cmasters@localhost"
Program received signal SIGSEGV, Segmentation
fault.
get_user_mysql (cfg=0x0, username=0xffbefe03
"cmasters@localhost")
at mdmysql.c:29
29 mysql=mysql_real_connect(&mysql_buf,
cfg->hostname, cfg->dbuser, cfg->dbpw,
Current language: auto; currently c
(gdb)
During compilation it found mysql and ldap
libraries
(that I want to use in the future, but not during
initial testing).
I haven't told it to do any mysql lookups, I only
have
the maildroprc. Why is it trying to do this?
TIA, chris
Sounds like it was configured with
--enable-maildropmysql. Try to
reconfigure (or go into config.h in the maildrop/
subdir and comment out the
#define USEMYSQL , then make clean, then make).
Good luck,