On 2-Jun-2010, at 15:59, Mike Hutchinson wrote:
> 
> Currently we use postfixadmin for this, but this is undesirable as it will
> often double-up or triple-up entire sends (we intend to fix this,
> eventually). I know the previous system we used was basically a script that
> copied a file into everyone's Inbox under their Maildir folder - we no
> longer have the script, so that idea is out.

This is not a postfix question.

However, a script is almost certainly the easiest way to do this, and it's 
quite trivial if all your users are using Maildirs.

I use something like this (run via cron out of the user's own crontab)

ORG="Name of our company/Organization"
BODY="text of the email I want to send"
DATE=`date '+%a, %d %b %Y %T %z'`

echo "Subject: This is my broadcast email"; \
echo "Date: $DATE"; \
echo "From: $ORG Broadcast Service <broadc...@ourdomain.tld>";\
echo ; \
echo "$BODY") | /usr/local/maildrop -d


maildrop makes putting mail into maildirs trivial if you're using Courier. If 
you're using something else… well, I'm sure there's something similar. Your 
best bet is to ask this on the list for your mail package.

-- 
The more you tighten your grip, Tarkin, the more star systems will slip
through your fingers.

Reply via email to