On Tue, 12 Apr 2005, David Malcolm wrote:
On Mon, 2005-04-11 at 14:27 -0700, Sean Bruno wrote:[...]Was curious if anyone has seen/used any kind of auto-setup scripts for large amounts of users. I have a couple of hundred pine/mutt users that I intend to move over to evolution sooner rather than later.
I would like to create their email accounts automatically, and not have to setup each one seperately as they login.
Sean
I've written some Python scripts to make it easier to work with Evolution's configuration information, in the hope of automating mass deployments of Evolution.I've tested this, and had it working for an Evolution 2.0 deployment. I suspect the approach will break under some circumstances, and with different versions of Evolution. Comments and patches welcome.
Hey, this and Mark's LDAP gconf backend are a really nice start. What's currently missing for my environment is PERSONALIZE_SERVERNAME as there are god-knows-how-many different servers around the company.
#print urlText
#print newUrlText
@@ -195,6 +207,8 @@
# grab configuration information from environment
username = os.getenv("PERSONALIZE_USERNAME")
friendlyName = os.getenv("PERSONALIZE_FULLNAME")
+ mailboxName = os.getenv("PERSONALIZE_MAILBOXNAME")
+ serverName = os.getenv("PERSONALIZE_SERVERNAME")schemeRegex = "([a-z]*)"; usernameRegex = "([A-Za-z0-9\\\\%]*)"; -mailboxRegex = "([A-Za-z0-9]*)"; +mailboxRegex = "([A-Za-z0-9.]*)"; hostnameRegex = "([A-Za-z0-9\\.]*)";