Question
I've installed TWiki 4.2 Beta 2 over TWiki 4.1.2. I've noticed that the .mailnotify file is no longer being updated in any web except Main web. The result is that notifications always get sent out every time the cron job runs for any web in which a change is made. I've verified that the .changes file gets updated correctly. I've also checked permissions for the .mailnotify files and they appear to be identical to those set for the .mailnotify in Main. Anybody have any idea what's going on with this.
Environment
--
RichardDeVriese - 13 Nov 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Some additional information ... I've noticed that if I modify a topic in the Main web and then execute the mailnotify script twice, the first time the email notification is sent, and the second time it is not sent ... behavior is as expected. However, the .mailnotify file does not seem to being updated, e.g., the date does not change nor the contents of the file. Also, I do not receive any errors with regards to file permissions, e.g., not being able to write to the .mailnotify file. Any suggestions for what else to look at would be greatly appreciated.
--
RichardDeVriese - 14 Nov 2007
I spent some time greping through the code for
MailContrib and think I have figured out what's going on. Evidently the
.mailnotify file is no longer used. Instead, the status information is kept over in the
work_areas directory. The permissions were not set correctly for the script to be able to update the status file. I think I've got them set correctly now ... at least notifications are now being sent correctly, and they are only sent once;-)
--
RichardDeVriese - 15 Nov 2007