RE: [otrs] Error in $HOME/bin/PostMasterPOP3.pl

Are you creating a new cron entry and if so as which user? Su'd to otrs and edited that user's cron. I only had to uncomment the pop3 line. - Pete McDonnell Manager, Technical Services Hip Interactive
-----Original Message----- From: Neil Baldwin [mailto:neil.baldwin@entsys.net] Sent: Friday, October 01, 2004 4:09 AM To: 'User questions and discussions about OTRS.' Subject: [otrs] Error in $HOME/bin/PostMasterPOP3.pl
Sorry I posted this to an existing thread so here it is again in a new thread!
We have just set up version 1.3 on a new Suse 9.1 box, and are starting to understand how things work.
We are using the cron command $HOME/bin/PostMasterPOP3.pl -s 192.0.0.53 -u support -p [password] >> /dev/null
To collect mail from an exchange 5.5 server
The command completes without error if there is no mail but if there is mail we get the following message.
Use of uninitialized value in string eq at /opt/otrs/Kernel/System/Ticket/Article.pm line 1387
Even though the error is generated the command appear to do what it is supposed to and creates a new ticket.
Can anyone suggest what might be the problem?
Regards Neil Baldwin Tel:01296 633256 Fax:01296 633001 Mob:07713 189707 _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/

On Fri, 1 Oct 2004, Pete McDonnell wrote:
Are you creating a new cron entry and if so as which user? Su'd to otrs and edited that user's cron. I only had to uncomment the pop3 line.
yep, thats what I did. su to otrs and then "crontab -e", then uncomment the line which downloads pop3. The mail comes down but I just get the warning message sent to root <snip> Use of uninitialized value in string eq at /opt/otrs/Kernel/System/Ticket/Article.pm line 1387 </snip>

Hi, I can't reproduce this. Anyway, can somebody test this with Kernel/System/Ticket/Article.pm 1.70.2.3? http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/Ticket/Article... Is the perl warning still there? Thanks for feedback, -Martin Robin Mordasiewicz wrote:
On Fri, 1 Oct 2004, Pete McDonnell wrote:
Are you creating a new cron entry and if so as which user? Su'd to
otrs and edited that user's cron. I only had to uncomment the pop3 line.
yep, thats what I did. su to otrs and then "crontab -e", then uncomment the line which downloads pop3. The mail comes down but I just get the warning message sent to root
<snip> Use of uninitialized value in string eq at /opt/otrs/Kernel/System/Ticket/Article.pm line 1387 </snip> _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
-- Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

On Fri, 1 Oct 2004, Martin Edenhofer wrote:
I can't reproduce this. Anyway, can somebody test this with Kernel/System/Ticket/Article.pm 1.70.2.3?
http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/Ticket/Article... Is the perl warning still there?
well there was another person who reported this yesterday as well. I tried the cvs you mentioned, and then restarted apache and created a new ticket, and the cron warning was sent back to root. Is this possibly anything to do with LANG environment. I have had some problem in the past with perl and people have suggested setting my environment to be "export LANG=en_US" I am not sure if this has anything to do with this, and I am not sure how to set this for running otrs. Just a thought. My operating system is RedHatAS3
participants (3)
-
Martin Edenhofer
-
Pete McDonnell
-
Robin Mordasiewicz