addusers and bsd2cyrus

Igor Brezac igor at
Fri Jun 27 15:16:44 EDT 2003

On Fri, 27 Jun 2003, joe ritter wrote:

> Hello,
> I am tasked with moving 10K users away from
> /var/mail/$username UW Imap to Cyrus. I bought the
> book Managing IMAP and there is a chapter however the
> scripts still refer to the TCL based cyradm. I was
> wondering if anyone could share any batch creating and
> batch setup scripts with me and or any other tips on
> this procedure. Thanks in advance.

I hacked mailutil ( not to
prompt for the cyrus admin password.  Backup your old mailspool.  Create
mailboxes on cyrus.  Then,

cd /var/mail
for m in *
   mailutil append /var/mail/$m {new.cyrus.server/norsh/tls/authuser=cyrusadmin/user=$m}INBOX

For this to work your cyrus server needs to support PLAIN+TLS mech
Unfortunately CRAM-MD5 does not support proxy auth and UW libs do not
support DIGEST-MD5.

Hope this help.


More information about the Info-cyrus mailing list