Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Plugins/Modules/Addons

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
View Poll Results: Would you like to see a mailuser interface for Roundcube & Squirrelmail?
Yes 211 99.06%
No 2 0.94%
Voters: 213. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #361  
Old 8th July 2011, 13:30
wolfiedk wolfiedk is offline
Junior Member
 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Red face

Quote:
Originally Posted by wolfiedk View Post

...

SORRY for the mistake, I have made a configuration error in the config.inc.php file.

But now I got the "SOAP Error: Error Fetching http headers". I can only read on the forum, that a reinstall of reoundcoube + plugins will solve my problem, but is there another way for solving this ?

Best regards
Wolfiedk
Damn, Im stuid, sorry for wasting your time, it was a configuration issue again.

The soap url was wrong, its should say :8080/ispconfig/remote instead of :8080/remote.


Case closed!
Reply With Quote
Sponsored Links
  #362  
Old 12th July 2011, 18:25
wolfiedk wolfiedk is offline
Junior Member
 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Smile Danish translation

Hi!

I have made a danish translation of the plugin's.



Best regards
Wolfiedk
Attached Files
File Type: gz da-DK.tar.gz (1.9 KB, 72 views)
Reply With Quote
The Following User Says Thank You to wolfiedk For This Useful Post:
falko (13th July 2011)
  #363  
Old 13th July 2011, 21:04
drewb0y drewb0y is offline
Senior Member
 
Join Date: Sep 2010
Posts: 103
Thanks: 10
Thanked 14 Times in 7 Posts
Default Switch from branch to trunk question - resolved

If I previously installed the plugins from SVN using the early instructions which pointed to branch, can I update to trunk by simply using

Code:
svn co http://svn.web-wack.at/ispconfig3_roundcube/trunk/ .
Or will this cause issues?

Currently running roundcube 0.4.2 but preparing to update to 0.5.3

Thanks in advance for any replies

----------------------------------------------
Update- resolved
I ended up just duplicating the current roundcube install directory
Then I manually updated/reinstalled all the plugins using SVN
Then I updated roundcube itself. After testing it all out I replaced the original old roundcube dir with the new updated one.
Now I can update properly using
Code:
svn up .
from within the plugins dir
__________________
ISPConfig 3.0.5.4p1 - The Perfect Server - Debian Wheezy (nginx, BIND, Dovecot, ISPConfig 3)
Installed on Debian 7.6 on a KVM VPS

Last edited by drewb0y; 15th July 2011 at 14:47. Reason: Fixed
Reply With Quote
  #364  
Old 14th July 2011, 11:04
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 5 Times in 3 Posts
Default

Hi all

I've updated the rc to 0.5.3, after that i've updated to trunk revision 113.
If I now add a autoresponder, add the date and push to save it didn't saved it. It's displaying again 0000-00-00 00:00:00.

All other functions work fine...
How can I fix that. Thanks horfic for your work!
admins
Reply With Quote
  #365  
Old 14th July 2011, 11:10
wolfiedk wolfiedk is offline
Junior Member
 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by admins View Post
Hi all

I've updated the rc to 0.5.3, after that i've updated to trunk revision 113.
If I now add a autoresponder, add the date and push to save it didn't saved it. It's displaying again 0000-00-00 00:00:00.

All other functions work fine...
How can I fix that. Thanks horfic for your work!
admins
Hi admins!

I dont know why the update package dont update the autoreply files, but heres how I did it:

1. Downloaded the update file (links is on one of the previos pages)
2. Extracted it
3. Choosed yes to overwrite the files in ipsconfig3_autoreply folder.
4. Then the date works perfect.

Best regards
Wolfiedk
Reply With Quote
The Following User Says Thank You to wolfiedk For This Useful Post:
admins (15th July 2011)
  #366  
Old 15th July 2011, 10:49
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 5 Times in 3 Posts
Default

Thanks that worked fine.
Another problem, if I access the rc with example firefox with german language, it displayes the plugin part in english the orginal rc part is german...

How can I correct this?

Thx
Reply With Quote
  #367  
Old 9th August 2011, 10:22
Reno Reno is offline
Junior Member
 
Join Date: Aug 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default default_host

Hello,

I am using ISPCP 3.0.3.3 RC 0.5.3 and the version of the plugin in the trunk but

I still have the connection issue if I fill the "default_host" line in the main file of RC...

This is not a big issue, but it is pretty annoying as I got like a lot of mail server...

Thank you
Reply With Quote
  #368  
Old 20th August 2011, 14:15
daben daben is offline
Junior Member
 
Join Date: Aug 2011
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Horfic View Post
Below are the installation instructions for the Mailuser plugins for Roundcube mail 0.3.x and 0.4.x combined with ISPconfig 3.

Table of contents
  • Installation instructions
  • Troubleshooting and FAQ
    • (SOAP) Errors
    • Subversion (SVN)
    • Support
    • Other
  • Current Plugins Status
    • Current plugins included
    • Current languages supported
  • Disclaimer


Installation instructions
Assuming you have already installed Roundcube, follow the instructions below. If not, please download and install roundcube from http://roundcube.net/.

1.
Make sure you are using the latest stable ISPconfig. (Currently 3.0.2.2)
If you want forwarding and/or autoselect plugin working, you need at least ISPConfig 3.0.3 Beta.

2.
Go to your ISPconfig panel and add a new remote user. (Tab "servers" > "Remote users")

Tick
  • Mail Domain Functions
  • Mail User Functions
  • Mail Alias Functions
  • Mail User Whitelist Functions
  • Mail User Blacklist Functions
  • Mail Spamfilter User Functions
  • Mail Spamfilter Policy Functions
  • Mail Fetchmail Functions
  • Mail User Filter Functions
  • Client Functions
  • Server Functions

3. (OPTIONAL IF ABOVE DOESN'T WORK!)
Go to PHPmyAdmin and execute the following MySQL-query on your ispconfig database. Don't forget to edit the remote username in the query.
Code:
UPDATE `remote_user` SET `remote_functions` = 'mail_domain_get,mail_domain_add,mail_domain_update,mail_domain_delete;mail_user_get,mail_user_add,mail_user_update,mail_user_delete;mail_alias_get,mail_alias_add,mail_alias_update,mail_alias_delete;mail_forward_get,mail_forward_add,mail_forward_update,mail_forward_delete;mail_spamfilter_whitelist_get,mail_spamfilter_whitelist_add,mail_spamfilter_whitelist_update,mail_spamfilter_whitelist_delete;mail_spamfilter_blacklist_get,mail_spamfilter_blacklist_add,mail_spamfilter_blacklist_update,mail_spamfilter_blacklist_delete;mail_spamfilter_user_get,mail_spamfilter_user_add,mail_spamfilter_user_update,mail_spamfilter_user_delete;mail_policy_get,mail_policy_add,mail_policy_update,mail_policy_delete;mail_fetchmail_get,mail_fetchmail_add,mail_fetchmail_update,mail_fetchmail_delete;mail_user_filter_get,mail_user_filter_add,mail_user_filter_update,mail_user_filter_delete;client_get,client_get_id,client_add,client_update,client_delete;server_get' WHERE `remote_user`.`remote_username` = '<<REMOTE USERNAME>>' LIMIT 1 ;
4.
Note that the SVN version is the most up-to-date version of the plugins and should at any time be preferred over the archived form. Old (archived) versions which are online can harm or misconfigure your system and are NOT supported!

Now download the latest ispconfig3-plugin package for roundcube.

FOR ROUNDCUBE 0.3.x
Commands to install per SVN:

Make sure you're in your Roundcube root directory.
Code:
cd plugins
Code:
svn co http://svn.web-wack.at/ispconfig3_roundcube/branches/roundcube3/ .
Don't forget the "." (period) at the end of the second command, or it could be creating a directory called "/roundcube3/". Obviously, this is not what we want.

Commands if one uses SVN to update:

Make sure you're in your Roundcube root directory.
Code:
cd plugins
Code:
svn up .
Don't forget the "." (period) at the end of the second command, or it could be creating a directory called "/roundcube3/". Obviously, this is not what we want.

FOR ROUNDCUBE 0.4.x
Commands to install per SVN:

Make sure you're in your Roundcube root directory.
Code:
cd plugins
Code:
svn co http://svn.web-wack.at/ispconfig3_roundcube/branches/roundcube4/ .
Don't forget the "." (period) at the end of the second command, or it could be creating a directory called "/roundcube4/". Obviously, this is not what we want.

Commands if one uses SVN to update:

Make sure you're in your Roundcube root directory.
Code:
cd plugins
Code:
svn up .
Don't forget the "." (period) at the end of the second command, or it could be creating a directory called "/roundcube4/". Obviously, this is not what we want.

6.
Copy the file "./ispconfig3_account/config/config.inc.php.dist" to "./ispconfig3_account/config/config.inc.php".

7.
In the configfile of the "ispconfig3_account" (/plugins/ispconfig3_account/config/config.inc.php) fill in your details:
PHP Code:
<?php
$rcmail_config
['remote_soap_user'] = '<<REMOTE USERNAME>>';
$rcmail_config['remote_soap_pass'] = '<<REMOTE PASSWORD>>';
$rcmail_config['soap_url'] = 'http://<<YOUR SERVER>>:8080/remote/';

?>
Change the port (set to "8080" by default) if necessary and please note that when using SSL to access ISPconfig panel, use "https://" instead of "http://".

For example, if your username is "Santa", your password is "Claus", your server's domain is "christmas.com" (Or you can use an IP), your ISPconfig panel is accessed through port 1111, and you are not using SSL, your configuration would be:
PHP Code:
<?php
$rcmail_config
['remote_soap_user'] = 'Santa';
$rcmail_config['remote_soap_pass'] = 'Claus';
$rcmail_config['soap_url'] = 'http://christmas.com:1111/remote/';

?>
8.
If you are just using one server for mail, don't use the autoselect plugin
In the configfile of roundcube (/config/main.inc.php) look for this:
PHP Code:
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array(); 
If other plugins are already enabled, add the following plugins to the array:
Code:
, "ispconfig3_account", "ispconfig3_autoreply", "ispconfig3_autoselect", "ispconfig3_pass", "ispconfig3_spam", "ispconfig3_fetchmail", "ispconfig3_filter", "ispconfig3_forward", "ispconfig3_wblist"
Otherwise, replace it with the following:
PHP Code:
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array("ispconfig3_account""ispconfig3_autoreply""ispconfig3_autoselect""ispconfig3_pass""ispconfig3_spam""ispconfig3_fetchmail""ispconfig3_filter""ispconfig3_forward""ispconfig3_wblist"); 
Any plugins that you want disabled, are to be removed from this line. For instance, if you do not wish to have "ispconfig3_pass" (password changer) enabled, omit ""ispconfig3_pass", ". It would then look like this:
PHP Code:
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array("ispconfig3_account""ispconfig3_autoreply""ispconfig3_autoselect""ispconfig3_spam""ispconfig3_fetchmail""ispconfig3_filter""ispconfig3_forward""ispconfig3_wblist"); 
9.
A new tab ("Accounts") should now be visible on your settings page in Roundcube, displaying all plugins enabled in step 8.

Good luck!


Troubleshooting and FAQ
(SOAP, Roundcube) Errors:
Q: I get an error "Soap Error: DTD Not Supported".
A: Your soap url is set wrong. Please refer to steps 7 of the instructions.

Q: I get an error "Soap Error no client with id $client_id found" when applying settings.
A: Please refer to http://howtoforge.com/forums/showpos...6&postcount=29 for a workaround for this problem. (Warning: Code modifications are NOT supported, this is just a workaround until this problem is solved. Use at your own risk!)

Q: I get an error "Soap Error: you do not have permission to access this function roundcube" when using the plugins.
A: You probably haven't configured the permissions for the remote ISPconfig user yet. Please refer to steps 2 and 3 of the instructions.

Q: I get an error "Soap error : The login failed, username and password was wrong" when using the plugins.
A: You probably haven't configured the permissions for the remote ISPconfig user yet. Please refer to step 2 of the instructions.

Q: I'm getting an error "Soap Error: No user with username <yourusername> found." when applying settings using the plugins.
A: Your remote user doesn't exist. Please refer to step 2 of the instructions.

Q: I get an error "Wrong Version" when you try to use the spam plugin.
A: You probably use than ISPConfig 3.0.3 Beta or higher. Please open the file {ROUNDCUBE PLUGIN DIR}/ispconfig3_spam/ispconfig3_spam.php.
Change this on line 80
Code:
$update = $this->soap->mail_spamfilter_user_update($session_id, $spam_user[0]['id'], $uid, $params);
to this
Code:
$update = $this->soap->mail_spamfilter_user_update($session_id, $uid, $spam_user[0]['id'], $params);
Q: I get an error "SERVICE CURRENTLY NOT AVAILABLE! Error No. [524]" when using the plugins.
A: There's a plugin enabled that is not available, please refer to step 8 of the instructions and check if only available plugins are in the array. If neccessary, delete any entries that are not available in your /plugins/ directory.

Q: After I installed all plugins, I can't login.
A: The autoselect feature will only work with ISPConfig 3.0.3 Beta or higher. So please disable it or upgrade ISPConfig.

Subversion (SVN):
Q: The SVN command co and up won't work for me.
A: Try using the SVN commands checkout and update instead of co and up respectively.

Q: SVN is not creating any folders.
A: Check if the issued SVN command ends with a ".". Refer to step 4 of the instructions.

Q: I've used an archived form of the plugins before but now I want to update using SVN.
A: Refer to http://howtoforge.com/forums/showpos...6&postcount=97

Support:
Q: Will the plugins be supported in my language?
A: Please check language support below.

Q: Is ISPconfig x.x.x or Roundcube x.x.x also supported?
A: Currently only versions of these programs mentioned in the instructions are supported. Feel free to edit the plugin code to fit it to your own needs though.

Other:
Q: After I changed some settings using the plugins, changes don't immediately take effect.
A: ISPConfig3 is using a Cronjob which runs every minute. So every change; password, autoreply, spamfilter, etc. takes effect after 1 min.

Q: Can I make a function/plugin request?
A: Feel free to do so. Please leave your comments/request in this topic.

Q: Do you guys get paid for all this?
A: Erm... No... just enjoy... Thanks would be nice. (Especially to Horfic since he did all the hard work... I just get to write about it )


Current Plugins Status (As last updated instructions revision 100)
Current plugins included:
  • Account overview (ispconfig3_account)
  • Fetchmail management (ispconfig3_fetchmail)
  • Autoreply management (ispconfig3_autoreply)
  • Spamfilter settings management (ispconfig3_spam)
  • Password management (ispconfig3_pass)
  • Mail User Filter management (ispconfig3_filter)
  • Forward management (ispconfig3_forward)
  • Black- and Whitelist management (ispconfig3_wblist)
  • Mail User Filter management (ispconfig3_filter)
  • Autoselect Mailserver (ispconfig3_autoselect)

Current languages supported:
  • Brazilian Portuguese (pt_BR)
  • English (en_US)
  • German (de_DE)
  • French (fr_FR)
  • Italian (it_IT)
  • Polish (pl_PL)
  • Hungarian (hu_HU)
  • Dutch (nl_NL) (Gets currently translated)
  • Slovenian (sl_SI)
  • Spanish (es_ES)
  • Swedish (sv_SE)
  • Russian (ru_RU)

Complete - One missing or incomplete - Two or more missing or incomplete

If you can translate in any language not mentioned above, please post your translation in this topic. It will be uploaded to the SVN repository as soon as possible. A clean english language file can be found in the /plugins/ispconfig3_*/localization folders of each plugin. Thanks in advance for the effort made!


Disclaimer
Neither of the authors of the different parts of the plugins or the installation instructions are responsible for any harm/damage done to your system or any other problems as a result of using these plugins downloaded in either the SVN or any other copy otherwise obtained. By downloading and using the plugins, you agree to the fact that usage of the plugins, it's individual language packs, configuration files and installation instructions is at your sole risk and no responsibility can be taken by any of the authors.

However if any problems do somehow emerge, please do feel free to ask for help in this topic and we'll see what we can do for you!
thank you.

For security reasons it is important to export the plugin-files of the subversion or delete the .svn folders after the checkout.
Otherwise, these directories are accessible (when using incorrect permissions). Attackers can gain information about internal structures (e.g. /webmail/plugins/.svn/entries).
Another way to circumvent this problem is setting an Apache Directive.
e.g.:
Code:
<DirectoryMatch \.svn>
   Order allow,deny
   Deny from all
</DirectoryMatch>
Reply With Quote
  #369  
Old 25th August 2011, 23:58
GTB GTB is offline
Junior Member
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am running the latest roundcube 0.5.4 on a Debian Squeeze and habe checked out from trunk the plugins.

Now if I login to rc go to the account tab I get alwas the message:

Quote:
Soap Error: Error Fetching http headers
Regards GTB
Reply With Quote
  #370  
Old 29th August 2011, 08:42
nveid nveid is offline
Member
 
Join Date: Jan 2006
Location: Daytona Beach, FL
Posts: 87
Thanks: 7
Thanked 17 Times in 14 Posts
Send a message via Yahoo to nveid Send a message via Skype™ to nveid
 
Default

First off GTB.. I got that too at first, that was due to me putting int hew wrong address in the soap client. mine is at https://myaddress:special port.. Double check the address you have put in there.. Maybe thats your problem too.

Overall I like this plugin.. One minor issue though, I use a special theme with my round cube branded for my server, your "skins" go off the skin setup for round cube. Perhaps you could adjust the code if the plugins/ispconfig_whatever/skins/sometheme doesn't exist, it reverts back to default?

Another minor suggestion, if someone doesn't have access to certain functions. Don't give display the menu.
__________________
-- RLB
Reply With Quote
Reply

Bookmarks

Tags
interface, ispconfig 3, mail, roundcube, squirrelmail, webmail

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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian Lenny: waiting for interface eth0:1 before doing NFS mounts (warning) edge Installation/Configuration 2 9th June 2009 07:55
IPtables rule to let PPTP access LAN brianwebb01 Installation/Configuration 0 1st May 2008 21:23
How to create a dhcp server for intranet (with multi-homed alias)? zenny HOWTO-Related Questions 8 29th February 2008 15:16
No DHCP on second LAN interface DrJohn Server Operation 2 8th November 2007 02:58


All times are GMT +2. The time now is 01:19.


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