2 messages in net.sourceforge.lists.courier-maildrop[maildropl] temporary failure. Comman...
FromSent OnAttachments
Rick EvansApr 24, 2004 1:14 pm 
Joaquim LaureanoApr 24, 2004 2:31 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] temporary failure. Command output: maildrop: signal 0x0BActions...
From:Rick Evans (rick@msmisp.com)
Date:Apr 24, 2004 1:14:44 pm
List:net.sourceforge.lists.courier-maildrop

Hello list,

I am running RedHat v9 along with Courier-Imap v3.0.3, mysql v3.23.58, postfix v2.0.19 & maildrop v1.6.3.

I used the how to guide by Serge Stepanov extensively. I have the mail delivery for virtual domains working properly if I provide virtual: in the postfix_transport table. However if I change that to be maildrop: instead, then I receive the error noted in the subject line.

I have compiled maildrop with the following options:

export CPPFLAGS="-I/usr/include" export LDFLAGS="-L/usr/lib" ./configure \ –with-etcdir= /usr/local/courier/etc \ --enable-maildropmysql \ --with-mysqlconfig=/usr/local/courier/etc/maildropmysql.config \ --enable-trusted-users="root vmail postfix" \ --enable-maildrop-uid=1004 \ --enable-maildrop-gid=1004 \ --enable-maildirquota \ --enable-restrict-trusted=0 \ --enable-DEBUG

Everything seemed to compile okay and install okay. I did the complile and the make as the user vmail and then a make install as root. the maildropmysql.config and the maildroprc are both located in /usr/local/courier/etc and owned by vmail.

I receive the following information when trying to debug as suggested by an archive I read.

gdb) r -d "rick@ohiotelnet.com" Starting program: /usr/local/courier/bin/maildrop -d "rick@ohiotelnet.com" Program received signal SIGSEGV, Segmentation fault. 0x4207a453 in strlen () from /lib/tls/libc.so.6 (gdb) bt #0 0x4207a453 in strlen () from /lib/tls/libc.so.6 #1 0x4207a195 in strdup () from /lib/tls/libc.so.6 #2 0x0805fce0 in get_user_mysql (cfg=0x80701c8, username=0xbffffad3 "rick@ohiotelnet.com") at mdmysql.c:102 #3 0x0805049c in find_in_mysql(Maildrop*, char const*) (maildrop=0x806e400, user=0xbffffad3 "rick@ohiotelnet.com") at main.C:335 #4 0x08051642 in run (argc=3, argv=0xbfffe204) at main.C:532 #5 0x0805e4e4 in Maildrop::trap(int (*)(int, char**), int, char**) ( func=0x80505bc <run>, argc=3, argv=0xbfffe204) at maildrop.C:72 #6 0x08051a39 in main (argc=3, argv=0xbfffe204) at main.C:1036 #7 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6

I am new to setting up this mail server and any help or guidance is greatly appreciated. If there is more information that I need to provide, I will be more than happy to do so.

Kind Regards,