Scheduled task pop3 polling issue after NG doMailboxMove
Posted: Wed Oct 13, 2021 10:51 am
Hi,
we found a strange behaviour after moving from one mailstore to another accounts that have "External Account" set up.
Basically the polling task continues to run on original mailstore, ignoring the fact that the mailbox is no more there.
In the particular case of POP3, with remote deletion enabled, this could result in a message loss.
All mailstores are 8.8.15_P25, NG modules are 6.0.26.1625817564-1.u16
Steps to reproduce the issue:
- Have two mailstores
- Create an account on mailstore1
- Set up for that account an External Account datasource, polling via POP3 some other account (not production account, you could lose messages)
- Move that account on mailstore2 with zxsuite hsm doMailboxMove
- Monitor the mailbox.log on mailstore1, grepping ScheduledTask
You will see message polled and "adding message" being made on mailstore1, not 2.
The account is now on mailstore2 and has no sign of these messages that exist only on /opt/zimbra/store/... and on mysql of mailstore1
we found a strange behaviour after moving from one mailstore to another accounts that have "External Account" set up.
Basically the polling task continues to run on original mailstore, ignoring the fact that the mailbox is no more there.
In the particular case of POP3, with remote deletion enabled, this could result in a message loss.
All mailstores are 8.8.15_P25, NG modules are 6.0.26.1625817564-1.u16
Steps to reproduce the issue:
- Have two mailstores
- Create an account on mailstore1
- Set up for that account an External Account datasource, polling via POP3 some other account (not production account, you could lose messages)
- Move that account on mailstore2 with zxsuite hsm doMailboxMove
- Monitor the mailbox.log on mailstore1, grepping ScheduledTask
You will see message polled and "adding message" being made on mailstore1, not 2.
The account is now on mailstore2 and has no sign of these messages that exist only on /opt/zimbra/store/... and on mysql of mailstore1