mailshot setup

Bob Hutchinson <[email protected]> Fri, 12 Sep 2008 00:03:39 +0100
Newsgroups gmane.mail.ezmlm
Message-ID <[email protected]>
I'm not sure if this is out of place but here goes anyway.

I want to send out a weekly newsletter which is pulled from a database and 
which is to be sent to a list of subscribers. The plan is that this run on a 
weekly cron but so far my attempts to get this to work the way I want it have 
been mixed. I tried ezmlm-send but decided that was not the right tool so I 
tried qmail-inject in the form of

cat newsletter_mailout.txt | qmail-inject [email protected] 
[email protected]

where [email protected] is the list's moderator, newsletter_mailout.txt is the 
content (pulled from mysql by another script) and [email protected] the 
list.

What happens is that [email protected] (the moderator) gets a request to allow 
the sending of the list and that works fine, the mailout gets sent, however 
the From: header is root@servername and the To: header is 
[email protected]

What I want is From: [email protected] and To: [email protected]
This would lend the mailout 'credibility'

I would also prefer that the list was just sent, no intervention required. The 
folks who write the content are journalists, not techies ;-)

The list is not interactive, it's just a mailshot to the people who have 
subscribed themselves over a number of years via form on a website. The 
reason I want to use ezmlm is so that people can unsubscribe themselves and 
new subscribers can be checked by the confirmation method. I gather that 
ezmlm will also scrub the list of bounces automatically. I have 
already 'cleaned' the list by looking up the domains for but there are 
nonexistent email addresses in there.

I am running ezmlm-idx-0.40 but have no objections to trying a more recent 
one. No one else is using ezmlm on this particular box so I can afford to 
fool around.

I am running a stock Shupp toaster, qmail, vpopmail, qmailadmin etc no mysql 
backend.

Looking forward to some ideas. ;-)

-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------