Take a look at this log output.
At PASS 1, it finds three voicemails and three corespodning emails
At PASS 2, it finds three voicemails but no emails
At PASS 3, it finds three voicemails and three corespodning emails
On pass 2 there might have been a lookup failure or general IMAP failure.
Is there a place to look.
Obviously this is horrible, becuase if "pass 2" happens again the emails
will get deleted, then on the next pass the voicemails will be deleted.
That equals upset customer!!!
Two immidiate fixes, we need to pass the email twice, not just once like we
do today, I can accept the extra 10 minutes of sync time. On PASS 3 the
emails should be mark as "un" eligible for deletion; this means it would
have to fail three times in a row.
What do you folks think?
*******PASS 1
2003/08/19 16:51:28: Synching mail for extension 122 ...
2003/08/19 16:51:28: Retrieving voicemail from database for extension 122
2003/08/19 16:51:28: Found voicemail 289 with 122_20030819083409_00.wav
2003/08/19 16:51:28: Found voicemail 298 with 122_20030819113837_00.wav
2003/08/19 16:51:28: Found voicemail 303 with 122_20030819133517_00.wav
2003/08/19 16:51:28: Retrieving email for user mdarnell@10.100.16.125
2003/08/19 16:51:48: Found email 8889 with 122_20030819083409_00.wav
2003/08/19 16:51:48: Found email 8890 with 122_20030819113837_00.wav
2003/08/19 16:51:48: Found email 8898 with 122_20030819133517_00.wav
2003/08/19 16:51:48: Synching mail for extension 155 ...
2003/08/19 16:51:48: Retrieving voicemail from database for extension 155
2003/08/19 16:51:48: Retrieving email for user sshepherd@10.100.16.125
2003/08/19 16:52:46: Zzzzzz ...
2003/08/19 16:57:46: Syncmail caught SYNC ...
2003/08/19 16:57:46: Synching mailboxes ...
2003/08/19 16:57:46: Synching mail for extension 110 ...
2003/08/19 16:57:46: Retrieving voicemail from database for extension 110
2003/08/19 16:57:46: Retrieving email for user ldarnell@10.100.16.125
********PASS 2
2003/08/19 16:58:28: Synching mail for extension 122 ...
2003/08/19 16:58:28: Retrieving voicemail from database for extension 122
2003/08/19 16:58:28: Found voicemail 289 with 122_20030819083409_00.wav
2003/08/19 16:58:28: Found voicemail 298 with 122_20030819113837_00.wav
2003/08/19 16:58:28: Found voicemail 303 with 122_20030819133517_00.wav
2003/08/19 16:58:28: Retrieving email for user mdarnell@10.100.16.125
2003/08/19 16:58:45: Marking voicemail 289 with 122_20030819083409_00.wav
eligable for deletion
2003/08/19 16:58:45: Marking voicemail 298 with 122_20030819113837_00.wav
eligable for deletion
2003/08/19 16:58:45: Marking voicemail 303 with 122_20030819133517_00.wav
eligable for deletion
2003/08/19 16:58:45: Synching mail for extension 155 ...
2003/08/19 16:58:45: Retrieving voicemail from database for extension 155
2003/08/19 16:58:45: Retrieving email for user sshepherd@10.100.16.125
2003/08/19 16:59:39: Zzzzzz ...
2003/08/19 17:04:39: Syncmail caught SYNC ...
2003/08/19 17:04:39: Synching mailboxes ...
2003/08/19 17:04:39: Synching mail for extension 110 ...
2003/08/19 17:04:39: Retrieving voicemail from database for extension 110
2003/08/19 17:04:39: Retrieving email for user ldarnell@10.100.16.125
*********PASS 3
2003/08/19 17:05:22: Synching mail for extension 122 ...
2003/08/19 17:05:22: Retrieving voicemail from database for extension 122
2003/08/19 17:05:22: Found voicemail 289 with 122_20030819083409_00.wav
2003/08/19 17:05:22: Found voicemail 298 with 122_20030819113837_00.wav
2003/08/19 17:05:22: Found voicemail 303 with 122_20030819133517_00.wav
2003/08/19 17:05:22: Retrieving email for user mdarnell@10.100.16.125
2003/08/19 17:05:38: Found email 8889 with 122_20030819083409_00.wav
2003/08/19 17:05:38: Found email 8890 with 122_20030819113837_00.wav
2003/08/19 17:05:38: Found email 8898 with 122_20030819133517_00.wav
|