The issue in detail and hack for achieving desired behavior are listed here: http://drupal.org/node/170226
The above does not fix the duplicate mime header field "X-Mailer: Drupal".

Steps to reproduce: Use site-wide contact form either as anonymous or logged-in user. The recipient receives an email with sender & reply to fields as the site defaults instead of from the sender. (Issue is new and did not exist before CVS update to 4.7.7 (DRUPAL-4-7 branch))

Expected behavior: The "From" and "Reply-To" fields and preferably "Errors-To" also should contain true sender info rather than site-default info.

Other info: Apache/1.3.34 (Debian) | PHP/4.4.4-8+etch4 | Postfix 2.3.8-2+b1

CommentFileSizeAuthor
#2 usermodule_5.patch836 bytesajzz

Comments

Anonymous’s picture

Since you have a fix why not attach a patch? When you have the patch attached, change the Status to ``Patch (code needs review)''.

ajzz’s picture

Status: Active » Needs review
StatusFileSize
new836 bytes

Patch attached as requested (removes site_mail defaults for "From", "Reply-To" and "Errors-To").

The X-Mailer header is still getting duplicated in all e-mails and notifications, due to forced concatenation in contact.module at user_mail calls in lines 387 and 391. If above patch is approved, contact.module should also be patched in a consistent way.

killes@www.drop.org’s picture

Status: Needs review » Closed (duplicate)