Mail delivery failed: returning message to sender

Mail delivery failed: returning message to sender

by Philip Siwinski -
Number of replies: 3
Hi,

I use Moodle 2.0 and when students are submitting their work, the administrator receives the following email :

--------------------------------------------------------------------------------

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

user1@domain1.com
Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: <Admin@domain1.com>
Received: from www-data by domain1.com with local (Exim 4.69)
(envelope-from <Admin@domain1.comphilippe.siwinski@etu.univ-montp3.fr>)
id 1P12kQ-0006FK-M0
for user1@domain1.com; Wed, 29 Sep 2010 21:55:26 +0200
To: "user1" <user1@domain1.com>
Subject: =?utf-8?B?RGV2b2lyIHJlbmR1OiBTYXZpbmUgVm9sbGFuZCAtPiBEw6lww7R0IGRlIGw=?= =?utf-8?B?YSBmaWNoZSBkZSBwcsOpc2VudGF0aW9uIFBvd2VyUG9pbnQgcG91ciBsZSB0?= =?utf-8?B?cm9tYmlub3Njb3Bl?=
X-PHP-Originating-Script: 49848:class.phpmailer.php
Date: Wed, 29 Sep 2010 21:55:26 +0200
From: "user2" <user2@domain2.com>
Message-ID: <a5671e55c3b615fa3d0fb9042430ab95@domain1.com>
X-Priority: 3
X-Mailer: PHPMailer Moodle 2010092100 (phpmailer.worxware.com)
MIME-Version: 1.0

---------------------------------------------------------------

Do you have any idea what the problem could be about ?

I think Moodle uses PHP to process emails (which are sent properly), Exim as a local MTA which is setup to use an external SMTP server (which could have restrictions).

Thank you.
Average of ratings: -
In reply to Philip Siwinski

Re: Mail delivery failed: returning message to sender

by Philip Siwinski -
When a student submits a work, Moodle shows the following :

Notice: Undefined property: stdClass::$component in /var/www/moodle/lib/messagelib.php on line 83

Notice: Undefined property: stdClass::$name in /var/www/moodle/lib/messagelib.php on line 83 Notice: Undefined property: stdClass::$component in /var/www/moodle/lib/messagelib.php on line 83

Notice: Undefined property: stdClass::$name in /var/www/moodle/lib/messagelib.php on line 83


The work is submitted but no notification is correctly transmitted.
In reply to Philip Siwinski

Re: Mail delivery failed: returning message to sender

by Philip Siwinski -

This problem is solved. There was a lock on the smtp server.

In reply to Philip Siwinski

Re: Mail delivery failed: returning message to sender

by Alexander Quesada -

I am having this same issue now, how did you fix it?


Thanks