2008/5/23 Mike Dent <mcdent@gmail.com>:


2008/5/22 Mike Dent <mcdent@gmail.com>:

Hi,
3 days ago i noticed i started getting messages from cron daemon on my OTRS box of the form:-


Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /opt/otrs/Kernel/System/EmailParser.pm line 655, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /opt/otrs/Kernel/System/EmailParser.pm line 655, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 669, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 670, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 671, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 672, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 674, <PRODUCT> line 4.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 675, 


etc etc

Since this time I am receiving no notifications from OTRS and no tickets are being created.

I checked /var/log/messages and noticed at the time I started getting these reports from cron, the log was showing:-

May 19 19:30:05 rt3 OTRS-PM3-30[14784]: [Notice][Kernel::System::PID::PIDCreate] Can't create PID PostMasterPOP3, because it's already running (rt3.blah.local/14612)

And every so often I get:-

May 20 10:30:04 rt3 OTRS-PM3-30[30434]: [Notice][Kernel::System::PID::PIDCreate] Removed PID (PostMasterPOP3/rt3.blah.local/29415, because 1 hour old! 
May 20 10:40:05 rt3 OTRS-PM3-30[30620]: [Notice][Kernel::System::PID::PIDCreate] Can't create PID PostMasterPOP3, because it's already running (rt3.blah.local/30434)

I'm running otrs 2.1.7

Any pointers as what might have gone wrong?

Thanks
Mike

Well I just upgraded from 2.1.7 to 2.2.6 and still get the same problem.

When I run /opt/otrs/bin/PostMasterPOP3.pl  from the command line I get:-

[trixbox1.localdomain bin]# /opt/otrs/bin/PostMasterPOP3.pl
Message 1/254 (info@blah.blah.xxx)
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /opt/otrs/Kernel/System/EmailParser.pm line 715.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /opt/otrs/Kernel/System/EmailParser.pm line 715.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 733.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 736.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 739.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 742.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 745.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 748.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 1075.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution (s///) at /opt/otrs/Kernel/System/EmailParser.pm line 1075.
Malformed UTF-8 character (fatal) at /opt/otrs/Kernel/System/EmailParser.pm line 1075.
 


Sorry I keep replying to myself. I decided to login to my mail server and delete message 1, this then caused it to start receiving other messages, it got so far and then came up with the same errors:-

Message 11/241 (info@blah.blah.xxx)
Safety protection waiting 2 second till processing next mail...
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /opt/otrs/Kernel/System/EmailParser.pm line 715.
[rest deleted]

So something in the recent spam emails is causing this problem. Here is that email:-


Return-Path: <sales@ub-net.ch>
Delivered-To: 4-sales@mydomain
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
        mydomain
X-Spam-Level: *****
X-Spam-Status: No, score=5.1 required=7.0 tests=ADDRESS_IN_SUBJECT,BAYES_60,
        HTML_IMAGE_ONLY_20,HTML_MESSAGE,HTML_SHORT_LINK_IMG_3,MIME_HTML_ONLY,
        RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.1.0
Received: (qmail 22566 invoked from network); 20 May 2008 07:53:20 +0100
Received: from mx-ll-58.147.6-147.tttmaxnet.com (@58.147.6.147)
  by mydomain with SMTP; 20 May 2008 07:53:19 +0100
Received-SPF: none (mydomain: domain at ub-net.ch does not designate permitted sender hosts)
Content-Return: allowed
X-Mailer: devMail.Net (3.0.1854.22234-2)
Return-Path: bounce-pvqhb@email.msadcenter.msn.com
Message-Id: <20080520085321.2454.qmail@mx-ll-58.147.6-147.tttmaxnet.com>
To: <sales@mydomain>
Subject: Dear sales@mydomain May 80% 0FF
From: VIAGRA ? Official Site <sales@mydomain>
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>



The rest of the message is just html, i dont see anythin odd about it.
I have replaced my server host with 'mydomain' above.


Any clues what is causing this to happen?

Thanks
Mike