Forum OpenACS Development: acs-mail-lite checking for new mail

Collapse
Posted by Roberto Mello on

Hi all,

A while ago I added a parameter EmailQmailQueueScanP to notifications to stop it from scanning the qmail queue, if the admin desired.

However, Malte added code to acs-mail-lite to do bounce handling, so every minute-and-a-half, I get these in my logs:

[17/Sep/2004:14:31:56][32620.65541][-sched:13-] Notice: acs-mail-lite: about to load qmail queue
[17/Sep/2004:14:31:56][32620.65541][-sched:13-] Notice: queue dir = /new/*, no messages
[17/Sep/2004:14:33:56][32620.65541][-sched:13-] Notice: acs-mail-lite: about to load qmail queue
[17/Sep/2004:14:33:56][32620.65541][-sched:13-] Notice: queue dir = /new/*, no messages

That is wasteful and annoying. At least those Notice's should be converted to Debug.

The code that does bounce handling assumes that one is running a maildir-operating MTA. This is definitely easier than handling mbox as well, but I hope this requirement is clearly specified in the OpenACS installation documents.

I'd like to convert the Notice's to Debug's, and remove the parameter from notifications, since it no longer makes sense there. I think it would be useful to add this parameter to acs-mail-lite, since maybe the admin does not want to handle bounces, and therefore should be spared from having the server execute this code.

Thoughts?

-Roberto