OTRS can't fetch mails normally from Exchange server

Moderator: crythias

Locked
changhelry
Znuny newbie
Posts: 18
Joined: 17 Feb 2011, 04:40
Znuny Version: 2.4

OTRS can't fetch mails normally from Exchange server

Post by changhelry »

Hi,

I 'm use OTRS 3.0.8 and fetch mails from Exchange server 2010 by POP3. But sometimes the OTRS can't fetch mails normally. the logs are as below. I checked the OTRS and the exchange web mailbox , found that it seems that the Exchange can't delete the mails read by OTRS in time , it causes more and more mails accumulated in mailbox. But if I change another mail client tool to fetch mails from the noc account , the mails will be deleted very soon. Is there an issue in OTRS fetching mails from POP3? or I need to configure some more parameters in OTRS ? please help on this

Thanks
Justin


POP3: Message 18/1388 (noc/192.168.34.100)
POP3: Safety protection waiting 2 second till processing next mail...

POP3: Message 19/1388 (noc/192.168.34.100)
POP3: Safety protection waiting 2 second till processing next mail...

POP3: Message 20/1388 (noc/192.168.34.100)
POP3: Safety protection waiting 2 second till processing next mail...

POP3: Reconnect Session after 20 messages...
POP3: Connection to 192.168.34.100 closed.

NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS can't fetch mails normally from Exchange server

Post by crythias »

You may want to decrease the frequency of collecting from Exchange, especially if you have lots of tickets or multiple attachments.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
changhelry
Znuny newbie
Posts: 18
Joined: 17 Feb 2011, 04:40
Znuny Version: 2.4

Re: OTRS can't fetch mails normally from Exchange server

Post by changhelry »

I tried to decrease the frequency ,but it does not work very well. Could you give more suggestion?


In the otrs.PostMasterMailbox.log , sometimes shows

ERROR: OTRS-PostMasterMailbox.pl-99 Perl: 5.8.8 OS: solaris Time: Tue Jul 17 09:49:48 2012

Message: Need SystemTime!

Traceback (28399):
Module: Kernel::System::Time::SystemTime2TimeStamp (v1.57) Line: 129
Module: Kernel::System::Ticket::Article::ArticleGet (v1.274) Line: 1524
Module: Kernel::System::PostMaster::Filter::FollowUpArticleTypeCheck::Run (v1.5) Line: 49
Module: Kernel::System::PostMaster::Run (v1.85) Line: 387
Module: Kernel::System::MailAccount::POP3::Fetch (v1.8) Line: 201
Module: Kernel::System::MailAccount::MailAccountFetch (v1.16) Line: 386
Module: main::Fetch (v1.3) Line: 180
Module: /opt/atts/bin/otrs.PostMasterMailbox.pl (v1.3) Line: 93

NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!
NOTICE: PostMasterMailbox.pl is already running (use '-f 1' if you want to start it forced)!

=====================================================================
Message: POP3: Can't process mail, email no 28 is empty!

Traceback (28399):
Module: Kernel::System::MailAccount::POP3::Fetch (v1.8) Line: 188
Module: Kernel::System::MailAccount::MailAccountFetch (v1.16) Line: 386
Module: main::Fetch (v1.3) Line: 180
Module: /opt/atts/bin/otrs.PostMasterMailbox.pl (v1.3) Line: 93

Use of uninitialized value in numeric eq (==) at /usr/local/lib/perl5/5.8.8/Net/POP3.pm line 313.
Use of uninitialized value in numeric eq (==) at /usr/local/lib/perl5/5.8.8/Net/POP3.pm line 311.
Use of uninitialized value in division (/) at /opt/otrs-3.0.8/Kernel/System/MailAccount/POP3.pm line 159.
Use of uninitialized value in numeric eq (==) at /usr/local/lib/perl5/5.8.8/Net/POP3.pm line 312.
ERROR: OTRS-PostMasterMailbox.pl-99 Perl: 5.8.8 OS: solaris Time: Tue Jul 17 09:52:22 2012


What's reason of the errors ? how to resolve them?

Thanks a lot.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS can't fetch mails normally from Exchange server

Post by crythias »

Message: POP3: Can't process mail, email no 28 is empty!
Sounds like something else is also grabbing email. you may want to make sure your processes are only running once and no other box is competing for the email.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
changhelry
Znuny newbie
Posts: 18
Joined: 17 Feb 2011, 04:40
Znuny Version: 2.4

Re: OTRS can't fetch mails normally from Exchange server

Post by changhelry »

The webmail of the mailbox is open when the OTRS gets mails from POP3, will it impact the OTRS fetching mails? The web mail only read the mails.

and what's problem of "
ERROR: OTRS-PostMasterMailbox.pl-99 Perl: 5.8.8 OS: solaris Time: Tue Jul 17 09:49:48 2012
Message: Need SystemTime!"

Thanks
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS can't fetch mails normally from Exchange server

Post by crythias »

changhelry wrote:The webmail of the mailbox is open when the OTRS gets mails from POP3, will it impact the OTRS fetching mails? The web mail only read the mails.
No human should ever touch the otrs mailbox, including reading it. Where do you think the webmail gets the email you see? Yes, it impacts POP3.
changhelry wrote:and what's problem of "
ERROR: OTRS-PostMasterMailbox.pl-99 Perl: 5.8.8 OS: solaris Time: Tue Jul 17 09:49:48 2012
Message: Need SystemTime!"
Your System Time is in a nonstandard format. (should be something like: Wed, 18 Jul 2012 12:33:17 GMT)
For instance, your year is after the time? After that, I can't necessarily help you. Create a bug report.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked