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 98.60%
No 3 1.40%
Voters: 214. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #271  
Old 18th October 2010, 16:06
wyrie wyrie is offline
Junior Member
 
Join Date: Jan 2009
Posts: 28
Thanks: 2
Thanked 9 Times in 6 Posts
Default

Below are the installation instructions for the Mailuser plugins for SquirrelMail 1.5.x combined with ISPconfig 3.

Installation/upgrade instructions


1. Make sure you are using the latest stable version of ISPConfig3. (Currently 3.0.3)

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

Tick
  • Mail domain functions
  • Mail user functions
  • Mail alias functions
  • Mail spamfilter user functions
  • Mail spamfilter policy functions
  • Mail fetchmail functions
  • Mail spamfilter whitelist functions
  • Mail spamfilter blacklist 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 ;
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!

4. Installing
Make sure you are in the plugins directory of your SquirrelMail installation

Code:
cd plugins
Get the code.
FOR VERSION <= 3.0.2.2

Code:
svn co http://svn.web-wack.at/ispconfig3_squirrelmail/branches/3.0.2.2 ispconfig3
FOR VERSION 3.0.3

Code:
svn co http://svn.web-wack.at/ispconfig3_squirrelmail/trunk ispconfig3
Check that the the ispconfig3 directory is created and set the ownership permissions to your web server user

Code:
ls
chown -R <<webuser>>:<<webgroup>> ispconfig3
cd ispconfig3
5. Updating
Make sure you are in the ispconfig3 plugin directory of your SquirrelMail installation

Code:
cd plugins/ispconfig3
svn up .
6.
Copy the file config.php.dist to config.php.

Code:
cp config.php.dist config.php
Edit the file and ensure your remote user details are correct:

Code:
$ispc_config['remote_soap_user'] = '<<REMOTE USERNAME>>';
$ispc_config['remote_soap_pass'] = '<<REMOTE PASSWORD>>';
$ispc_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:

Code:
$ispc_config['remote_soap_user'] = 'Santa';
$ispc_config['remote_soap_pass'] = 'Claus';
$ispc_config['soap_url'] = 'http://christmas.com:1111/remote/';
Any module that you want disabled can be remove from enabled_modules. For instance, if you do not wish to give the mail user the ability to change his or her's password you can omit "password" from $ispc_config['enable_modules']. It would then look like this:

Code:
$ispc_config['enable_modules'] = array('fetchmail', 'forwarding', 'autoreply', 'mailfilter', 'policy', 'wblist');
7.
Enable the plugin in the SquirrelMail config file. Go to your config directory and run conf.pl. Choose option 8 and move the plugin from the "Available Plugins" category to the "Installed Plugins" category by entering the number next to ispconfig3. Save and exit.

Code:
cd ../../config/
./config.pl

8.

A new box should be available in the options page called 'Account'.


Troubleshooting and FAQ

Please see: this link


Current Plugins Status (As last updated instructions revision 13)
  • Account overview (general - always enabled)
  • Fetchmail management (fetchmail)
  • Autoreply management (autoreply)
  • Spamfilter policy and move to junk management (policy)
  • Spamfilter white and black list management (wblist)
  • Password management (password)
  • Mail User Filter management (filter)
  • Forwarding (forwarding)
  • Multi server login (autoselect)

Current languages supported:

Please see: this link


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!
Reply With Quote
The Following 2 Users Say Thank You to wyrie For This Useful Post:
Horfic (18th October 2010), till (18th October 2010)
Sponsored Links
  #272  
Old 21st October 2010, 22:49
airton airton is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 10 Times in 4 Posts
Default Italian translation

Complete italian translations attached (svn 108).
bye.
Attached Files
File Type: zip ispconfig.zip (6.1 KB, 266 views)
Reply With Quote
The Following 2 Users Say Thank You to airton For This Useful Post:
falko (22nd October 2010), Horfic (21st October 2010)
  #273  
Old 28th October 2010, 19:37
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
Default

Swedish. Updated some files and added some.

Used the source for RoundCube 0.4.x.
Attached Files
File Type: zip sv_SE_updated.zip (2.5 KB, 243 views)
Reply With Quote
The Following User Says Thank You to Nicke For This Useful Post:
Horfic (28th October 2010)
  #274  
Old 28th October 2010, 22:50
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
Default

Forgot the one for "Account".
Attached Files
File Type: zip sv_SE_updated_account.zip (692 Bytes, 229 views)
Reply With Quote
The Following User Says Thank You to Nicke For This Useful Post:
Horfic (29th October 2010)
  #275  
Old 10th November 2010, 10:48
ast3rik ast3rik is offline
Junior Member
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation

just wanted to say if you mess up your ispconfig installation and get soap error: error getting html headers edit roundcube plugins/ispconfig3_account/config/config.inc.php and change from http to https
i.e.

<?php
$rcmail_config['remote_soap_user'] = 'santa';
$rcmail_config['remote_soap_pass'] = 'claus';
$rcmail_config['soap_url'] = 'https://127.0.0.1:8080/remote/';
?>

edit to fit your installation.
cheers
Reply With Quote
  #276  
Old 12th November 2010, 23:59
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default I have question

Quote:
Originally Posted by wyrie View Post
Below are the installation instructions for the Mailuser plugins for SquirrelMail 1.5.x combined with ISPconfig 3.

Installation/upgrade instructions


1. Make sure you are using the latest stable version of ISPConfig3. (Currently 3.0.3)

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

Tick
  • Mail domain functions
  • Mail user functions
  • Mail alias functions
  • Mail spamfilter user functions
  • Mail spamfilter policy functions
  • Mail fetchmail functions
  • Mail spamfilter whitelist functions
  • Mail spamfilter blacklist 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 ;
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!

4. Installing
Make sure you are in the plugins directory of your SquirrelMail installation

Code:
cd plugins
Get the code.
FOR VERSION <= 3.0.2.2

Code:
svn co http://svn.web-wack.at/ispconfig3_squirrelmail/branches/3.0.2.2 ispconfig3
FOR VERSION 3.0.3

Code:
svn co http://svn.web-wack.at/ispconfig3_squirrelmail/trunk ispconfig3
Check that the the ispconfig3 directory is created and set the ownership permissions to your web server user

Code:
ls
chown -R <<webuser>>:<<webgroup>> ispconfig3
cd ispconfig3
5. Updating
Make sure you are in the ispconfig3 plugin directory of your SquirrelMail installation

Code:
cd plugins/ispconfig3
svn up .
6.
Copy the file config.php.dist to config.php.

Code:
cp config.php.dist config.php
Edit the file and ensure your remote user details are correct:

Code:
$ispc_config['remote_soap_user'] = '<<REMOTE USERNAME>>';
$ispc_config['remote_soap_pass'] = '<<REMOTE PASSWORD>>';
$ispc_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:

Code:
$ispc_config['remote_soap_user'] = 'Santa';
$ispc_config['remote_soap_pass'] = 'Claus';
$ispc_config['soap_url'] = 'http://christmas.com:1111/remote/';
Any module that you want disabled can be remove from enabled_modules. For instance, if you do not wish to give the mail user the ability to change his or her's password you can omit "password" from $ispc_config['enable_modules']. It would then look like this:

Code:
$ispc_config['enable_modules'] = array('fetchmail', 'forwarding', 'autoreply', 'mailfilter', 'policy', 'wblist');
7.
Enable the plugin in the SquirrelMail config file. Go to your config directory and run conf.pl. Choose option 8 and move the plugin from the "Available Plugins" category to the "Installed Plugins" category by entering the number next to ispconfig3. Save and exit.

Code:
cd ../../config/
./config.pl

8.

A new box should be available in the options page called 'Account'.


Troubleshooting and FAQ

Please see: this link


Current Plugins Status (As last updated instructions revision 13)
  • Account overview (general - always enabled)
  • Fetchmail management (fetchmail)
  • Autoreply management (autoreply)
  • Spamfilter policy and move to junk management (policy)
  • Spamfilter white and black list management (wblist)
  • Password management (password)
  • Mail User Filter management (filter)
  • Forwarding (forwarding)
  • Multi server login (autoselect)

Current languages supported:

Please see: this link


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!
What use name are they referring to when you do the chown webuser:webgroup? Can you please clarify what user name you are referring to.
Thanks
Reply With Quote
  #277  
Old 13th November 2010, 00:01
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default I have question

When you say choose webuser:webgroup on the chown ispconfig3 directory what user are you talking about.

Thanks
Reply With Quote
  #278  
Old 15th November 2010, 13:07
wyrie wyrie is offline
Junior Member
 
Join Date: Jan 2009
Posts: 28
Thanks: 2
Thanked 9 Times in 6 Posts
Default

hi kvess

that refers to the sytem user and group your web server or virtual host is configured to run as. This step ensures that you have the correct file permissions set for the plugin.

For example: If you are using a stock debian and apache install this would be www-data:www-data.
Reply With Quote
  #279  
Old 15th November 2010, 16:36
vistree vistree is offline
Member
 
Join Date: Aug 2006
Posts: 61
Thanks: 2
Thanked 4 Times in 3 Posts
Default Time for autoreply

Hi, does it work to set up the from and to date and time in the roundcubemail plugin?
If I set the time in ispconfig, it is shown correctly in the roundcube-plugin. But when I hit the save button in the rc-plugin - the time is misformated ...

I use debian 5, ispconfig 3.03, rc 0.4 and the actual plugin. My locale is set to de_De.UTF-8

Nice afternoon

vistree
Reply With Quote
  #280  
Old 19th November 2010, 21:33
baditup baditup is offline
Junior Member
 
Join Date: Nov 2010
Location: NorCal
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Lightbulb question & praise

First off, thank you Horfic for this freakin' excellent plugin. Dropped it right in and, once I removed some quotes, it worked perfectly on a multiple-domain ISPConfig3 setup.

Next, I was curious as to if there was a simple way to make the autoreply page show up similar to the ISPConfig page with the drop-down menu for date/time and perhaps loading the previous dates along with the actual reply message. I'd try this but my Linux/PHP/SQL experience is still in its infancy, despite my being comfortable with a CLI.

It would be perfect if those two little things could happen and, once again, thank you for some awesome programs till & Horfic!!!!
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 12:45.


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