The problem is probably not in webmail. You can go into webmail-defs.tcl and insert this debug code:
# Schedule the filter to process the incoming mail queue
ns_share -init {set webmail_queue_processing_enabled_p 0} webmail_queue_processing_enabled_p
ns_log Debug "init = $webmail_queue_processing_enabled_p, enabled = [ad_parameter WebmailEnabledP webmail 0]" # <--- debug code
if {! $webmail_queue_processing_enabled_p && [ad_parameter WebmailEnabledP webmail 0] } {
ns_share wm_queue
set wm_queue(processingP) 0
set wm_queue(lock) [ns_mutex create]
set wm_interval [ad_parameter ProcesssQueueInterval webmail 60]
ad_schedule_proc -thread t $wm_interval wm_process_queue
ns_schedule_daily -thread 3 30 wm_cleanup_outgoing_messages
set webmail_queue_processing_enabled_p 1
}
Now fire up aolserver and look in the log file for something like:
08/Sep/2000:15:26:08][12436.1][-main-] Notice: nsd.tcl: sourcing: /home/unix/wickstrom/web/acs-pg/tcl/webmail-defs.tcl
[08/Sep/2000:15:26:08][12436.1][-main-] Debug: init = 0, enabled = 1
[08/Sep/2000:15:26:09][12436.1][-main-] Notice: Scheduling proc wm_process_queue
[08/Sep/2000:15:26:09][12436.1][-main-] Notice: nsd.tcl: sourcing: /home/unix/wickstrom/web/acs-pg/tcl/wp-defs.tcl
[
If init or enabled is blank that is your problem. Since webmail_queue_processing_enabled_p is defined in webmail-defs.tcl, I doubt that it is the problem. Most likely the call to ad_parameter is returning a blank. If so look in your nsd.tcl file for the problem.