This ir vpoppasswd readme file
vpoppasswd (vpopmail password daemon) is a server,
which is used to change user pop3 mailbox passwords
remotely.
Server comunicates with vpopmail control binaries directly,
so you need to specify full path to vpopmail directory in
vpoppasswd.c file (default /home/vpopmail/bin);
Server also logs its activity into syslog by default, it
can also be disabled in vpoppasswd.c file.
If you are using xinetd, then you need to add following lines in your xinetd.conf file:
To install vpoppasswd simply extract source files and do make
make install
service poppassd
{
port = 106
socket_type = stream
protocol = tcp
user = root
server = /usr/sbin/vpoppasswd
wait = no
only_from = 127.0.0.1
instances = 4
disable = no
log_on_success += HOST DURATION
log_on_failure += HOST
}
Also add a line to /etc/services:
vpoppasswd 106/tcp
If you are using inetd, then you need to add following lines in your inetd.conf file:
vpoppasswd stream tcp nowait root /usr/sbin/vpoppasswd
Also add a line to /etc/services:
vpoppasswd 106/tcp
Restart xinetd (or inetd) and try to connect to port 109 (telnet localhost 109).
Complete list of server messages/errors:
- Messages
- 200 hello, i'm voppasswd 0.0.3 300 please enter your password 200 password OK, please enter newpass 200 password for %username changed successfully 200 bye.
- Errors
- 500 cannot accept empty username
500 no such user
500 no username specified
500 cannot accept empty password
500 incorrect password
500 no password specified
Successfull conversation with server looks like this:
telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 hello, I'm vpoppasswd 0.0.3
user username@domain.com
300 please enter your password
pass currentpassword
200 password OK, please enter newpass
newpass newwpassword
200 password for username@domain.com changed successfully
quit
200 bye.
Connection closed by foreign host.
That's about all.
Regards,
Tadas Ustinavicius
LegacySystems.org 2005
