I’m working on implementing a mailing list feature in my app.  Each user has 
their own mailing list with the mailing list recipient addresses stored in my 
database.  The user can send mail to the mailing list address and the message 
would be delivered to each recipient address for the list.

I would like to change the To: header from the mailing list address to the 
individual recipient address for each copy of the message delivered (and add a 
Reply-To: header to use for replying to the message to the group).  Basically, 
I don’t want recipients to see the original mailing list address or other 
recipient addresses in their email.  

My question is:

If I change the To: header and use dbmail-deliver to deliver each changed 
message, will all copies of the messages be efficiently stored (given that each 
copy has a different To: header)?

Also, should I change the Message-Id: header in each copy of the message before 
using dbmail-deliver to send a copy of the message to an individual recipient?  
Does changing To: or Message-Id: affect storing of attachments?  I only want 
the attachment stored once regardless of the number of messages it is attached 
to.  I would like the message bodies and unchanged headers be stored only once 
regardless of the number of copies for the message.

Or, would it be better to just change the To: header to “Undisclosed 
Recipients:” and the message headers and body the same in all the 
dbmail-deliver copies?

Kevin

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to