2 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildir creation code pro...
FromSent OnAttachments
Roux JoubertOct 18, 2005 3:53 am 
Devin RubiaOct 18, 2005 11:08 am 
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] maildir creation code problemActions...
From:Roux Joubert (rou@staff.telkomsa.net)
Date:Oct 18, 2005 3:53:37 am
List:net.sourceforge.lists.courier-maildrop

Hi

I have been struggling with a problem where mail delivered to maildirs via maildrop are created with filenames in excess of 70 chars (octets). Even though most clients do not have a problem with this, some PDA's these days enforces the 70 chars UID length limit (http://www.faqs.org/rfcs/rfc1939.html) and gives an error when popping mail.

I have tried in vain to find references to this on the web and mailing lists, and have come to the conclusion that it might be a bug. Could the maildrop developers or someone else with a fix please provide their comment on this?

For interest sake, I am using qmail-ldap, using the deliveryProgramPath variable (value = "maildrop maildrop_SPAM_filter") to deliver to the spam daemon. This used to be working on an older version of maildrop (1.3.8) but since we upgraded to 1.8.0 (and subsequently 2.0.0) we have had this problem. I have since eliminated the possibility that spamassassin could be the problem.

Delivering mail normally through qmail-local does not display this characteristic. See output for maildrop test below:

bash-3.00$ SENDER=sender@address && RECIPIENT=dashext_sender@address && HOST=domain && HOME=/var/qmail/mail/user_dir && LOCAL=emailpre EXT=dash_ext && maildrop -V9 /tmp/maildrop_SPAM_filter < /var/qmail/mail/mail1 Message start at 0 bytes, envelope sender=maildir maildrop: Attempting /tmp/maildrop_SPAM_filter Tokenized ; . . . Tokenized eof /tmp/maildrop_SPAM_filter(4): import "MAILDIRQUOTA" /tmp/maildrop_SPAM_filter(6): Evaluating IF condition. /tmp/maildrop_SPAM_filter(6): Operation on: 497 and 262144 - less than, result is 1 /tmp/maildrop_SPAM_filter(6): IF evaluated, result=1 /tmp/maildrop_SPAM_filter(8): Trapping exceptions. maildrop: Filtering through xfilter /usr/bin/spamc -f -u maildir /tmp/maildrop_SPAM_filter(8): Exception trapping removed. /tmp/maildrop_SPAM_filter(13): Evaluating IF condition. Matching /^X-Spam-Flag: *YES/ against Received: (qmail 22249 invoked from network); 18 Oct 2005 08:44:09 -0000 Not matched. Matching /^X-Spam-Flag: *YES/ against Received: from unknown ([127.0.0.1]) (envelope-sender <rc@serverdomain.net>) by O (qmail-ldap-1.03) with SMTP for <rc@serverdomain.net>; 18 Oct 2005 08:44:09 -0000 Not matched. Matching /^X-Spam-Flag: *YES/ against subject:adsfasdgsd Not matched. Matching /^X-Spam-Flag: *YES/ against X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on puck.serverdomain.net Not matched. Matching /^X-Spam-Flag: *YES/ against X-Spam-Level: Not matched. Matching /^X-Spam-Flag: *YES/ against X-Spam-Status: No, score=0.0 required=3.0 tests=MISSING_DATE autolearn=no version=3.0.4 Not matched. /tmp/maildrop_SPAM_filter(13): Search of ^X-Spam-Flag: *YES = 0 /tmp/maildrop_SPAM_filter(13): IF evaluated, result=0 /tmp/maildrop_SPAM_filter(26): Trapping exceptions. maildrop: Delivery complete.

[root@server]# ls -la new total 12 drwxr-xr-x 2 maildir maildir 4096 Oct 18 12:44 . drwx------ 8 maildir maildir 4096 Oct 18 10:22 .. -rw------- 1 maildir maildir 497 Oct 18 12:44 1129632457.M674202P9149V0000000000000051I00FEC3B6_0.puck.serverdomain.net,S=497

Regards,