3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: maildrop: signal 0x0B...
FromSent OnAttachments
Chris MastersSep 25, 2003 10:46 am 
Erik BourgetSep 25, 2003 11:16 am 
Rob HuttonSep 25, 2003 5:53 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: maildrop: signal 0x0B - SOLVEDActions...
From:Chris Masters (roti@yahoo.com)
Date:Sep 25, 2003 10:46:50 am
List:net.sourceforge.lists.courier-maildrop

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,