Mauricio Teixeira wrote:
> 
> How can I make another username, other than postmaster, be the domain admin?
> 
> I've changed vpopmail code in order to auto create a webmaster box instead
> of postmaster when I create a new domain, so that's the user I want to be
> the domain admin to qmailadmin.

That's not the right way to do it. Acording to RFC 822 you are required
to have a postmaster account so you can report problems with the server.
A better way to do the webmaster=postmaster change is to:

a) create a alias from webmaster to postmaster. That way mail will work,
but you still can't login to qmailadmin as webmaster.


b) hack auth.c line 120 (qmailadmin version 0.30) from:

if ( strcmp(Username,"postmaster")==0 ) {

to:

if ( strcmp(Username,"postmaster")==0 ||
strcmp(Username,"webmaster")==0) {

( this should, acording to my C knowlegde, return true if Username is
either postmaster or webmaster - this is however untested as I don't
require the feature).

And then create the additional account webmaster.

or c)

keep your current changes so your code automaticly create webmaster
account, change auth.c as in option b and then create an alias from
postmaster to webmaster.

Best regards
 Michael Boman

> 
> How can I do that?
> 
> ______________________________
> Mauricio Teixeira
> Webset Internet Services
> www.webset.net Belem/PA/Brazil

-- 
W I Z O F F I C E . C O M   L I M I T E D  -  Your Online Office Wizard
16 Tannery Lane, Crystal Time Building, #04-00, Singapore 347778
Voice : (+65) 844 3228 [extension 118]  Fax : (+65) 842 7228
Pager : (+65) 92 93 29 49               ICQ : 5566009
Mobile: (+65) 98 55 17 34
eMail : mailto:[EMAIL PROTECTED]    URL : http://www.wizoffice.com

S/MIME Cryptographic Signature

Reply via email to