Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 17:40:38

Author Topic: Mail account add failed  (Read 3135 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Mail account add failed
« on: 2014-09-08, 21:51:04 »
One of my customers is always reporting mailaccount add failed on each new domain.

How to correct this ???

Quote
'/home/vpopmail/bin/vadddomain'  '-i' '2093' '-g' '2094' 'domenatestowa.pl' '-b' '12345678' '-d' '/home/lxadmin/mail'

Error: Domain already exists

We had to remove domain from qmail then readd it again. This is a very old customer from normal Kloxo times (6.1.6 or something).
« Last Edit: 2014-09-08, 23:41:25 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mail account add failed
« Reply #1 on: 2014-09-08, 22:08:04 »
Try fix-chownchmod.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Mail account add failed
« Reply #2 on: 2014-09-08, 23:35:53 »
Try fix-chownchmod.

Does not help. It's a problem where all customer mail account are created in wrong directory /home/lxadmin/mail/6/domain.com instead of /home/lxadmin/mail/domain.com.

The only possibility to fix this is to probably remove user account with all domains and recreate it.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Mail account add failed
« Reply #3 on: 2014-09-08, 23:52:33 »
I had to run:

Quote
'/home/lxadmin/mail/bin/vdeldomain' 'domenatestowa.pl'
then
'/home/lxadmin/mail/bin/vadddomain' 'domenatestowa.pl'

then adding mail works again for this particular domain.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Mail account add failed
« Reply #4 on: 2014-09-08, 23:56:19 »
Some parts of log:

Quote
22:54 Sep/08/2014: 0: Generating RSA private key, 1024 bit long modulus
.........++++++
.............................................++++++
e is 65537 (0x10001)
 [(__system__:/var/qmail/control/domainkeys/uwagatest.pl) 'openssl'  'genrsa' '-out' 'private' '1024']
22:54 Sep/08/2014: 0: writing RSA key
 [(__system__:/var/qmail/control/domainkeys/uwagatest.pl) 'openssl'  'rsa' '-in' 'private' '-out' '/tmp/lxtmp_rsagenjh13Rk' '-pubout' '-outform' 'PEM']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'pure-pw'  'useradd' 'uwagatest.pl' '-u' 'zaserd' '-d' '/home/zaserd/uwagatest.pl' '-m']
22:54 Sep/08/2014: pure-pw usermod uwagatest.pl -N '' -m
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'pure-pw'  'usermod' 'uwagatest.pl' '-z' '0000-2359' '-m']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0755' '/home/httpd/uwagatest.pl']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0755' '/home/zaserd/uwagatest.pl']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chown'  '-R' 'zaserd:zaserd' '/home/zaserd/uwagatest.pl']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '751' '/home/zaserd']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '771' '/home/httpd/uwagatest.pl/stats/']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0744' '/etc/webalizer/webalizer.uwagatest.pl.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0744' '/etc/awstats/awstats.uwagatest.pl.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'file'  '-b' '/home/zaserd/uwagatest.pl/skeleton.zipcUZqYs']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0755' '/home/kloxo/client/zaserd/php5.fcgi']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0744' '/etc/webalizer/webalizer.uwagatest.pl.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0744' '/etc/awstats/awstats.uwagatest.pl.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/apache/conf/domains/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/lighttpd/conf/domains/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/nginx/conf/domains/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/hiawatha/conf/domains/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chown'  '-R' 'apache:apache' '/home/httpd/uwagatest.pl/stats']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '750' '/home/httpd/uwagatest.pl/__dirprotect']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '750' '/home/httpd/uwagatest.pl/__dirprotect/__stats']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0744' '/etc/webalizer/webalizer.uwagatest.pl.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '0744' '/etc/awstats/awstats.uwagatest.pl.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/apache/conf/defaults/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/lighttpd/conf/defaults/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/nginx/conf/defaults/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'rm'  '-rf' '/opt/configs/hiawatha/conf/defaults/*.conf']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) '/home/vpopmail/bin/vadddomain'  '-i' '2093' '-g' '2094' 'uwagatest.pl' '-b' 'xxxxxxxx' '-d' '/home/lxadmin/mail']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chmod'  '700' '/home/lxadmin/mail/domains/6/uwagatest.pl/postmaster/.maildroprc']
22:54 Sep/08/2014: 0:  [(__system__:/usr/local/lxlabs/kloxo/httpdocs) 'chown'  '-R' '2093:2094' '/home/lxadmin/mail/domains/6/uwagatest.pl/postmaster/autorespond']
22:55 Sep/08/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/httpd graceful' >/dev/null 2>&1 &
22:55 Sep/08/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/nginx reload
' >/dev/null 2>&1 &

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.077 seconds with 18 queries.

web stats analysis