[rt-users] MIME::Parser: can't open tmpfile: Invalid argument

Matt Jonkman matt at infotex.ws
Wed Mar 26 08:31:36 EST 2003


I fiddled around with what the original poster mentioned and got it to
work. Although I'm really curious why this is.

If you find this block in lib/RT/Interface/Email.pm:


    # If content length is <= 20000 bytes, store each msg as in-core
scalar;
    # Else, write to a disk file (the default action):
  
    $parser->output_to_core(20000);


And just add

    $parser->tmp_to_core(20000);

Right below that it'll work like a champ.

Matt


-----Original Message-----
From: rt-users-admin at lists.fsck.com
[mailto:rt-users-admin at lists.fsck.com] On Behalf Of Sergey Gurov
Sent: Wednesday, March 26, 2003 7:02 AM
To: rt-users at lists.fsck.com
Subject: RE: [rt-users] MIME::Parser: can't open tmpfile: Invalid
argument


Hi,

We have the same problem on the same configuration and I asked for help
a couple of weeks ago.
I suspect that problem is in rigths of 'mailnull' user. But what must be
tuned I didn't manage to find.

Sergey.

>-----Original Message-----
>From: Matt Jonkman [mailto:matt at infotex.ws] 
>Sent: Wednesday, March 26, 2003 8:03 AM
>To: rt-users at lists.fsck.com
>Subject: [rt-users] MIME::Parser: can't open tmpfile: Invalid argument
>
>
>I get this error when anything but a plain text email comes in to an
>alias. 
>
>
>   ----- Transcript of session follows -----
>MIME::Parser: can't open tmpfile: Invalid argument
>554 5.3.0 unknown mailer error 255
>
>
>HTML, rtf, or attachments seem to cause this. Everytime.
>
>I'm running rt 2.0.15 on Freebsd 5.0, perl 5.6.1.
>
>I saw an earlier post regarding this with no answers. Can anyone help
>out there?
>
>Thanks
>
>Matt
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
>
>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>

_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list