[imp] problem with postfix undelivered message

Michael M Slusarz slusarz at bigworm.colorado.edu
Thu Oct 9 09:54:13 PDT 2003


Quoting Kenneth Culver <kculver at sweetdreamsracing.biz>:

| Quoting Michael M Slusarz <slusarz at bigworm.colorado.edu>:
|
| > Quoting Kenneth Culver <kculver at sweetdreamsracing.biz>:
| >
| > | Hi,
| > |     I'm having a problem with a postfix "undelivered for 12 hours
| > | message." The
| > | original message was sent using IMP and contained a single jpeg as an
| > | attachment. When I try to view the message that postfix outputs, I
| get
| > | this:
| > |
| > | Fatal error: Call to a member function on a non-object in
| > | /usr/local/apache2/mail/horde/imp/lib/MIME/Viewer/status.php on line
| 55
| > |
| > | I looked at that line, and basically there's a variable "part2"
| that's
| > | false,
| > | and of course when you try to call a member function of a null
| object,
| > | errors
| > | occur. I think somehow IMP/horde are parsing the mail wrong. The
| original
| > | mail,
| > | with mime formatting is embedded in the message from postfix as an
| > | attachment,
| > | and the message from postfix also has mime encoding. Any idea how to
| fix
| > | this?
| >
| > Would you be willing to send me the full text of this message?  Sounds
| like
| > either a malformed report message or else there is something in that
| > message that we aren't catching properly.
| >
|
| I have attached a copy of that message.
|
| Let me know what you think.
|
| Ken

OK, I see... That is a malformed message - the first part of the report does
not have a correct MIME boundary so the message does not conform to the
RFC.  I have added a check for this which outputs an error message on
encountering a malformed message.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list