last LF removed
carex <[email protected]> Thu, 28 Aug 2008 17:55:11 +0200
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am using Mail::Box::Manager to start automated actions when specific mails
are received.
But I have a serious problem when I want to use :
$mgr->copyMessage($outbox,$message)
or
$mgr->moveMessage($outbox,$message)
I am using Debian Etch, and Mail::Box version 2.068 (official .deb package)
And I am working with a mailbox of the type mbox (all mails in one file)
The $message is copied or moved to $outbox. No problem with that.
But the LF in the last line in /var/mail/<user> is erased !!
Eg.
Before the copy/move the last line is:
........
last line (followed by hexa LF)
After the copy/move the LF is erased
Problem is that when a new mail is coming in it will be added after the last
line. So it will look like this:
.....
last lineFrom [email protected] Thu Aug....
Altough it should look like this:
....
last line
From [email protected] Thu Aug....
So, because there is no LF to separate the last mail from the previous one,
the last mail will not be detected !! (because merged with the previous)
Did I miss something in the doc ???
What am I doing wrong ?
How could I solve this problem ?
Thanks for your time.
carex.
_______________________________________________
Mailbox mailing list
[email protected]
http://lists.utsl.gen.nz/mailman/listinfo.cgi/mailbox