Hi Jason,

> Is it possible to email every user on a raq? I think I read this was
> possible once but i cant remember how or where i read it!

Yeah, that's possible. However, before you do this, be sure to read all the 
instructions and especially the important recommendation at the very end:

Create a user on the primary website and give it a name that's not so easy to 
guess. In my example below I name it "mailall", but I DO NOT recommend to 
name it that way as there is the real possibility of abuse here that can 
direly harm your business.

Then run this command: 

RaQ3 and RaQ4:
==============

ls -Al /home/spool/mail/* | gawk {'print "\\"$9'} | sed 
's~/home/spool/mail/~~'> /home/sites/home/users/mailall/.forward

(All in one line and you'd need to correct the path for the forward file so 
that the forward file is written to the home directory of the "mailall" user 
that you created for this purpose).

RaQ550:
========

ls -Al /home/sites/*/users/*/mbox | gawk {'print "\\"$9'} | sed 's~/mbox~~' |
sed 's~/home/sites/.*/~~' > /home/sites/home/users/mailall/.forward

(All in one line and you'd need to correct the path for the forward file so 
that the forward file is written to the home directory of the "mailall" user 
that you created for this purpose).

What the command does:

It reads the directory (or directories on the RaQ550) where the mailbox files 
for your users are located and it finds out what mailboxes exist in there. It 
then creates a .forward file in /home/sites/home/users/mailall/ with a list 
of all mailbox owners.

When you then send an email to user "mailall" on your server, then 
the .forward file will make sure that the mail is forwarded to ALL users that 
exist on the server.

IMPORTANT recommendation:
==========================

1.) When you use this method, put the address "[EMAIL PROTECTED]" into 
the BCC (Blind Carbon Copy) recipient box so that recipients do NOT see the 
"mailall" email address.

2.) Once you sent the mail to all users, delete the .forward file (!!!). You 
do NOT want that anyone else than you can send mail to all your users in one 
go. Imagine a competitor or spammer sending an email to that address. Or one 
customer sending mail to the address and all other users then also get that 
mail. 

So use this one with great care and remove the "mailall"-user and/or 
the .forward file as soon as you are done with your mailing run.

-- 

With best regards,

Michael Stauber

_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to