Hello,

our cyrus-imapd server is using the
NetWare NDS for user authentication.

It would be nice if -- after having added
a new user to the NDS -- the cyrus
IMAP mailbox would automatically be
created after a successfull login of
the new IMAP user.

Is it possible to configure this in any way
or is it planned to integrate such a feature?

If not, we think to modify the IMAP.pm
(and Shell.pm) so that the IMAP adminīs
password stands in the Perl script and
cannot be echoed and transferred into
the net (I did not succeed in inhibiting
the echo from "expect cyradm ..." at least
when the password stands in the expect
script, and the cmd line can be seen with
"ps"). For the rest "cm user.<username>"
and "sq user.<username> 10000" we think to
use "expect", having previosly modified
the imapd.c file so that cyradm will
be launched via system(). I think there
will be no security hole because the
only input will be the already success-
fully checked username (from the NDS).

Or does someone already have a patch?


Dietmar Rahlfs

P.S.

Algorithm like this:

if IMAP login successful
  if not exists user mailbox
    create user mailbox
  endif
endif

Reply via email to