Date: | Wed, 11 Feb 2004 15:49:09 -0700 |
From: | "Kevin P. Fleming" <kpfleming [...] backtobasicsmgmt.com> |
To: | bug-Mail-IMAPClient [...] rt.cpan.org |
Subject: | Broken IMAP server causes Mail::IMAPClient to truncate message body |
I've just written a small script to move messages from a 3Com NBX phone
system that exposes voice mail boxes as IMAP folders over to a Cyrus
shared folder.
First let me say that this module is way cool, and the documentation is
top-notch. I was able to get this script working in less than an hour,
although granted it's pretty simple. I'm not, however, using the
migrate() method, because...
The NBX's IMAP server (which claims to be tmail-4.1 or something like
that) incorrectly reports RFC822.SIZE 1179 for a message that is really
14851 bytes, and Mail::IMAPClient dutifully reports this mismatch and
truncates the message contents (retrieved via message_string()) at 1179
bytes. I edited IMAPClient.pm to remove the truncation, and things work
as expected, I get the full contents of my messages and can move them
over to my Cyrus folders.
Can you suggest a way that Mail::IMAPClient could offer this behavior as
an option, rather than having to edit the module code itself?