Change password module

Discussion in 'Server Operation' started by whoisit, Jan 18, 2008.

  1. whoisit

    whoisit New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Does it work when you comment out
    Code:
    only_from = 127.0.0.1
    ?
     
  3. whoisit

    whoisit New Member

    No, it still doesn't work
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your logs?
     
  5. whoisit

    whoisit New Member

    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
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I don't know what could be the problem... :confused:
     
  7. whoisit

    whoisit New Member

    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
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Why are you using such an old Linux distribution? If you want something RedHat-based, I suggest you try CentOS 5.1.
     
  9. topdog

    topdog Active Member

    Have you checked tcp wrappers ?
     
  10. whoisit

    whoisit New Member

    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.
     
    Last edited: Feb 12, 2008

Share This Page