1 like 0 dislike
892 views
in Education & Reference by (1.4k points)
Someone suggested try to fetch the mail forcefully using  (use '-f 1' if you want to start it forced)!
 
so I did and it is shwing me the error
 
 
[[email protected] ~]# /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
 
NOTICE: PostMasterMailbox.pl is already running but is starting again!
POP3: Message 1/48 ([email protected]/pop.gmail.com)
 
 
Wide character in syswrite at /usr/share/perl5/Net/Cmd.pm line 232.
 

1 Answer

0 like 0 dislike
by (850 points)

First locate Cmd.pm

either you will find that file in

/usr/share/perl5/Net/Cmd.pm

OR

/usr/lib/perl5/5.8.8/Net/Cmd.pm

then find the below lines

$cmd->dataend()

if (exists ${*$cmd}{'net_cmd_last_ch'});

After that ADD the below lines

# XXX - peralta - encoding bug causes problems with OTRS!
  binmode($cmd, ":utf8");

if (scalar(@_)) {

local $SIG{PIPE} = 'IGNORE' unless $^O eq 'MacOS';
by
0 0
great thnx
by
0 0
Today I am getting different error

Malformed UTF-8 character (fatal) at /usr/share/perl5/Net/Cmd.pm line 303.


So I removed the above solution given and problem got resolved..but why it happens any common or single solution for both of the issues?

Related questions

0 like 0 dislike
1 answer 861 views
0 like 0 dislike
1 answer 870 views
1 like 0 dislike
1 answer 532 views
0 like 0 dislike
1 answer 115 views
asked May 14, 2020 in Education & Reference by Marc (3k points)
0 like 0 dislike
1 answer 131 views
0 like 0 dislike
2 answers 767 views
0 like 0 dislike
2 answers 6k views
asked Oct 25, 2017 in Education & Reference by Krish (850 points)
0 like 0 dislike
2 answers 345 views
asked Aug 21, 2017 in Education & Reference by Marc (3k points)
0 like 0 dislike
1 answer 1.7k views
0 like 0 dislike
1 answer 252 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

...