Problem with mailscanner form out of nowhere

Jonas Akrouh Larsen jonas at
Sun Sep 28 21:23:39 IST 2008

--debug --debug-sa is the same except more output.

MailScanner -V didn’t report any missing modules or any errors.

I went ahead and upgraded mailscanner to the newest stable (4.71.10) which didn’t help anything. I was on 4.71.7 before that.

MailScanner --lint didn’t cause any problems.

The solution though was as I suspected to remove 3 mails from the queue. Now it appears to run ok.

Although it’s a bit troublesome that MailScanner wasn’t able to report any meaningfull error.

I have saved the 3 trouble mails and if I get time im gonna look and test them tomorrow on my other scanners.

They are all spam mails so no worries about them not being delivered.

But its gonna be interesting to see if they can crash my other 2 scanners as well.

I will try and report back my findings.

Have a nice Sunday ya'll.

Jonas A. Larsen

-----Original Message-----
From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Martin.Hepworth
Sent: 28. september 2008 22:02
To: MailScanner discussion
Subject: RE: Problem with mailscanner form out of nowhere

What does..

Mailscanner --debug --debug-sa


Mailscanner -v


Mailscanner -lint


Anything in message log?


-----Original Message-----
From: Jonas Akrouh Larsen <jonas at>
Sent: 28 September 2008 20:13
To: mailscanner at
Subject: Problem with mailscanner form out of nowhere

Hi List


1 of my scanners starting having issues over the weekend.


After having stopped it and run a -debug on it it reports the following:


scanner0:/etc/init.d# /opt/MailScanner/bin/MailScanner --debug

In Debugging mode, not forking...

Trying to setlogsock(unix)

SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp

Building a message batch to scan...

Have a batch of 15 messages.

Modification of a read-only value attempted at
/opt/MailScanner/lib/MailScanner/ line 117, <GEN76> line 110.


And then it just quits.


I have not upgraded anything on the system recently and haven't had any


The only thing I could find was an old mention of a similar perl error on
the list which seemed to sugest it had something to do with "bad" mails in
the queue.



Do anybody have any idea what might be going on?


Desperately seeking advice


Jonas A. Larsen



Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list