2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop compiling pr...
FromSent OnAttachments
denis moellerFeb 7, 2005 5:02 am 
Doc WalkerFeb 7, 2005 7:56 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:Re: [maildropl] maildrop compiling problem?!Actions...
From:Doc Walker (rx-c@wvfans.net)
Date:Feb 7, 2005 7:56:35 pm
List:net.sourceforge.lists.courier-maildrop

denis moeller wrote:

recently I've been trying to compile version 1.7.0, no errors, no warnings. But whenever I ran the program, it broke with a segfault - I watched at the code and examined that it breaks when packing the sql-statement for getting the user's maildir in a string. The agument "username" of get_user_mysql() simply was NULL - everytime, no matter what arguments I ran the program with. After making some debug output in run(), I found the bug: the code gets the right "-d", but it uses the following space as optarg instead of the username - what the hell? I tried a different version and the same thing happened. Since I'm not THAT into writing C++ in unix, I'm sure this must be something with my compiler environment ... Do you have any idea what I did wrong? I do have Suse 9.2 installed. If you need more info about my system to get an idea, let me know. :-) Thanks. P.S. I've seen quite a bunch of users online posting questions about the same thing: maildrop crashing. Maybe they all have the same problem!

Have you tried using Maildrop with the lookup in /etc/userdb (eliminate the MySQL lookup to see if it's related to that portion of the code)?

I just got Maildrop 1.7.0 running this weekend, and it works great.

System: Mac OS X 10.3.6 (7R28) Kernel: Darwin 7.6.0 Apache 1.3.29 PHP 4.3.2 MySQL 4.1.8 Perl 5.8.1 PCRE 5.0 Postfix 2.2-20041212 Courier-IMAP 3.0.8 SquirrelMail 1.4.3a Python 2.3 GNU Mailman 2.1.5 Maildrop 1.7.0

$ maildrop -v

maildrop 1.7.0 Copyright 1998-2003 Double Precision, Inc. GDBM extensions enabled. Enabled Berkeley DB instead of GDBM extensions. Maildir quota extension enabled. Virtual user database extension enabled. This program is distributed under the terms of the GNU General Public License. See COPYING for additional information.

Rx