I've never had this problem, but assuming your [/usr/local/rt/lib/RT/EmailParser.pm:626 is:

sub DESTROY {
    my $self = shift;
    File::Path::rmtree([EMAIL PROTECTED]>{'AttachmentDirs'}}],0,1);
}

Assuming the email you are passing through is valid and has attachments, AttachmentDirs should have been set in _SetupMIMEParser. I would do two things:

1) Make sure the user running mailgate does not have permission issues in /tmp. 2) Put some comments around the code in _SetupMIMEParser and see is tmpdir is being set, what is it being set to, and if AttachementDirs is being pushed in properly.



Quoting Neil Marjoram <[EMAIL PROTECTED]>:

Suddenly at 8am this morning my RT 3.6.6 has stopped accepting email
requests. I have  checked for any updates to perl etc but have found
nothing, debug output shows :

cat /usr/bin/test |/etc/smrsh/rt-mailgate --queue itsupport --action
correspond --url http://rt.adastral.ucl.ac.uk/ --debug

Connecting to http://rt.adastral.ucl.ac.uk//REST/1.0/NoAuth/mail-gateway
at /etc/smrsh/rt-mailgate line 102, <> line 1.

Can't use an undefined value as an ARRAY reference at
/usr/local/rt/lib/RT/EmailParser.pm line 626.

Stack:
   [/usr/local/rt/lib/RT/EmailParser.pm:626]
   [/usr/lib/perl5/5.8.8/Carp.pm:269]
RT server error.

The RT server which handled your email did not behave as expected. It
said:

Can't use an undefined value as an ARRAY reference at
/usr/local/rt/lib/RT/EmailParser.pm line 626.

Stack:
   [/usr/local/rt/lib/RT/EmailParser.pm:626]
   [/usr/lib/perl5/5.8.8/Carp.pm:269]

I have looked to see if there are any changes in sendmail, smrsh etc but
again found nothing. Can anyone help me with this?

Many thanks,

Neil.

--
Neil Marjoram
Systems Manager
Adastral Park Campus
University College London
Ross Building
Adastral Park
Martlesham Heath
Ipswich - Suffolk
IP5 3RE

Tel: 01473 663711
Fax: 01473 635199


Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com





--
Lawrence McAbee
X-PGP-Fingerprint: 1605 D207 E39D 4D7E 79C4 D65D 3EBC 365E BFA8 CC17


Attachment: pgpbHTyfwps9o.pgp
Description: PGP Digital Signature

Attachment: binvhKJh5NuPH.bin
Description: PGP Public Key

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to