Emails get stuck in the incoming queue (mqueue.in)

Stefan Rapp stefan.rapp at HRZ.UNI-DORTMUND.DE
Mon Mar 21 17:00:16 GMT 2005


We have also a problem with our installation over here. We see stuck
mails in mqueue.in that are processed over and over again. The only
solution is to move them away by hand.

I tried to get some debug output from mailscanner using some of the
offending mails (all of them are marked by our virus scanners). The
last lines are:

format error: can't find EOCD signature
 at /opt/MailScanner/bin/MailScanner line 568
format error: can't find EOCD signature
 at /opt/MailScanner/bin/MailScanner line 568
Can't call method "print" on an undefined value at /sw/sun4_59/cyrus-2.2.10/lib/
perl5/site_perl/5.8.6/MIME/Entity.pm line 1824.

The corresponding lines from Entity.pm are:

    ### Singlepart type with parts...
    ###    This makes $ent->print handle message/rfc822 bodies
    ###    when parse_nested_messages('NEST') is on [idea by Marc Rouleau].
    elsif ($self->parts) {
        my $need_sep = 0;
        my $part;
        foreach $part ($self->parts) {
            $out->print("\n\n") if $need_sep++;
            $part->print($out);
        }
    }

I think the Mailscanner process gets aborted and the same mail are
processed again from another process. Until now i didn't find a
single message to reproduce the problem, perhaps tomorrow ...

        Stefan


PS: Here is the version output:

Running on
SunOS mx2 5.9 Generic_118558-04 sun4u sparc SUNW,Sun-Fire-280R
This is Perl version 5.008006 (5.8.6)

This is MailScanner version 4.40.6
Module versions are:
1.00    AnyDBM_File
1.14    Archive::Zip
1.03    Carp
1.119   Convert::BinHex
1.00    DirHandle
1.05    Fcntl
2.73    File::Basename
2.08    File::Copy
2.01    FileHandle
1.06    File::Path
0.16    File::Temp
1.29    HTML::Entities
3.45    HTML::Parser
2.30    HTML::TokeParser
1.21    IO
1.10    IO::File
1.123   IO::Pipe
1.66    Mail::Header
3.05    MIME::Base64
5.417   MIME::Decoder
5.417   MIME::Decoder::UU
5.417   MIME::Head
5.417   MIME::Parser
3.03    MIME::QuotedPrint
5.417   MIME::Tools
0.10    Net::CIDR
1.08    POSIX
1.77    Socket
0.05    Sys::Syslog
1.02    Time::localtime

Optional module versions are:
1.811   DB_File
1.10    Digest
1.01    Digest::HMAC
2.33    Digest::MD5
2.10    Digest::SHA1
0.44    Inline
0.17    Mail::ClamAV
3.000002        Mail::SpamAssassin
0.05    Sys::Syslog
1.02    Time::localtime

Optional module versions are:
1.811   DB_File
1.10    Digest
1.01    Digest::HMAC
2.33    Digest::MD5
2.10    Digest::SHA1
0.44    Inline
0.17    Mail::ClamAV
3.000002        Mail::SpamAssassin
1.997   Mail::SPF::Query
0.15    Net::CIDR::Lite
0.48    Net::DNS
0.32    Net::LDAP
1.94    Parse::RecDescent
0.30    SAVI
1.2     Sys::Hostname::Long
2.46    Test::Harness
0.54    Test::Simple
1.95    Text::Balanced
1.35    URI


+------------------------+--------------------------------------+
| Stefan Rapp            | E-Mail:  stefan.rapp at uni-dortmund.de |
| Universitaet Dortmund  | Phone:   +49 231 755 4668            |
| Hochschulrechenzentrum | Fax:     +49 231 755 2731            |
| D-44221 Dortmund       | PGP-Key: 0xE01B0621                  |
+------------------------+--------------------------------------+

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list