27 Apr 2005, 14:02

Comments Off

Squirrelmail 1.4.4 is doing something wierd

I’m not sure what exactly. The thing is, I’ve got an email-message about 40k. The recipient can’t view the message, he’ll get a “Maximum execution time reached for mime.php” with a variable line number behind that. The line number is 824, 825 or 1453 or something like that, but it switches.

Now, one might assume something is wrong with the message. Since the message is quite long, it’s not time efficient to go through all of it. So as a test, I wanted the message in my own inbox, so I could test between which lines things would break. I opened up a telnet session with localhost on port 25, told it it was getting MAIL FROM: me and RCPT TO: was my address of the webmail server. Then I parsed the complete message.

I logged into Squirrelmail and tried the message… and it worked. Without any trouble, I got the message on my screen in less than a second. I thought I could simply diff the two mail-sources to see what’s wrong.

Since we’re using Cyrus IMAP, we could identify the messages and diff them. The diff didn’t produce anything spectacular, but for completeness, I’ll put them here, a bit anonymised.

1,2c1,15
< From bla@bla.com
< Return-Path: <original.sender@otherco.com>
---
> Return-Path: <tim@myco.com>
> Received: from mail.endhost.com ([unix socket])
> by endhost (Cyrus v2.1.18-IPv6-Debian-2.1.18-1) with LMTP; Wed, 27 Apr 2005 13:20:34 +0200
> X-Sieve: CMU Sieve 2.2
> Received: from localhost (endhost [127.0.0.1])
> by mail.endhost.com (Postfix) with ESMTP id 82D6BD000C
> for <tim@endhost.com>; Wed, 27 Apr 2005 13:20:34 +0200 (CEST)
> Received: from mail.endhost.com ([127.0.0.1])
> by localhost (mail.endhost.com [127.0.0.1]) (amavisd-new, port 10024)
> with LMTP id 08140-06 for <tim@endhost.com>;
> Wed, 27 Apr 2005 13:20:28 +0200 (CEST)
> Received: from test (endhost [127.0.0.1])
> by mail.endhost.com (Postfix) with ESMTP id C80C4D0004
> for <tim@endhost.com>; Wed, 27 Apr 2005 13:19:20 +0200 (CEST)
> X-Mailbox-Line: From bla@bla.com
50c63,64
< X-Spam-Status: No, hits=0.7 tagged_above=-99.0 required=5.0 tests=AWL,
---
> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at endhost.com, maintained by CIDEV v.o.f.
> X-Spam-Status: No, hits=0.8 tagged_above=-99.0 required=5.0 tests=AWL,
1036a1051
>

If you’ve got any ideas why this works for me but not for the original recipient, please let me know!

Update The IRC channel helped me, I had to disable HTML viewing. The code for this is apparantly a bit buggy, but it’s being rewritten. The other account had HTML display standard but my own account didn’t have it, so that’s why it worked for me but not for him.

 
  • Search


  • Twitter

    • @ArjenNL Awstats is not real-time :S Need it for monitoring, not trending. Kinda strange there are no solutions, really. in reply to ArjenNL 1 day ago
    • @ArjenNL Thx, but that's a mod_watch solution :) I don't want to use mod_watch, since it seems unmaintained :) in reply to ArjenNL 1 day ago
    • Anyone know of a maintained mod_watch-alike solution for Apache2? Preferably one that's packaged for Debian... 1 day ago
    • Seems that no month can pass without us calling our telephony provider about a screw up on their invoice to us... 1 day ago
    • @KroosSara Ik vond Inception erg stoer, ondanks Leonardo. Beetje Matrix-achtige sfeer, maar heel ander verhaal (uiteraard). 2 days ago
    • More updates...

    Powered by Twitter Tools

  • Calender

    April 2005
    M T W T F S S
    « Mar   May »
     123
    45678910
    11121314151617
    18192021222324
    252627282930  
  • Archives