Did you mean to set 
Freenames=YES
Freeaddress=YES

In domain table in mysql?

So I won't edit newaccount.php?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muenz, Michael
Sent: Wednesday, July 20, 2005 10:52 AM
To: [email protected]
Subject: RE: [Web-cyradm] using short login names

> My newaccount.php is a little different:
> if ($DOMAIN_AS_PREFIX){
>                                 $prefix         = $domain;
>                                 $username       = $email;
>                                 if ($freenames!="YES") {
>                                     // $username = $username . "." . 
> $domain;
>                                       $username = $username;


hmmm, I'm not a php coder, but when you add a domain, go to edit domain and tip 
the checkbox "allow free usernames"
then you don't have to edit this piece of code. But I think this snip will also 
work. :)


Michael
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
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
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to