I think you didn't make entry in xinetd
If your server uses Xinetd, here's how you integrate
Courierpassd into it:
cd /etc/xinetd.d
Here we create the xinetd script for courierpassd...
vi courierpassd
service courierpassd
{
port = 106
socket_type = stream
protocol = tcp
user = root
server = /usr/local/sbin/courierpassd
server_args = -s imap
wait = no
only_from = 127.0.0.1
instances = 4
disable = no
}
vi /etc/services
Append to following line to the /etc/services file:
courierpassd 106/tcp #for /etc/xinetd.d/courierpassd
If your system uses Xinetd, them we now want to restart Xinetd:
/etc/rc.d/init.d/xinetd restart
Now let's test Courierpassd by trying the reset the password for a
mail account. Here's what a successfull test should look like:
[EMAIL PROTECTED]:/# telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 courierpassd v0.30 hello, who are you?
user [EMAIL PROTECTED]
200 Your password please.
pass my_password (don't be a dumbass. Put your own password
here)
200 Your new password please.
newpass my_new_password (don't be a dumbass. Put your new
password here)
200 Password changed, thank-you.
quit
200 Bye.
Connection closed by foreign host.
[EMAIL PROTECTED]:/#
kamal2asn <[EMAIL PROTECTED]> wrote: Hi,
I have installed a new mailserver based on postfix with Courier And
MySQL database on a Fedora Core 5 box.Need to patch a plugin
courierpassd to change the user password remotly through webinterface
of squirrelmail.
I have untared the tarball of courierpassd-1.1.2.tar.gz in the
/usr/share/squiremail/ folder and ran the
/usr/share/squirrelmail/config/config.pl script to add the change_pass
plugin from "Available Plugins" to the "Installed Plugins"
Saved the data and exited.
Now the change_pass Plugin showing perfectly in the user's wemail
option, but when trying to change the password through webinterface,
its showing ERROR:Connection refused (111)
http error log contents says:
PHP Warning: fsockopen() [<a
href='function.fsockopen'>function.fsockopen</a>]: unable to connect
to localhost:106 (Connection refused) in
/usr/share/squirrelmail/plugins/change_pass/options.php on line 140,
referer: http://mail.mydomain.com/webmail/plugins/change_pass/options.php
Can any one suggest what and where is the problem and which service
will open 106(poppassd) port
Thanks in advance
KamaljitS
---------------------------------
Give spam the boot. Take control with tough spam protection
in the all-new Yahoo! Mail Beta.