Hi Eric,
I work around solution for add a printf as below , thanks

domain.c

  /* add the domain with defaults */  ret = vadddomain(domain, VPOPMAILDIR, 
VPOPMAILUID, VPOPMAILGID );  if (ret != VA_SUCCESS) {    
global_warning(verror(ret));
    printf("<tr><td><FONT face=%s color=\"#ff0000\">Add Domain: Failed: Domain 
already exist</td></tr>\n");

user.c

  vpw = vauth_getpw(user,domain);  if (vpw != NULL) {    global_warning("Add 
User: Failed: account already exist");
    printf("<tr><td><FONT face=%s color=\"#ff0000\">Add User: Failed: account 
already exist</td></tr>\n");
 

    Eric Broch <ebr...@whitehorsetc.com> 於 2018年03月18日 (週日) 7:37 AM 寫道﹕
 

  I think vqadmin has had issues for a long time. I don't use it anymore but 
use qmailadmin or command line
  
 On 3/17/2018 9:52 AM, Henry wrote:
  
  Hello, 
  
  I use vqadmin to create a domain if the domain/user already exists, supposed 
will display a error such as 
  "Domain already exists" "User already exists" 
  at old version vqadmin in centos 5. 
  But when I testing in new centos 7.4 with vqadmin-2.3.7-1.qt.el7.x86_64 that 
no any error display. 
  
   
 
 -- 
Eric Broch
White Horse Technical Consulting (WHTC)
 

   

Reply via email to