Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: Adding new tab in admin panel Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 06 February 2013 at 4:53am | IP Logged Quote testverge

Hello,

I wish to add new tab in webmailpro admin panel, how can this be achieved?
Also I wish to create account from front end, i have to use api for this but its not very clear to me.
Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 06 February 2013 at 4:57am | IP Logged Quote Igor

Quote:
I wish to add new tab in webmailpro admin panel, how can this be achieved?


That requires source code modification. If you'd like to request assistance from our developers on this in terms of Professional Services contract, please let us know.

Quote:
Also I wish to create account from front end, i have to use api for this but its not very clear to me.


For MailSuite Pro for Linux, this is available according to this documentation page. WebMail Pro can only log into existing accounts, and assuming that account credentials are supplied correctly, there's no need to create account explicitly.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 06 February 2013 at 8:24pm | IP Logged Quote testverge

Hi,

Thanks for the reply.

Can you please shed some information on the database system in use with mail suitepro. How custom SQL queries can be executed on the database, also how can i update the password of database since the default password "afterlogic" in settings.xml is not working from adminpanel when i test it.

Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 07 February 2013 at 12:02am | IP Logged Quote Igor

MySQL credentials are found in /usr/mailsuite/web/html/data/settings/settings.xml file:

Code:
          <DBHost>localhost:/usr/mailsuite/tmp/mysql.sock</DBHost>
          <DBName>exim</DBName>
          <DBLogin>root</DBLogin>
          <DBPassword>mailbundle</DBPassword>


As you can see, default MySQL password is mailbundle. Note that the same database credentials are supplied in mailserver configuration files as well, so if you're willing to change password, make sure you change that everywhere.

Note that for security reasons, MySQL allows local connections only.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 08 February 2013 at 12:28am | IP Logged Quote testverge

Hi,

I followed the approach specified here:

http://www.afterlogic.com/products/mailsuite-pro-linux-docs/installation-instructions.htm

and created a separate database with proper configuration, now when i create user accounts from adminpanel, accounts are created but I am not able to login into webmail via the created accounts, however it was working before.

do i need to configure mailserver as well to use this external db.

Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 08 February 2013 at 12:30am | IP Logged Quote Igor

Yes and I mentioned that before:

Quote:
Note that the same database credentials are supplied in mailserver configuration files as well, so if you're willing to change password, make sure you change that everywhere.


The only approach supported out-of-box is to use built-in database server.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 08 February 2013 at 12:34am | IP Logged Quote testverge

Where is mail server configuration file located, can it be edited?

thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 08 February 2013 at 12:37am | IP Logged Quote Igor

I have no idea if that's actually one file. Your best bet is to run a search for default 'mailbundle' password throughout entire MailSuite Pro directory.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 08 February 2013 at 12:55am | IP Logged Quote testverge

Ok, can I execute mysql queries on built in mysql, i failed to do it earlier, so i reverted to external mysql.

thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 08 February 2013 at 1:01am | IP Logged Quote Igor

Sure, I was able to access it just fine:

Code:
# /usr/mailsuite/bin/mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 217878
Server version: 5.0.37-log Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use exim;
Database changed
mysql> select * from `awm_accounts`;


It doesn't even ask for password. But, once again, you can't do that by sending SQL queries from remote systems, unless you reconfigure SQL user permissions of course.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 08 February 2013 at 2:06am | IP Logged Quote testverge

Thank a lot, it worked for me.
Back to Top View testverge's Profile Search for other posts by testverge
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 10 February 2013 at 10:13pm | IP Logged Quote testverge

Hello,

Thanks for all your help.

Can I send emails to the users?, what method of webmail/api do i have to use to achieve this.

Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 10 February 2013 at 10:14pm | IP Logged Quote Igor

WebMail Pro doesn't have public API methods of this kind yet, we're planning to add it in upcoming v7 of the product.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 10 February 2013 at 10:21pm | IP Logged Quote testverge

So, does it mean i cannot send email to the registered users or is there a way?

thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 10 February 2013 at 10:23pm | IP Logged Quote Igor

Well, WebMail Pro is an email client, so assuming you know their addresses, you can mail them using the frontend of course. But if you're looking for some special way to send message to multiple (or all) registered users, there isn't one I'm afraid.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide