Issue Details (XML | Word | Printable)

Key: MDL-11645
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Petr Skoda
Reporter: Matt Gibson
Votes: 1
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

emails are sent with user's email as sender, so are rejected as spam

Created: 08/Oct/07 04:52 PM   Updated: 18/Dec/07 05:43 PM
Return to search
Component/s: Messages
Affects Version/s: 1.8.2
Fix Version/s: None

Environment: win2k3, apache2, ms exchange
Issue Links:
Relates
 

Database: MySQL
Participants: Matt Gibson and Petr Skoda
Security Level: None
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
I've just got this bounce message back from hotmail, which seems to show that the email headers contain the users email address. I am the admin user for our site and my email is matt.gibson@mymoodle.com. the site is at http://moodle.mymoodle.com and the SMTP user is moodlenoreply@mymoodle.com, which is a user account on our exchange server.

Here is the bounce message

   I'm afraid I had problems forwarding your message. Full details follow:

   Subject: 'ok, no problem....'
   Date: 'Sun, 7 Oct 2007 11:04:30 +0100'

   1 error(s):

   SMTP Server <mx1.hotmail.com> rejected sender <matt.gibson@pmymoodle.com> (Error following MAIL command). It
   responded as follows: [msn.com]

   I have also attached the mail's original headers. Sorry it didn't work out.


Here is the attached header:


Received: from 10.80.162.2 ([10.80.162.2])
by elc-ecc-mail-01.equinoxit.net with emfmta (version 3.3.0.3203.0.rd-3.2.2-libc2.3.1) vanilla id 1192021036
for students_email@msn.com; Sun, 07 Oct 2007 10:04:31 +0000
Received: from moodle.mymoodle.com ([192.168.1.253]) by exch1.SCHOOLDOMAIN.INTERNAL with Microsoft SMTPSVC(6.0.3790.1830);
Sun, 7 Oct 2007 11:04:31 +0100
Date: Sun, 7 Oct 2007 11:04:30 +0100
Return-Path: matt.gibson@mymoodle.com
To: Student <students_email@msn.com>
From: Matt Gibson <moodlenoreply@mymoodle.com>
Reply-to: Do not reply to this email <moodlenoreply@mymoodle.com>
Subject: ok, no problem....
Message-ID: <a12ae3917ba2f9d80e7046c21b695138@moodle.mymoodle.com>
X-Priority: 3
X-Mailer: PHPMailer [version Moodle 2007021520]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_a12ae3917ba2f9d80e7046c21b695138"
X-OriginalArrivalTime: 07 Oct 2007 10:04:31.0148 (UTC) FILETIME=[743A36C0:01C808C9]

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda made changes - 18/Dec/07 05:33 AM
Field Original Value New Value
Assignee Martin Dougiamas [ dougiamas ] Petr Skoda [ skodak ]
Petr Skoda added a comment - 18/Dec/07 05:35 AM
why is there <matt.gibson@pmymoodle.com> - I mean th letter "P" in email address?

Petr Skoda made changes - 18/Dec/07 08:52 AM
Link This issue has a non-specific relationship to MDL-12524 [ MDL-12524 ]
Petr Skoda added a comment - 18/Dec/07 08:54 AM
MAybe the problem is related to MDL-12524, could you please test it with latest cvs snapshot?

Matt Gibson added a comment - 18/Dec/07 09:00 AM
Sorry, typo - should be @mymoodle.com

I will try to test, although I had forgotten about this and have not seen the errors recently. I was more worried about the inaccurate return path and From field.


Petr Skoda added a comment - 18/Dec/07 05:43 PM
I got some strange return url too when testing the linked bug, that is why I thought it might be related.