HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Squirrelmail change_password using courrierpasswd and poppassd (http://www.howtoforge.com/forums/showthread.php?t=28909)

raymonvdm 23rd November 2008 15:50

Squirrelmail change_password using courrierpasswd and poppassd SOLVED
 
Last week ik have installed ISPconfig on my Dell PE1550 using the following howto:

http://www.howtoforge.com/perfect-server-ubuntu8.04-lts


Now im trying to enable change_password plugin in squirrel but it doenst work (yet)

I downloaded the squirrelmail change_pass module from

http://www.squirrelmail.org/countdl....a-1.4.x.tar.gz

and gextracted it in the squirrelmail/plugins directory (I have a standalone squirellmail installation, not the ISPconfig plugin)

The plugin tries to use poppassd and the courrierpassd. So i did:


apt-get install courierpassd
apt-get install poppassd

But when using netstat -nlp there is nothing listening on port 106.


Can somebody help me out ?

raymonvdm 23rd November 2008 16:01

When i read /etc/inetd.conf it says

#<off># ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
poppassd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/poppassd

Ah crap, seems that i only need to do

/etc/init.d/openbsd-inetd restart

The plugin is working now, i can succesfully change passwords

Al i have tot do is limit the ip binding

root@server:/etc# netstat -lnpt | grep 106
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 15716/inetd

raymonvdm 23rd November 2008 16:19

To make a little how to for other users:

apt-get install poppassd (courierpassd, is not necessary)

probally openbsd-inetd will be installed too

/etc/init.d/openbsd-inetd restart

Now check if the deamon is there

root@server:/etc# netstat -lnpt | grep 106
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 15716/inetd

If everything is ok, then continue if not fix that first


Go to the plugins directory of squirrelmail

cd /var/www/web3/web/plugins/

Download the squirrelmail change_pass pluging from:

wget http://www.squirrelmail.org/countdl....a-1.4.x.tar.gz


untar it using tar xvfz change_pass-2.7a-1.4.x.tar.gz

chown the unpacked files to the default of your webiste (check wit ls -ltrh)

chown root:web3 change_pass/ -R

Change the squirellmail config file

vim /var/www/web3/web/config/config.php and add the new plugin tot the current list of plugins. Save the file

Als should be fine for now.

Try to change password using the squirellmail webinterface

ecxod 6th October 2012 13:56

listening on all interfaces ?
 
Quote:

Originally Posted by raymonvdm (Post 156419)
root@server:/etc# netstat -lnpt | grep 106
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 15716/inetd

Are you serious ? listening on all interfaces ? :eek:


All times are GMT +2. The time now is 16:42.

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