Here is a question confusing me.
I run otrs.PostMasterMailbox.pl in crontab every 5 minutes. If there are 50 mails in mailbox, PostMasterReconnectMessage is set to 10 , does it mean that otrs.PostMasterMailbox.pl will reconnect POP3 server after fetches 10 mails to get other mails ? or will it stop after fetch 10 mails and connect POP3 server in next 5 minutes of cron jobs?
a question about PostMasterReconnectMessage
Moderator: crythias
-
- Znuny newbie
- Posts: 18
- Joined: 17 Feb 2011, 04:40
- Znuny Version: 2.4
-
- Znuny newbie
- Posts: 18
- Joined: 17 Feb 2011, 04:40
- Znuny Version: 2.4
Re: a question about PostMasterReconnectMessage
Any one can answer my question? Thanks a lot.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: a question about PostMasterReconnectMessage
The code seems to indicate keep going until it's finished in batches of X, but I can't verify. Oh wait, yes I can... Just ask anyone who's lost all their email because they pointed otrs to their personal inbox. I guarantee they didn't lose their email 10 emails at a time every 20 minutes.
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
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
-
- Znuny newbie
- Posts: 18
- Joined: 17 Feb 2011, 04:40
- Znuny Version: 2.4
Re: a question about PostMasterReconnectMessage
does OTRS have a clear introduction about this feature ?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: a question about PostMasterReconnectMessage
No. It's simply batches until it's finished with the set. You can verify this easily by setting the batch size to 1 and sending 2 messages to a mailbox otrs fetches.
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
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
-
- Znuny newbie
- Posts: 18
- Joined: 17 Feb 2011, 04:40
- Znuny Version: 2.4
Re: a question about PostMasterReconnectMessage
I did a test , set PostMasterReconnectMessage to 5 , and track the otrs.PostMasterMailbox.pl. It seems that otrs.PostMasterMailbox.pl fethes 5 mails then stop , until the next time of cron job it begins to fetches other 5 mails .
If this is true , the OTRS looks a little stupid.
If this is true , the OTRS looks a little stupid.

-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: a question about PostMasterReconnectMessage
I responded to this on the mailing list.
You've spent a lot of effort fretting over this configuration of OTRS and for what purpose?
Are you expecting greater than batch number of tickets every iteration? If your batch number is large, and your ticket expectation is larger still, fetching is not the most efficient way to handle tickets. Use procmail.
If your batch number of tickets is roughly equal to the number of tickets you'd expect in your iteration, there is no problem.
If your batch number of tickets is greater than the number of tickets you'd expect in your iteration, there is no problem.
You've spent a lot of effort fretting over this configuration of OTRS and for what purpose?
Are you expecting greater than batch number of tickets every iteration? If your batch number is large, and your ticket expectation is larger still, fetching is not the most efficient way to handle tickets. Use procmail.
If your batch number of tickets is roughly equal to the number of tickets you'd expect in your iteration, there is no problem.
If your batch number of tickets is greater than the number of tickets you'd expect in your iteration, there is no problem.
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
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