LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2008, 09:58 PM   #1
jgombos
Member
 
Registered: Jul 2003
Posts: 256

Rep: Reputation: 32
Using BCC for an email distribution list is unprofessional - alternatives?


The popular convention for emailing a group without revealing their email addresses is to list everyone in the BCC field, and then for the author to enter their own email address on the TO field (even though the author probably already keeps a copy of what they send). It's a hack.

I need to come up with something better. I want each recipient to find their own email address exclusively on the TO field - just as it does when a well-configured automated sender distributes a message.

There are several problems with the BCC approach. I won't name them all.. but BCC is not always truly "blind". That's a big issue. Furthermore it looks unprofessional, and tips the reader off that the message is not personal (which is undesirable in some circumstances; and other times I prefer to mention what group I'm mailing in the body, eg. "this message is going out to recruiters I've worked with in the past").

As a recipient of BCC distribution lists, it drives me nuts, because procmail scoring and filtering is heavily dependent on which of my email addresses was used - causing improper filtering.

So other than creating a private google group for each distro list, what's a good way to do this on my own server? My outbound mail goes from mutt to postfix (locally), and postfix relays the message either directly, or via my ISP.
 
Old 04-04-2008, 03:11 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
One way could be to put all the contacts in a MySQL table and have a PHP script automatically send the messages.

Here's an example I put together, based on this example:
PHP Code:
<?php
    $subject 
"Test mail";
    
$message "Hello! This is a simple email message.";
    
$from    "someonelse@example.com";
    
$headers "From: $from";

    
$result mysql_query("SELECT * FROM Contacts");
    while(
$row mysql_fetch_array($result))
        {
            
$to $row['Email'];
            
mail($to,$subject,$message,$headers);
            echo 
"Mail sent to " $to;
        }
?>

Last edited by win32sux; 04-04-2008 at 03:39 PM.
 
Old 04-04-2008, 03:42 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try using majodomo or similar (I use this for list mailouts from work). Don't kid yourself that you'll make a bulk mailout look personal though

Rgds
 
Old 04-04-2008, 04:05 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Someone should write a Thunderbird extension that does this sort of thing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IM - Jabber Server Distribution List fedmg Linux - Software 0 03-05-2007 11:07 PM
What are alternatives to ISP email? Z038 General 15 05-31-2006 11:00 AM
email alternatives brianZA Linux - Newbie 4 11-25-2004 09:07 AM
postfix + procmail + BCc: not recieving BCc sebastianjustin Linux - Networking 0 08-26-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration