I noticed that when using the API and adding a new domain, there are cases where no error is returned even though the operation failed.
 
I suspect that this is becuase in
in vpopmail.c
in the routine vadddomain
there are several calls to routines that do not check for an error return code.
 
For example, the call:
    add_domain_assign( domain, domain, TmpBuf, uid, gid );
can fail (and did in my case), but no check is made to see if that happened.
 
Is this a oversight/bug or is there something I'm overlooking?
 
Thanks.
 
Jim
 
James H. Thompson
[EMAIL PROTECTED]

Reply via email to