
03/22/2002
Problem:How can I send one email to all the users.
Solution:
- Create a new user through the UI under the main site with the user id of
"SOMENAME". Choose an account that is unlikely to ever receive
mail accidentally).
- Logon to the as the Superuser.
- Type this command:
ls -Al /home/spool/mail/* | gawk {'print
"\\"$9'} | sed 's~/home/spool/mail/~~' >
/home/sites/home/users/SOMENAME/.forward
- Now send an EMAIL to an alias account and BCC (Blind Carbon Copy) the new
account SOMENAME@mymainsitedomain.com.
NOTE: The reason for the BCC is any mail that is sent to the
account SOMENAME (SOMENAME@mainsitedomain.com) will have SOMENAME in the TO
email address, which will show this account username to the users on the
server. An easy way to avoid this happening would be to address the TO
address as something like ANNOUNCE@domain.com, and BCC (Blind Carbon Copy)
SOMENAME@mydomain.com. Thus masking the REAL email address that allows bulk
mailing.