Re: [otrs] Empty mails deleted

2010-01-15 Thread Martin Edenhofer
Hallo Andre,

is it possible that two PostMasterMailbox.pl was running at same time?

I found out, that some mail server are not locking a mailbox, so two can fetch 
email the same time and the first one wins, the second one tries to fetch it 
too, but gets as error "Can't process mail, email no x is empty!".

So basically in this case no email get's lost, but still the error message is 
really confusing.

This would be no problem if the mail server would lock the mailbox during the 
connection of the first one. 

 -Martin

On 15.01.2010, at 14:25, mono...@gmx.net wrote:

> Hello List.
> 
> Im using OTRS 2.4.6.
> 
> I just got some errors from cron:
> 
> "Message: POP3: Can't process mail, email no 1 is empty!"
> 
> Unfortunately this mails are not saved in /opt/otrs/var/spool.
> 
> Im afraid to loose mails of my customers.
> 
> Does somebody else have this error?
> 
> 
> 
> I already created a bug for this issue:
> 
> http://bugs.otrs.org/show_bug.cgi?id=4739
> 
> 
> 
> This is the full error message:
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 1 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 2 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 3 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 4 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 5 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 6 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010
> 
> Message: POP3: Can't process mail, email no 7 is empty!
> 
> Traceback (26626): 
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
>   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
>   Module: main::Fetch (v1.10) Line: 181
>   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94
> 
> ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: 

[otrs] Empty mails deleted

2010-01-15 Thread monotek
Hello List.

Im using OTRS 2.4.6.

I just got some errors from cron:

"Message: POP3: Can't process mail, email no 1 is empty!"

Unfortunately this mails are not saved in /opt/otrs/var/spool.

Im afraid to loose mails of my customers.

Does somebody else have this error?



I already created a bug for this issue:

http://bugs.otrs.org/show_bug.cgi?id=4739



This is the full error message:

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:25 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 201
   Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
   Module: main::Fetch (v1.10) Line: 181
   Module: /opt/otrs//bin/PostMasterMailbox.pl (v1.10) Line: 94

ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Fri Jan 15 13:41:26 2010

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

 Traceback (26626): 
   Module: Kernel::System::MailAccount::POP3::Fetch (v1.6) Line: 140
   Module