PDA

View Full Version : Change password module


whoisit
18th January 2008, 14:45
I have installed poppassd on a linux box using squirrel mail(imapd). However, after installing the required modules, the password changer does not work. On checking port 106, I get the below error when telneting to it

[root@mail root]# telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@mail root]#

I checked whether port is open and got this

[root@mail root]# netstat -an |grep 106
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN

My configuration
service poppassd
{
disable = no
socket_type = stream
protocol = tcp
wait = no
port = 106
user = root
server = /usr/sbin/poppassd
only_from = 127.0.0.1
log_on_success += HOST DURATION
log_on_failure += HOST
}


Any ideas why I can't telnet to port 106 or rather why password changer is not working

falko
19th January 2008, 15:13
Does it work when you comment out only_from = 127.0.0.1?

whoisit
21st January 2008, 08:05
No, it still doesn't work

falko
22nd January 2008, 20:51
Are there any errors in your logs?

whoisit
23rd January 2008, 12:24
No errors, but have realized sometimes I have the below:

[root@mail root]# netstat -an |grep 106
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:106 127.0.0.1:1741 TIME_WAIT

falko
24th January 2008, 15:41
I don't know what could be the problem... :confused:

whoisit
6th February 2008, 08:33
Am thinking maybe my the modules am installing might not be the correct version. I have a linux Redhat ver. 9. Any specific modules for this version both poppassd and change pass

falko
7th February 2008, 18:04
Why are you using such an old Linux distribution? If you want something RedHat-based, I suggest you try CentOS 5.1.

topdog
8th February 2008, 08:55
Have you checked tcp wrappers ?

whoisit
12th February 2008, 08:12
Well after checking on the tcp wrappers /etc/hosts.allow , poppassd wasn't included and adding it to the file fixed the bug. Thanks so much for all who have participated in sorting me out.