[Web-cyradm] Cyrus 2.2.3 virt domains + Web-cyradm 0.5.4 patch
Cheeto
cheeto at shaolinux.org
Thu Apr 22 17:42:58 CEST 2004
So you did patch your web-cyradm. yes it's simple but if I sent out a
patch with your changes it might not work with someone elses
configuration, what if someone didn't want to use DOMAIN_AS_PREFIX for
the unixhierarchy sep (like me)? Or what if someone wanted freenames
with FQUN? The whole point of making a patch for this is so that other
users who don't need this feature or want to use it in conjunction with
or without other specific features can without any obstruction.
My patch is not complex, I wanted this feature, and i noticed someone
else had posted on this board a few months ago requesting it so here's a
patch that hopefully doesn't break anything for anyone else.
On Thu, 2004-04-22 at 17:13, martynas at inet.lt wrote:
> Yes , may usernames are like their emails in form name.surname at domain.com
> I use in cyrus 2.2.3 with web-cyradm 0.5.4:
> virtdomains: yes
> unixhierarchysep: yes
>
> One change:
> --- newaccount.php.orig 2004-04-09 16:48:49.000000000 +0200
> +++ newaccount.php 2004-04-09 16:49:40.000000000 +0200
> @@ -187,7 +187,7 @@
> $prefix = $domain;
> $username = $email;
> if ($freenames!="YES") {
> - $username = $username . "." . $domain;
> + $username = $username . "@" . $domain;
> }
> $seperator = '/';
> } else {
>
> And thats all. There is no need of any extra patches. It works ok.
>
> regards,
> Martynas
>
>
>
>
> --- Cheeto <cheeto at shaolinux.org> wrote:
> > Do your users login with the fully qualified usernames? And are your
> > mailboxes created and accessed in the form
> > user.username at domainname.tld. That's really the main change. And
> > that's the whole point of cyrus 2.2.x's virt domain support. Dunno,
> > maybe you know something I overlooked?
> > Cheeto
> >
> > On Thu, 2004-04-22 at 16:12, martynas at inet.lt wrote:
> > > Hi,
> > > But I use cyrus 2.2.3 + virt domains with standart distribution of
> > web-cyradm
> > > 0.5.4 and I have no problems;) So, why some patches are needed for
> > > web-cyradm, if it works ok? Do they add new features?
> > >
> > > regards,
> > > Martynas
> > >
> > > --- Cheeto <cheeto at shaolinux.org> wrote:
> > > > Luc,
> > > > Did you ever get a chance to take a look at my patch? I made a small
> > > > change recently, what did you think of it? I have it successfully
> > > > working with the sasl patch to allow crypt passwords with auxprox. I'm
> > > > also working on a Sendmail + Cyrus Imap + Mysql + Web-Cyradm Howto
> since
> > > > there really isn't one in existance and everyone kept telling me to
> > > > switch to postfix.
> > > > Thanks,
> > > > Michael Hsu
> > > > Cheeto
> > > >
> > > > On Wed, 2004-04-07 at 17:09, Michael Hsu wrote:
> > > > > Here's a much cleaner version of the patch, adds a new variable to
> the
> > > > > conf.php and you can use the DOMAIN_AS_PREFIX in conjunction with it
> > as
> > > > > opposed to my old patch. I haven't tried out that patch that bob
> > > > > mentioned, but I have already made a deb package of sasl2 with that
> > > > > patch incorporated so I can test it later . Thanks bob, that'll make
> > > > > things perfect.
> > > > >
> > > > > As for what Martynas was saying, I just joined this mailing list like
> > > > > yesterday so I haven't seen your emails, but I'd be interested to
> > learn
> > > > > about how you got that working with pam_mysql without patching sasl.
> > > > >
> > > > > http://www.shaolinux.org/web-cyradm-0.5.4.new.diff
> > > > >
> > > > > Thanks,
> > > > > Michael Hsu
> > > > >
> > > > > On Wed, 2004-04-07 at 13:12, Michael Hsu wrote:
> > > > > > > > Just protect your DB ;)
> > > > > > > > 2) In the conf.php set $CRYPT= "plain 0";
> > > > > > >
> > > > > > > That is VERY bad! Is there no other way?
> > > > > >
> > > > > > I know how you feel, I hate keeping things plain text, the problem
> > is
> > > > > > that auxprop is only a password retrieval mechanism, therefore it
> > has
> > > to
> > > > > > be in plaintext unless someone were to patch sasl. Of course the
> > other
> > > > > > way would be to patch sasl for pam_mysql, as far as I know these
> are
> > > the
> > > > > > only ways. Perhaps someone knows more about this?
> > > > > >
> > > > > > > As I notes obove, I'll check the patch. Hopefully you added a new
> > > > config
> > > > > > > variable in conf.php...
> > > > > >
> > > > > > Actually this was just a quickie patch just to get that one feature
> > > > > > working, I didn't do an elegant job of integrating it with a
> > variable
> > > in
> > > > > > the conf, but now that you mention it, that would be a better idea
> > and
> > > a
> > > > > > lot cleaner, I'll toss something together and repost. And thanks
> > for
> > > > > > writing web-cyradm, it's saved me a lot of time ;)
> > > > > > Michael Hsu
> > > > > >
> > > > > > _______________________________________________
> > > > > > This mailing list is hosted and supported
> > > > > > by bit-heads GmbH | http://www.bit-heads.ch
> > > > > >
> > > > > > _______________________________________________
> > > > > > Web-cyradm mailing list
> > > > > > Web-cyradm at web-cyradm.org
> > > > > > http://www.web-cyradm.org/mailman/listinfo/web-cyradm
> > > > >
> > > > > _______________________________________________
> > > > > This mailing list is hosted and supported
> > > > > by bit-heads GmbH | http://www.bit-heads.ch
> > > > >
> > > > > _______________________________________________
> > > > > Web-cyradm mailing list
> > > > > Web-cyradm at web-cyradm.org
> > > > > http://www.web-cyradm.org/mailman/listinfo/web-cyradm
> > > >
> > > > _______________________________________________
> > > > This mailing list is hosted and supported
> > > > by bit-heads GmbH | http://www.bit-heads.ch
> > > >
> > > > _______________________________________________
> > > > Web-cyradm mailing list
> > > > Web-cyradm at web-cyradm.org
> > > > http://www.web-cyradm.org/mailman/listinfo/web-cyradm
> > >
> >
>
More information about the Web-cyradm
mailing list