PDA

View Full Version : Squirrelmail change_password using courrierpasswd and poppassd


raymonvdm
23rd November 2008, 16:50
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.php?fileurl=http%3A%2F%2Fwww.squirrelmail. org%2Fplugins%2Fchange_pass-2.7a-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, 17: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, 17: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.php?fileurl=http%3A%2F%2Fwww.squirrelmail. org%2Fplugins%2Fchange_pass-2.7a-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