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. 2017-05-28, 02:50:13

Author Topic: How To Add Mail Accounts Manually Via SSH?  (Read 254 times)

0 Members and 1 Guest are viewing this topic.

Offline mehawk

  • Junior Member
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
How To Add Mail Accounts Manually Via SSH?
« on: 2017-03-18, 00:08:34 »
Hello,

Is it possible to add mail accounts to kloxo mr 7 manually using ssh console? Just curious, I want to debug my installation by adding a mail account manually to a client's domain. I am unable to add mail account on that specific domain via kloxo mr panel. The mail account creation with this domain's subdomain works fine. Every where else mail creation is working as expected without any error. I have even tried to delete this domain entirely and adding it again but still no luck.. I tried everything but i have not found any error. So, I want to identify the root cause of this problem manually creating mail account for this domain.

Best Regards,
Muhammad Mehroz.
Website Designing, Development, Kloxo MR Based Hosting : http://www.xploretech.net
Social Network: http://www.socialbees.me

Offline tochits

  • Junior Member
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: How To Add Mail Accounts Manually Via SSH?
« Reply #1 on: 2017-03-22, 07:30:08 »
I use the scripts in the directory /script. There is one named 'add' which I call like this:

sh /script/add --parent-class='mmail' --parent-name='DOMAIN' --class='mailaccount' --name='MAILACCOUNTNAME' --v-password='PASSWORD'

This of course requires that the domain and client records are already in kloxo.

It will depend on you what you other details you want to populate upon creation. Refer to the table 'mailaccount' under 'kloxo' database to see the column names/details.
« Last Edit: 2017-03-22, 07:35:47 by tochits »

 


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

Page created in 0.048 seconds with 18 queries.

web stats analysis