2 messages in net.sourceforge.lists.courier-users[courier-users] Help please! Strange ...
FromSent OnAttachments
Bearcat M. SandorAug 30, 2005 12:16 pm 
Bearcat M. SandorAug 30, 2005 12:21 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:[courier-users] Help please! Strange glibc errors generated by courier-mta and maildrop 06x errorActions...
From:Bearcat M. Sandor (Lin@feline-soul.net)
Date:Aug 30, 2005 12:16:00 pm
List:net.sourceforge.lists.courier-users

Folks,

I've been trying to get courier-mat working for a week now. I'd like some help or at least a direction.

I am running Sourcemage Linux (Gentoo like) and everything is compiled from source using 64-bit code.

I have an amd-64 3000 running on a asus a8n-sli deluxe board with 1 gig of memory.

Versions Linux: 2.6.13 gcc: 3.4.4 glibc (all locals included): 2.3.5 courier: 0.51.0 courier-authlib: 0.57 maildrop: 1.81

Symptoms: Mail is stuck in my queue. I get the same mail from days ago in my queue over and over while my queue fills up. Deleting the files in /var/courier/msgs and /var/courier/msgq does not help. Doing a "courier flush" does not empty the queue either. Doing a 'mailq' as root will tell me i have about 1000 messages in the queue and looking at the log files i see things like "queuedelivering=400, inprogress=4". The value for queuedelevering never equals the count by the mailq command.

A 'courier-flush' will sometimes reduce this number, but since the mail doesn't seem to be leaving the queue i get mostly older messages.

I can send mail just fine.

Debugging: Looking through /var/log/mail/current (i'm using metalog) i see the following three things frequently, but not always and these three messages never appear together:

1) Aug 28 10:07:41 [courierlocal] id=00000000000AFB39.0000000043108F73.000060EF,from=<quil@quilt.net>,addr=<marg@feline-soul.net>: *** glibc detected *** free(): invalid pointer: 0x00007fffffd18eb0 *** Aug 28 10:07:41 [courierlocal]

2) Aug 28 11:00:11 [postfix/local] CA1FA8861A: to=<bear@TheDragonsEdge.com>, orig_to=<e-co@thedragonsedge.com>, relay=local, delay=419430, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock. )

3)Aug 30 00:11:54 [courierlocal] id=0000000000029B1C.000000004313BB32.00004E12,from=<>,addr=<bear@feline-soul.net>: maildrop: signal 0x06

#2 is rare, and #1 and #3 are quite frequent.

I have recompiled glibc, gcc, courier, courier-authlib many times. I am authenticating via plain.

Can anyone give me a hand? I'm not sure how i can fix this. Please let me know if there is any more information i can provide or have left out.

Thanks in advance. Please don't respond to me via direct email as i may not get it anyway.