[qmailtoaster] 回覆︰ [qmailtoaster] vqadmin no error when display

2018-03-18 Thread Henry
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("Add Domain: Failed: Domain 
already exist\n");

user.c

  vpw = vauth_getpw(user,domain);  if (vpw != NULL) {    global_warning("Add 
User: Failed: account already exist");
    printf("Add User: Failed: account 
already exist\n");
 

Eric Broch  於 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)
 

   

Re: [qmailtoaster] vqadmin no error when display

2018-03-17 Thread Eric Broch
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)



[qmailtoaster] vqadmin no error when display

2018-03-17 Thread Henry
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.