Errors in 'Kernel/cpan-lib/Mail/Address.pm line 161'

Moderator: crythias

Locked
elmilio
Znuny newbie
Posts: 2
Joined: 02 Dec 2010, 10:37
Znuny Version: 2.3.4

Errors in 'Kernel/cpan-lib/Mail/Address.pm line 161'

Post by elmilio »

Hello,

we are getting errors like when executing cron:

Code: Select all

Unmatched '<>' in <<email1@example.com>,      <email2@example.com>,      <email3@example.com>,       <email4@example.com> at /opt/otrs/Kernel/cpan-lib/Mail/Address.pm line 161.
Unmatched '<>' in <<email1@example.com>,      <email2@example.com>,      <email3@example.com>,       <email4@example.com> at /opt/otrs/Kernel/cpan-lib/Mail/Address.pm line 161.
Unmatched '<>' in <<email1@example.com>,      <email2@example.com>,      <email3@example.com>,       <email4@example.com> at /opt/otrs/Kernel/cpan-lib/Mail/Address.pm line 161.
There is another case of this issue reported in the german forum http://forums.otrs.org/viewtopic.php?f=35&t=6378 but it hasn't any answer.

Could anyone of you point me some hints to resolve the problem.

Thank you!!

My system:
RedHat Linux 4.
OTRS 2.4.3
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Errors in 'Kernel/cpan-lib/Mail/Address.pm line 161'

Post by Wolfgangf »

Hi!
Unmatched '<>' in <<email1@example.com>, <email2@example.com>, <email3@example.com>, <email4@example.com>

is correct! see the leading << at <<email1@exmaple.com>
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
elmilio
Znuny newbie
Posts: 2
Joined: 02 Dec 2010, 10:37
Znuny Version: 2.3.4

Re: Errors in 'Kernel/cpan-lib/Mail/Address.pm line 161'

Post by elmilio »

Wolfgangf wrote:Hi!
Unmatched '<>' in <<email1@example.com>, <email2@example.com>, <email3@example.com>, <email4@example.com>

is correct! see the leading << at <<email1@exmaple.com>
Thanks Wolfgangf.

After some research in the database and in the mail acounts linked to OTRS I have found that some of our accounts are being spammed. This spammer includes the double "<" in the "to" field of their emails. OTRS seems not to fix the list of email addresses and throws the errors.

I'll try to find a solution by filtering these messages before they reach OTRS.

Thank you again.
Locked