Hi Javid, You want to run courierpassd under daemontools so it does not stop when restarting xinetd. Disable it under xinetd and control the service with svc- command.
Am Monday 11 January 2010 01:40:25 schrieb Javid Freeman: > I found more information in the logs when I restart the xinetd service: > > > Jan 10 16:24:37 mail xinetd[3875]: bind failed (Address already in use > (errno = 98)). service = courierpassd > Jan 10 16:24:37 mail xinetd[3875]: > Service courierpassd failed to start and is deactivated. > > Strange part is > that courierpassd still seems to be running. I included more info below... > > > Here is my NMAP output: nmap -sV localhost > > Starting Nmap 4.85BETA5 ( > http://nmap.org ) at 2010-01-10 16:26 PST > Not shown: 981 closed ports > PORT > STATE SERVICE VERSION > 106/tcp open pop3pw Courierpassd pop3 password change > daemon > > qmailctl stat output: > > # qmailctl stat > authlib: up (pid 3077) > 1039 seconds > clamd: up (pid 3152) 1039 seconds > courierpassd: up (pid 3072) > 1039 seconds > imap4: up (pid 3104) 1039 seconds > imap4-ssl: up (pid 3075) > 1039 seconds > pop3: up (pid 3078) 1039 seconds > pop3-ssl: up (pid 3074) 1039 > seconds > send: up (pid 3110) 1039 seconds > smtp: up (pid 3082) 1039 > seconds > spamd: up (pid 3094) 1039 seconds > submission: up (pid 3096) 1039 > seconds > authlib/log: up (pid 3056) 1039 seconds > clamd/log: up (pid 3089) > 1039 seconds > courierpassd/log: up (pid 3073) 1039 seconds > imap4/log: up > (pid 3143) 1039 seconds > imap4-ssl/log: up (pid 3080) 1039 seconds > pop3/log: > up (pid 3076) 1039 seconds > pop3-ssl/log: up (pid 3081) 1039 > seconds > send/log: up (pid 3102) 1039 seconds > smtp/log: up (pid 3090) 1039 > seconds > spamd/log: up (pid 3100) 1039 seconds > submission/log: up (pid 3105) > 1039 seconds > > And I still get this result when using telnet: > > telnet > localhost 106 > Trying 127.0.0.1... > Connected to localhost.localdomain > (127.0.0.1). > Escape character is '^]'. > 200 courierpassd v1.1.2 hello, who > are you? > user user > 200 Your password please. > pass password > 500 Old password > is incorrect or user not found. > Connection closed by foreign host. > > Any > help would be appreciated! > > On Sun, 10 Jan 2010 12:28:20 -0800, wrote: > > > I am trying to setup courierpassd 1.1.2 with qmailtoaster. Is anyone > using it right now? If so can you post your run file? Here is some of my > server info: > > courierpassd run file: > > #!/bin/sh > exec tcpserver -v -R -x > /etc/tcprules.d/tcp.smtp.cdb 0 106 > /usr/local/sbin/courierpassd -s imap > --stderr 2>&1 > > qmailctl output: > > # qmailctl stat > authlib: up (pid 9042) > 16 seconds > clamd: up (pid 9073) 16 seconds > courierpassd: up (pid 9067) 16 > seconds > imap4: up (pid 9088) 16 seconds > imap4-ssl: up (pid 9047) 16 > seconds > pop3: up (pid 9035) 16 seconds > pop3-ssl: up (pid 9031) 16 > seconds > send: up (pid 9101) 16 seconds > smtp: up (pid 9050) 16 > seconds > spamd: up (pid 9092) 16 seconds > submission: up (pid 9095) 16 > seconds > authlib/log: up (pid 9045) 16 seconds > clamd/log: up (pid 9057) 16 > seconds > courierpassd/log: up (pid 9066) 16 seconds > imap4/log: up (pid 9087) > 16 seconds > imap4-ssl/log: up (pid 9039) 16 seconds > pop3/log: up (pid 9043) > 16 seconds > pop3-ssl/log: up (pid 9033) 16 seconds > send/log: up (pid 9086) > 16 seconds > smtp/log: up (pid 9049) 16 seconds > spamd/log: up (pid 9071) 16 > seconds > submission/log: up (pid 9102) 16 seconds > > Nmap output: > > Starting > Nmap 4.85BETA5 ( http://nmap.org ) at 2010-01-10 11:58 PST > Not shown: 981 > closed ports > PORT STATE SERVICE > 25/tcp open smtp > 53/tcp open domain > 80/tcp > open http > 106/tcp open pop3pw > 110/tcp open pop3 > 111/tcp open > rpcbind > 139/tcp open netbios-ssn > 143/tcp open imap > 443/tcp open > https > 445/tcp open microsoft-ds > 587/tcp open submission > 631/tcp open > ipp > 783/tcp open spamassassin > 873/tcp open rsync > 993/tcp open imaps > 995/tcp > open pop3s > > The problem is that I get this when I try to test using telnet: > > > [r...@mail QMT]# telnet localhost 106 > Trying 127.0.0.1... > Connected to > localhost.localdomain (127.0.0.1). > Escape character is '^]'. > 200 > courierpassd v1.1.2 hello, who are you? > user user > 200 Your password > please. > pass password > 500 Old password is incorrect or user not > found. > Connection closed by foreign host. > > I can use the same user and > password to login to the email account so I know the credentials are good. > > > Thanks, --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com