Mail All Users

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

propagandhi
Posts: 81
Joined: Wed Sep 26, 2007 8:18 am

Mail All Users

Postby propagandhi » Tue Feb 05, 2008 9:15 pm

Is there a way to mail all users in the system.

We have way too many new accounts to be constantly maintaining a group of every user in the system.

We want a way of either having all new users added to a group automatically, or of just mailing all users in the user database.

Can it be done? How?

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Wed Feb 06, 2008 11:29 am

Run a script each day to create a pdl, in that script you could use:

omaddpdl -l allusers/mailnode
omshowu -m all |while read name;do
omaddpdln -l allusers -n "$name" -x

For the updates, I would use thee lines

ommodent -e s=allusers -n dl-members=
omshowu -m all |while read name;do
omaddpdln -l allusers -n "$name" -x

Mick


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron