3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop Dropping and Tru...
FromSent OnAttachments
darr...@accenture.comNov 14, 2005 5:39 pm 
Sam VarshavchikNov 14, 2005 6:53 pm 
ListsDec 13, 2005 4:44 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] Maildrop Dropping and Truncating MessagesActions...
From:darr...@accenture.com (darr@accenture.com)
Date:Nov 14, 2005 5:39:41 pm
List:net.sourceforge.lists.courier-maildrop

Hello All,

I have been using Postfix/Courier/Maildrop/Spamassassin/Squirrelmail for a couple years now as a web based email system and it works very well for the most part.

The problem:

It appears that maildrop truncates and drops messages a couple months after a user account is active. Over the course of one day, messages of all lengths and sizes are delivered without problems. The next day, the end of certain message bodies are truncated and some are simply never delivered. I have absolutely no clue why this happens, but I think I have isolated the problem down to the maildrop piece.

The install:

I use the default versions of postfix and squirrelmail that come with Fedora Core 3. I compile maildrop, spamassassin, and courier-imap. I make NO modifications to any of the config files for maildrop and courier-imap.

The facts:

Fedora Core 3

[root@cent ~]# rpm -q squirrelmail

squirrelmail-1.4.6-0.cvs20050812.1.fc3

[root@cent ~]# rpm -q maildrop

maildrop-1.7.0-1.3

[root@cent ~]# rpm -q spamassassin

spamassassin-3.0.1-1

[root@cent ~]# rpm -q courier-imap

courier-imap-3.0.8-1.3

**************************************************

The error condition - Message Dropped.

Here is an example of a message that reports to be delivered by postfix, but DOES NOT appear anywhere in my Maildir.

Message received from postfix:

/var/log/maillog

Nov 12 14:41:03 cent postfix/qmgr[2265]: 6448D177957: from=<te@bellsouth.net>, size=2289, nrcpt=1 (queue active)

Nov 12 14:41:03 cent spamd[2318]: connection from localhost.localdomain [127.0.0.1] at port 34694

Nov 12 14:41:03 cent spamd[2318]: info: setuid to darrenshoch succeeded

Nov 12 14:41:03 cent postfix/smtpd[18597]: disconnect from imf16aec.mail.bellsouth.net[205.152.59.64]

Nov 12 14:41:03 cent spamd[2318]: processing message <2005@mail.bellsouth.net> for darrenshoch:546.

Nov 12 14:41:09 cent spamd[2318]: clean message (-0.4/5.0) for darrenshoch:546 in 6.1 seconds, 2360 bytes.

Nov 12 14:41:09 cent spamd[2318]: result: . 0 - AWL,BAYES_00,DNS_FROM_RFC_POST,NO_REAL_NAME scantime=6.1,size=2360,mid=<20051112224101.PNOI23329.ibm56aec.bellsouth. ne@mail.bellsouth.net>,bayes=1.57659596489168e-08,autolearn=no

Nov 12 14:41:10 cent postfix/local[18601]: 6448D177957: to=<darr@light.litemail.org>, orig_to=<darr@litemail.org>, relay=local, delay=7, status=sent (delivered to command: /usr/bin/maildrop -d "$USER" -f "$SENDER" "$EXTENSION")

Nov 12 14:41:10 cent postfix/qmgr[2265]: 6448D177957: removed

Nothing in the maildir directory

# pwd

/home/darrenshoch/Maildir/cur

[root@cent cur]# grep bellsouth *

[root@cent cur]#

**********************************************

The error condition - Message Truncated -

Here is an example of a logwatch report that is simply "cut off". Once again, postfix reports the message is delivered, but maildrop has it truncated.

/var/log/maillog

Nov 14 04:02:17 cent postfix/qmgr[2265]: 6161A1779DF: from=<ro@light.litemail.org>, size=17645, nrcpt=1 (queue active)

Nov 14 04:02:17 cent spamd[2309]: connection from localhost.localdomain [127.0.0.1] at port 35323

Nov 14 04:02:17 cent spamd[2309]: info: setuid to darrenshoch succeeded

Nov 14 04:02:17 cent spamd[2309]: processing message <2005@light.litemail.org> for darrenshoch:546.

Nov 14 04:02:24 cent spamd[2309]: clean message (-5.8/5.0) for darrenshoch:546 in 7.3 seconds, 17438 bytes.

Nov 14 04:02:24 cent spamd[2309]: result: . -5 - ALL_TRUSTED,AWL,BAYES_00 scantime=7.3,size=17438,mid=<20051114120217.6161A1779DF@light.litemail.o rg>,bayes=0,autolearn=ham

Nov 14 04:02:25 cent postfix/local[25041]: 6161A1779DF: to=<darr@light.litemail.org>, orig_to=<root>, relay=local, delay=8, status=sent (delivered to command: /usr/bin/maildrop -d "$USER" -f "$SENDER" "$EXTENSION")

The message is truncated by maildrop:

[root@cent cur]# cd /home/darrenshoch/Maildir/cur/

[root@cent cur]# more 1131967615.M725815P24593V000000000000FD00I00143770_0.cent\,S\=45056\:2\, S

<snip>

Failed password for root from ::ffff:210.127.243.227 port 60882 ssh2

Failed password for root from ::ffff:210.127.243.227 port 33381 ssh2

Failed password for root from ::ffff:210.127.243.227 port 34074 ssh2

Failed password for root from ::ffff:210.127.243.227 port 34960 ssh2

Failed p

**************************

I really do not know what to do anymore. If I can't resolve this, I'll have to use a different system (which I don't want to do).

Thanks,

Darren