Reply-To header

miglius - August 10, 2007 - 12:10
Project:Organic groups list manager
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

When a message comes from the og2list the sender of the message is a sender of original mail sent to og2list or author of the forum topic if the post was created using drupal. So if I hit Reply in my mail client the email will be sent just to the author of previous message.

I would suggest to put additional Reply-To header pointing to the group's email address. This way when a user receives a message from the forum and replys to it the message would go back to the forum making forum topic consistent.

#1

damien_vancouver - August 10, 2007 - 21:28
Status:active» postponed (maintainer needs more info)

Hi Miglius.

Whether to use the Reply-To: header is a configuration option inside mail.conf, right near the top:

# Reply-To header to the list for outgoing messages
$set_reply_to = 0;

Not sure why this is defaulted to 0, it would probably be better defaulted to 1!
It seems to me you'd never want it at 0 really, except in some unusual situations.

If you agree, can you make a patch defaulting it to 1 and I'll test it and RTBC it if it works?

#2

miglius - August 22, 2007 - 15:38

I have attached the patch.

Also, why $mail_domain variable is needed in the mail.conf file? Can this info be extracted from the group mail address? I'm looking forward if several drupal sites with different domains would use the same mail server the domain shouldn't be hardcoded.

Do you want me to write a patch to get rid of $mail_domain?

AttachmentSize
o_0.patch 301 bytes

#3

damien_vancouver - November 1, 2007 - 07:13
Status:postponed (maintainer needs more info)» reviewed & tested by the community

OK this patch looks fine to me... and it makes sense to have that default to 1 as discussed.

re: the mail_domain, that issue is at http://drupal.org/node/68408. There is at least one other person working on it there and then we have multiple domains in our private version. We should probably combine the best features out of all of these into a final patch.

Let's discuss that and test at that other issue. This one is RTBC.

 
 

Drupal is a registered trademark of Dries Buytaert.