Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Re: Re: Sympa choking on non-encoded header data?
- From: Liam Kirsher <address@concealed>
- To: Olivier Salaün - CRU <address@concealed>
- Cc: address@concealed
- Subject: [sympa-users] Re: Re: Sympa choking on non-encoded header data?
- Date: Mon, 25 Jun 2007 23:01:13 -0700
Olivier,
Olivier Salaün - CRU wrote:
> Hi,
>
> I had a look at your
> http://www.numenet.com/sympa-err/spool/tmp/13885.stderr file and it
> seems to be the output of your archived.pl process, not sympa.pl. Did
> you notice if your archived.pl process died ?
No, I'm pretty sure archived.pl was still running. Also, that message
would/should not have been archived, since it was spam, and was not sent
from any list member.
> You should find the message that caused the problem in your 'outgoing'
> sympa spool. It might be a different one (though the From header field
> address@concealed seems to be the same).
Well, I found the message in the spool/msg. I don't think there was
anything in the outgoing directory.
http://www.numenet.com/sympa-err/spool/msg/
>
> The error originates from the MailTools perl modules that is probably
> unable to parse the From SMTP header field because it includes 8bit
> characters but it is not properly encoded. We were not able to
> reproduce on our server ;
Thank you for trying!
I imagine I could definitively recreate the problem by putting the
message back in the spool/msg dir and seeing what happened. I was
pretty well satisfied that it was causing the problem. Is that how you
tested it?
> which means that the version of MailTools you're using is probably too
> old. Please send us the output of the "make" command (in the sympa-xx
> sources directory) ; it will include the versions for all third party
> perl modules.
[liamk@pythagoras sympa-5.3b.4]$ make
######################## W A R N I N G ######################
## If it is the first time you install Sympa on this server :
## It may take a while....
## The reason is that Sympa requires many Perl modules that
## are not distributed with the standard Perl distribution.
## We'll try to install these modules automatically...
## If some modules cannot be installed automatically, (probably
## because of the 'make test'), try downloading them from the
## CPAN website (http://search.cpan.org) and install them manually.
#############################################################
Please hit <Enter> to proceed
Checking needed CPAN modules ...
/usr/bin/perl ./check_perl_modules.pl
******* Check perl for SYMPA ********
Checking for PERL version:
-----------------------------
your version of perl is OK (5.008 >= 5.005)
Checking for REQUIRED modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Archive::Zip Archive-Zip OK (1.16 >= 1.05)
CGI CGI OK (2.89 >= 2.52)
Crypt::CipherSaber CipherSaber OK (0.61 >= 0.50)
DBD::mysql Msql-Mysql-modulesOK (2.9004 >= 2.0407)
DBI DBI OK (1.48 >= 1.06)
DB_File DB_FILE OK (1.806 >= 1.75)
Digest::MD5 Digest-MD5 OK (2.36 >= 2.00)
Encode Encode OK (1.83 >= 1.0)
FCGI FCGI OK (0.67 >= 0.67)
File::Spec File-Spec OK (3.19 >= 0.8)
IO::Scalar IO-stringy OK (2.105 >= 1.0)
LWP libwww-perl OK (5.65 >= 1.0)
Locale::TextDomain libintl-perl OK (1.11 >= 1.0)
MHonArc::UTF8 MHonArc OK (2.6.10 >= 2.6.0)
MIME::Base64 MIME-Base64 OK (3.07 >= 3.03)
MIME::Charset MIME-Charset OK (0.044 >= 0.04.1)
MIME::EncWords MIME-EncWords OK (0.040 >= 0.040)
MIME::Tools MIME-tools OK (5.420 >= 5.419)
Mail::Internet MailTools OK (1.74 >= 1.51)
Regexp::Common Regexp-Common OK (2.119 >= 1.0)
Template Template-ToolkitOK (2.14 >= 1.0)
XML::LibXML XML-LibXML OK (1.58 >= 1.0)
Checking for OPTIONAL modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Bundle::LWP LWP OK (1.09 >= 1.09)
Constant subroutine CGI::XHTML_DTD redefined at
/usr/lib/perl5/5.8.0/constant.pm line 108.
CGI::Fast CGI CGI::Fast doesn't return 1 (check it).
Crypt::OpenSSL::X509 Crypt-OpenSSL-X509OK (0.4 >= 0.3.1)
DBD::Oracle DBD-Oracle was not found on this system.
Setting FTP Passive mode
## You need root privileges to install DBD::Oracle module. ##
## Press the Enter key to continue checking modules. ##
DBD::Pg DBD-Pg OK (1.13 >= 0.90)
DBD::SQLite DBD-SQLite was not found on this system.
## You need root privileges to install DBD::SQLite module. ##
## Press the Enter key to continue checking modules. ##
DBD::Sybase DBD-Sybase was not found on this system.
## You need root privileges to install DBD::Sybase module. ##
## Press the Enter key to continue checking modules. ##
File::NFSLock File-NFSLock was not found on this system.
## You need root privileges to install File::NFSLock module. ##
## Press the Enter key to continue checking modules. ##
IO::Socket::SSL IO-Socket-SSL True Value
Net::LDAP perl-ldap OK (0.31 >= 0.27)
Net::SMTP libnet OK (2.29 >= 1.0)
Net::SSLeay NET-SSLeay OK (1.25 >= 1.16)
SOAP::Lite SOAP-Lite OK (0.60 >= 0.60)
******* NOTE *******
You can retrive all theses modules from any CPAN server
(for example ftp://ftp.pasteur.fr/pub/computing/CPAN/CPAN.html)
Making src
making in src...
make[1]: Entering directory `/usr/local/src/sympa-5.3b.4/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/sympa-5.3b.4/src'
Making man
making in doc/man8/...
make[1]: Entering directory `/usr/local/src/sympa-5.3b.4/doc/man8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/sympa-5.3b.4/doc/man8'
making in po/....
make[1]: Entering directory `/usr/local/src/sympa-5.3b.4/po'
Checking available locales ...
#############################################################################################################
## IMPORTANT : Sympa is not able to use all supported locales because
they are not properly configured on this server
## Herer is a list on NOT supported locales :
## eu
## On Debian you should run the following command : dpkg-reconfigure locales
## On others systems, check /etc/locale.gen or /etc/sysconfig/i18n files
#############################################################################################################
make[1]: Leaving directory `/usr/local/src/sympa-5.3b.4/po'
>
> Please also remind us what version of Sympa you're using.
5.3b4
Thanks for looking at this.
Liam
>
> Thanks.
>
> Liam Kirsher a écrit :
>> David Verdin wrote:
>>
>>> [...]
>>>
>>>> I stopped and restarted sympa, and initially there were two sympa.pl
>>>> processes (as expected) but then one of them died again, and the
>>>> messages
>>>> in ~sympa/spool/msg were still just sitting there not being processed.
>>>> At this point some additional files showed up in the ~sympa/spool/tmp
>>>> directory, and one of them also had the line quoted below about
>>>> "Unrecognized line... Message.pm line 89".
>>>>
>>>> I removed a bunch of spam messages from the msg directory and was able
>>>> to restart sympa normally, and now it's running. So, I think that one
>>>> of the messages was causing a problem.
>>>>
>>>> You can check out the files here: http://www.numenet.com/sympa-err
>>>>
>>>> In ~sympa/spool/tmp I found three files:
>>>> 13885.stderr
>>>> 13886.stderr
>>>> sympa_dump.1181582290.23287
>>>>
>>>> The last line of 13885.stderr is:
>>>>
>>>>
>>>>> Unrecognised line: address@concealed> at /home/sympa/bin/Message.pm
>>>>> line 89
>>>>>
>>>> If you look at that msg, you can see that Amavis added
>>>>
>>>>
>>>>> BAD HEADER Non-encoded 8-bit data
>>>>>
>>>> And I suspect that the non-encoded From line may be causing the
>>>> problem in
>>>> sympa.
>>>>
>>>>
>>> You're right. The .stderr files are created when sympa.pl crashes.
>>> They gather its standard output. Then the last message you find is
>>> certainly the cause of the crash. And it happens to be relative to the
>>> line 89 of Message.pm, in which we parse the From header field of the
>>> message.
>>> Anyway, to pursue further investigation, we need to see the message file.
>>> When we click on the link you provided, we run into a 503 error.
>>> Could you please correct this to let us access your files?
>>>
>> Woops! Okay, take look now. http://www.numenet.com/sympa-err
>>
>
--
Liam Kirsher
PGP: http://liam.numenet.com/pgp/
-
[sympa-users] Sympa choking on non-encoded header data?,
Liam Kirsher, 06/14/2007
- [sympa-users] Re: Sympa choking on non-encoded header data?, Liam Kirsher, 06/19/2007
-
[sympa-users] Re: Sympa choking on non-encoded header data?,
David Verdin, 06/20/2007
-
[sympa-users] Re: Sympa choking on non-encoded header data?,
Liam Kirsher, 06/22/2007
-
[sympa-users] Re: Re: Sympa choking on non-encoded header data?,
David Verdin, 06/22/2007
- [sympa-users] Anti-spam scenari, Liam Kirsher, 06/22/2007
-
[sympa-users] Re: Re: Sympa choking on non-encoded header data?,
Olivier Salaün - CRU, 06/25/2007
-
[sympa-users] Re: Re: Sympa choking on non-encoded header data?,
Liam Kirsher, 06/26/2007
- [sympa-users] Re: Re: Re: Sympa choking on non-encoded header data?, Olivier Salaün - CRU, 06/26/2007
-
[sympa-users] Re: Re: Sympa choking on non-encoded header data?,
Liam Kirsher, 06/26/2007
-
[sympa-users] Re: Re: Sympa choking on non-encoded header data?,
David Verdin, 06/22/2007
-
[sympa-users] Re: Sympa choking on non-encoded header data?,
Liam Kirsher, 06/22/2007
Archive powered by MHonArc 2.6.19+.