Hi, I have the same issue,

My problem are the permisions of the /opt/otrs/var/article/20** folders.

when I see the /var/mail/root I can see the cron has no permissions to
write the attachement files.

Another way to solve the problem is to modify the cron, and force it to
always run.

**/5 * * * * 
/opt/otrs/bin/otrs.PostMasterMailbox.pl<http://otrs.postmastermailbox.pl/>
-f
1 >> /dev/null*
*
*
*this workaround works for me. *
*
*
*You need to evaluate how many mailbox are configured on your OTRS, because
this can take more than 5 minutes. *
*
*
*Regards*
*
*
*Carlos Gallego*
*ITConsultores*
*Medellin-Colombia
*
2012/4/10 Luca Domenella <[email protected]>

>  Hi,****
>
> ** **
>
> i found the problem, i don’t know why, but it looks that after fetching
> the emails, otrs do not remove the processed from the table process_id, is
> it a BUG ? im using otrs 3.1.2****
>
> ** **
>
> let me know….****
>
> ** **
>
> Br,**
>
> *Luca Domenella*****
>
> T: +39 06 98962316
> M: +39 3426919354****
>
> E:  [email protected]****
>
> *bwin Italia*
> Via Adolfo Ravà, 124
> 00142 Roma (RM)****
>
> www.bwinparty.com****
>
>  ****
>
> This email and any attachments are confidential, and may be legally
> privileged and protected by copyright. If you are not the intended
> recipient dissemination or copying of this email is prohibited. If you have
> received this in error, please notify the sender by replying by email and
> then delete the email completely from your system.
>
> Any views or opinions are solely those of the sender. This communication
> is not intended to form a binding contract unless expressly indicated to
> the contrary and properly authorised. Any actions taken on the basis of
> this email are at the recipient's own risk.****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf
> Of *Luca Domenella
> *Sent:* martedì 10 aprile 2012 16:36
>
> *To:* User questions and discussions about OTRS.
> *Subject:* Re: [otrs] strange problem in fetching email****
>
>  ** **
>
> Looking at log file, there is on the table a record about a postmaster
> session that do not exist anymore on the system:****
>
> mysql> select * from process_id where process_name = 'PostMasterMailbox';*
> ***
>
>
> +-------------------+------------+------------------+----------------+----------------+
> ****
>
> | process_name      | process_id | process_host     | process_create |
> process_change |****
>
>
> +-------------------+------------+------------------+----------------+----------------+
> ****
>
> | PostMasterMailbox | 27767      | giocodigitale.it |     1334065802
> |     1334065802 |****
>
>
> +-------------------+------------+------------------+----------------+----------------+
> ****
>
> ** **
>
> I tried this as found on the mailing list archive: delete from process_id
> where process_name = 'PostMasterMailbox';****
>
> ** **
>
> Then I will see what happen between 5 minutes (next scheduled postmail
> mailbox)****
>
> ** **
>
> Will let u know****
>
> ** **
>
> Regards,**
>
> *Luca Domenella*****
>
> T: +39 06 98962316
> M: +39 3426919354****
>
> E:  [email protected]****
>
> *bwin Italia*
> Via Adolfo Ravà, 124
> 00142 Roma (RM)****
>
> www.bwinparty.com****
>
>  ****
>
> This email and any attachments are confidential, and may be legally
> privileged and protected by copyright. If you are not the intended
> recipient dissemination or copying of this email is prohibited. If you have
> received this in error, please notify the sender by replying by email and
> then delete the email completely from your system.
>
> Any views or opinions are solely those of the sender. This communication
> is not intended to form a binding contract unless expressly indicated to
> the contrary and properly authorised. Any actions taken on the basis of
> this email are at the recipient's own risk.****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf
> Of *Dilson Tomé
> *Sent:* martedì 10 aprile 2012 16:28
> *To:* User questions and discussions about OTRS.
> *Subject:* Re: [otrs] strange problem in fetching email****
>
> ** **
>
>
> Manually run the file.****
>
> ** **
>
> root#:/ *su - otrs -c '/opt/otrs/bin/otrs.PostMasterMailbox.pl'*****
>
> ** **
>
> Try to measure the spend time.****
>
> ** **
>
> Look this...****
>
> ** **
>
> *time su - otrs -c '/opt/otrs/bin/otrs.PostMasterMailbox.pl'*****
>
> ** **
>
> real      0m0.393s****
>
> user     0m0.296s****
>
> sys       0m0.048s****
>
> ** **
>
> It is get the pop3 mail from gmail.****
>
> ** **
>
> ** **
>
> Regards.****
>
> ** **
>
> --!  *Dilson Tomé
> (11) 8013-7803*****
>
> ** **
>
> On Tue, Apr 10, 2012 at 11:13, Luca Domenella <
> [email protected]> wrote:****
>
> Hi Dilson,****
>
>  ****
>
> yes its correct, you mean the crontab schedule or the timeout to get the
> email from the POP3 server ?****
>
> the strange thing is that I see the cron starting every 10 minutes on the
> cron log:****
>
>  ****
>
> Apr 10 15:50:01 otrs crond[27765]: (otrs) CMD ($HOME/bin/
> otrs.PostMasterMailbox.pl >> /dev/null)****
>
> Apr 10 15:50:01 otrs crond[27766]: (otrs) CMD ($HOME/bin/
> otrs.GenericAgent.pl -c db >> /dev/null)****
>
> Apr 10 16:00:01 otrs crond[27774]: (root) CMD (/usr/lib64/sa/sa1 1 1)****
>
> Apr 10 16:00:01 otrs crond[27777]: (otrs) CMD ($HOME/bin/
> otrs.PostMasterMailbox.pl >> /dev/null)****
>
> Apr 10 16:00:01 otrs crond[27779]: (otrs) CMD ($HOME/bin/
> otrs.GenericAgent.pl -c db >> /dev/null)****
>
> Apr 10 16:00:01 otrs crond[27780]: (otrs) CMD ($HOME/bin/
> otrs.GenericAgent.pl >> /dev/null)****
>
> Apr 10 16:01:01 otrs crond[27787]: (root) CMD (run-parts /etc/cron.hourly)
> ****
>
> Apr 10 16:09:26 otrs crontab[27792]: (root) LIST (otrs)****
>
> Apr 10 16:10:01 otrs crond[27795]: (root) CMD (/usr/lib64/sa/sa1 1 1)****
>
> Apr 10 16:10:01 otrs crond[27798]: (otrs) CMD ($HOME/bin/
> otrs.PostMasterMailbox.pl >> /dev/null)****
>
> Apr 10 16:10:01 otrs crond[27799]: (otrs) CMD ($HOME/bin/
> otrs.GenericAgent.pl -c db >> /dev/null)****
>
>  ****
>
> But just every hour fetching the email from the log messages:****
>
> Apr  9 22:00:49 otrs OTRS-otrs.PostMasterMailbox.pl-10[25444]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 5 email(s)
> from email/ip address.****
>
> Apr  9 23:11:16 otrs OTRS-otrs.PostMasterMailbox.pl-10[25555]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 7 email(s)
> from email/ip address.****
>
> Apr 10 00:10:42 otrs OTRS-otrs.PostMasterMailbox.pl-10[25646]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 6 email(s)
> from email/ip address.****
>
> Apr 10 01:10:40 otrs OTRS-otrs.PostMasterMailbox.pl-10[25745]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 3 email(s)
> from email/ip address.****
>
> Apr 10 02:20:21 otrs OTRS-otrs.PostMasterMailbox.pl-10[25839]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 1 email(s)
> from email/ip address.****
>
> Apr 10 03:20:12 otrs OTRS-otrs.PostMasterMailbox.pl-10[25931]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 1 email(s)
> from email/ip address.****
>
> Apr 10 04:20:32 otrs OTRS-otrs.PostMasterMailbox.pl-10[26506]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 3 email(s)
> from email/ip address.****
>
> Apr 10 06:20:40 otrs OTRS-otrs.PostMasterMailbox.pl-10[26725]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 3 email(s)
> from email/ip address.****
>
> Apr 10 08:30:13 otrs OTRS-otrs.PostMasterMailbox.pl-10[26910]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 1 email(s)
> from email/ip address.****
>
> Apr 10 09:41:30 otrs OTRS-otrs.PostMasterMailbox.pl-10[27022]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 10
> email(s) from email/ip address.****
>
> Apr 10 10:40:15 otrs OTRS-otrs.PostMasterMailbox.pl-10[27108]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 1 email(s)
> from [email protected]/pop.europe.secureserver.net.****
>
> Apr 10 10:42:13 otrs OTRS-otrs.PostMasterMailbox.pl-10[27108]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 14
> email(s) from email/ip address.****
>
> Apr 10 11:41:22 otrs OTRS-otrs.PostMasterMailbox.pl-10[27237]:
> [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 11
> email(s) from email/ip address.****
>
>  ****
>
> Im going to check****
>
>  ****
>
> regards,****
>
> *Luca Domenella*****
>
> T: +39 06 98962316
> M: +39 3426919354****
>
> E:  [email protected]****
>
> *bwin Italia*
> Via Adolfo Ravà, 124
> 00142 Roma (RM)****
>
> www.bwinparty.com****
>
>  ****
>
> This email and any attachments are confidential, and may be legally
> privileged and protected by copyright. If you are not the intended
> recipient dissemination or copying of this email is prohibited. If you have
> received this in error, please notify the sender by replying by email and
> then delete the email completely from your system.
>
> Any views or opinions are solely those of the sender. This communication
> is not intended to form a binding contract unless expressly indicated to
> the contrary and properly authorised. Any actions taken on the basis of
> this email are at the recipient's own risk.****
>
>  ****
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf
> Of *Dilson Tomé
> *Sent:* martedì 10 aprile 2012 16:07
> *To:* [email protected]
> *Subject:* Re: [otrs] strange problem in fetching email****
>
>  ****
>
>  ****
>
> Run:****
>
>  ****
>
> *crontab -l -u otrs | egrep -v '^#|^$'*****
>
>  ****
>
> The default output must be like this:****
>
>  ****
>
> MAILTO="root@localhost"****
>
> 20 0 * * 0  $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null****
>
> 30 0 * * 0  $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null****
>
> */20 * * * *    $HOME/bin/otrs.GenericAgent.pl >> /dev/null****
>
> */10 * * * *    $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null****
>
> 45 */2 * * *    $HOME/bin/otrs.PendingJobs.pl >> /dev/null****
>
> 10 0 * * *  $HOME/bin/otrs.cleanup >> /dev/null****
>
> **/10 * * * *    $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null*****
>
> 01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null****
>
> 55 */2 * * *    $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null*
> ***
>
> 35 * * * *  $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null****
>
>  ****
>
>  ****
>
> You may edit the */opt/otrs/var/cron/postmaster_mailbox* and change the
> default time.****
>
>  ****
>
> Than you restart the Otrs Crontab.****
>
>  ****
>
> */opt/otrs/bin/Cron.sh restart otrs*****
>
>  ****
>
> Best regards.****
>
>  ****
>
> *Dilson Tomé Rainov*****
>
> ** **
>
> On Tue, Apr 10, 2012 at 10:37, Luca Domenella <
> [email protected]> wrote:****
>
> Hi all,****
>
>  ****
>
> i dont know why, but the emails are fetched every hour instead of every 10
> minutes…****
>
> the crontab is correctly configure the get them very 10 minutes… (the
> default otrs crontab)…****
>
>  ****
>
> any idea ?****
>
>  ****
>
> regards,****
>
> *Luca Domenella*****
>
> T: +39 06 98962316
> M: +39 3426919354****
>
> E:  [email protected]****
>
> *bwin Italia*
> Via Adolfo Ravà, 124
> 00142 Roma (RM)****
>
> www.bwinparty.com****
>
>  ****
>
> This email and any attachments are confidential, and may be legally
> privileged and protected by copyright. If you are not the intended
> recipient dissemination or copying of this email is prohibited. If you have
> received this in error, please notify the sender by replying by email and
> then delete the email completely from your system.
>
> Any views or opinions are solely those of the sender. This communication
> is not intended to form a binding contract unless expressly indicated to
> the contrary and properly authorised. Any actions taken on the basis of
> this email are at the recipient's own risk.****
>
>  ****
>
>
> ---------------------------------------------------------------------
> 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****
>
>  ****
>
>
> ---------------------------------------------------------------------
> 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****
>
> ** **
>
> ---------------------------------------------------------------------
> 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
>
---------------------------------------------------------------------
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

Reply via email to