-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.1
-
None
-
MOODLE_404_STABLE
Previously posted this to general forum and developer forum but was redirected to post it here.
Hoping this is correct protocol.
After upgrading to Moodle 4.4+ (Build: 20240503) I have two task errors:
- Failure of Incoming mail pickup
- Failure of Cleanup of unverified mail
The first task error appears to be due to a failure of the system to log into the admin email address via IMAP on port 110. This is a little odd - IMAP is usually on port 143 and Pop3 is usually on port 110.
The second is also an IMAP failure (same problem plus bad tagged response).
The email server settings for the admin email are correct as tested by other clients and via the email test in Moodle.
Error logs for both failures are below.
Is this a developer issue or is it an admin setup issue that I haven't found? Is anyone else having this problem? What do I need to do to resolve it?
Cheers,
Terence
==
In the logs below, for security I've substituted 'domain' for the domain of the mailserver.
Log task error 1
Execute scheduled task: Incoming email pickup (tool_messageinbound\task\pickup_task) ... started 07:16:56. Current memory use 26.6 MB. Debugging increased temporarily due to faildelay of 86400 Connecting to mail.domain.org:110 as admin@designoutcrime.org... ... used 0 dbqueries ... used 0.39735293388367 seconds Scheduled task failed: Incoming email pickup (tool_messageinbound\task\pickup_task),tool_messageinbound/imapconnectfailure Debug info: Bad tagged response. Backtrace: * line 203 of /admin/tool/messageinbound/classes/manager.php: call to tool_messageinbound\manager->get_imap_client() * line 52 of /admin/tool/messageinbound/classes/task/pickup_task.php: call to tool_messageinbound\manager->pickup_messages() * line 405 of /lib/classes/cron.php: call to tool_messageinbound\task\pickup_task->execute() * line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task() * line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks() * line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()
Log task error 2
Execute scheduled task: Cleanup of unverified incoming email (tool_messageinbound\task\cleanup_task) ... started 12:05:56. Current memory use 25.6 MB. Debugging increased temporarily due to faildelay of 86400 Connecting to mail.domain.org:110 as admin@designoutcrime.org... ... used 0 dbqueries ... used 0.4049289226532 seconds Scheduled task failed: Cleanup of unverified incoming email (tool_messageinbound\task\cleanup_task),tool_messageinbound/imapconnectfailure Debug info: Bad tagged response. Backtrace: * line 296 of /admin/tool/messageinbound/classes/manager.php: call to tool_messageinbound\manager->get_imap_client() * line 52 of /admin/tool/messageinbound/classes/task/cleanup_task.php: call to tool_messageinbound\manager->tidy_old_messages() * line 405 of /lib/classes/cron.php: call to tool_messageinbound\task\cleanup_task->execute() * line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task() * line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks() * line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()