#1  
Old 24th January 2012, 22:41
Blackbit Blackbit is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 3
Thanked 4 Times in 3 Posts
Default Centralized Roundcube

Hi all!

We're using several ISPConfig installations and several mail servers -but we have only one Webmail server using Roundcube. I'd like to share my patch, how roundcube can ask the main central ISPConfig for the right mail server using the remote API. So that there's always the same addressbook and same connection no matter wich domain was used to bring up Roundcube. Instead of looking up the DNS MX-Records, we just ask ISPConfig.

- First of all set up the API User in ISPConfig.
- Then install the plugin automx.
- Open the file web/plugins/automx/automx.php from roundcube.
- Replace the whole function getServerByEmail() with the attached text file - or merge the changes, if your and our roundcube versions are different.
- Finally don't forget to replace "your_api_user" and "your_api_password"!

That's it. Have fun!
Attached Files
File Type: txt roundcube_remote_api.txt (1.9 KB, 121 views)
Reply With Quote
The Following 2 Users Say Thank You to Blackbit For This Useful Post:
falko (25th January 2012), nveid (27th February 2012)
Sponsored Links
  #2  
Old 24th January 2012, 23:26
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 325
Thanks: 55
Thanked 95 Times in 60 Posts
Send a message via Skype™ to Horfic
Default

Good work, but I already implemented that ages ago into my mailuser interface for ispconfig 3 + roundcube

Its called ispconfig3_autoselect.
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote
The Following 2 Users Say Thank You to Horfic For This Useful Post:
Blackbit (25th January 2012), falko (25th January 2012)
  #3  
Old 25th January 2012, 00:16
Blackbit Blackbit is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 3
Thanked 4 Times in 3 Posts
 
Default

Quote:
Originally Posted by Horfic View Post
Good work, but I already implemented that ages ago into my mailuser interface for ispconfig 3 + roundcube

Its called ispconfig3_autoselect.
Yes, sometimes people just reinvent the wheel. Im just wondering why i didn't find that?! Anyway - it was a nice intention to get used to the remote API. ;-)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How I saved my RoundCube users emails cvgeeks Server Operation 1 11th July 2012 06:08
How to upgrade Roundcube 0.3 to 0.7 on Ubuntu 10.04 LTS cbj4074 Tips/Tricks/Mods 1 19th January 2012 20:50
403 errors & freezing in ispconfig3, roundcube webmail cvgeeks Server Operation 5 26th June 2011 01:35
Have fail2ban monitor Roundcube authentication access errors billcouper81 Server Operation 2 19th August 2010 17:49
ISPConfig 3 & Roundcube atjensen11 Installation/Configuration 11 3rd September 2009 20:51


All times are GMT +2. The time now is 15:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.