Change Password plugin for SquirrelMail
----------------------------------------
Ritchie Low <rlow@xipware.com>
Seth Randall <sethr@missoulafcu.org>
Ver 1.0, Jan (??) 2001 - Initial Version


This is a Squirrelmail plugin to change password using the Poppassd service
at port 106

You can get poppassd compliant services from the following:
Pawel Krawczyk      http://echelon.pl/pubs/poppassd.html (Supports PAM)
Andrew Stevenson    ftp://ftp.ugh.net.au/pub/unix/poppwd
NetWin              http://netwinsite.com/poppassd/      (Changes /etc/passwd)
BSD users should try the one from the ports collection for their brand of BSD first.
Courier users should try courierpassd which ships with this plugin.

poppassd must be running on your mail server for this to work.  Other than
that, you just need to add this plugin to SquirrelMail (using the perl script
or by editing config.php by hand), and all should be fine.

If you experience problems, first make sure that your mail server is running
poppassd, and it is answering to port 106, and when telnetting to that port
(with "telnet mail.server.address 106"), you can do this:
    user YourUsername
    pass YourPassword
    newpass ANewPassword
and it should change your password.


poppassd source from
 * Pawel Krawczyk http://echelon.pl/kravietz/
 * CETI internet, Krakow, Poland
is included.
Note that this uses PAM library calls.

--CHANGE LOG----------------------------
Ver 2.2-1.4.x,  Jul 10, 2003 - (Seth Randall)
  - Proper handling of 2xx and 3xx responses
  - Removed poppassd software

Ver 2.1-1.4.x,  Apr 25, 2003 - (Seth Randall)
  - Proper respose after a user command is 300 not 200
    Thanks to Richard Gee for pointing this out
  - Added version file

Ver 2.0-1.4.x,  Apr  7, 2003 - (Seth Randall)
  Updated for SquirrelMail 1.4.x

Ver 1.5,  Jan 7, 2003  - (Seth Randall)
  Added courierpassd

Ver 1.4a, Dec 18, 2002 - (Seth Randall)
  Removed some debugging code I had entered.
  Added a poppassd.c file for some BSDs

Ver 1.4, Sep 26, 2002 - (Seth Randall)
  Updated for 1.2.8

Ver 1.3, Mar 26, 2001 - (Tyler Akins)
  Now uses the mail server address instead of hardcoding "localhost".  Now
  forwards to correct URL (removes errors if you want to change your password
  twice in a row.

Ver 1.2, Feb 6, 2001 - (Tyler Akins)
  Added a debug mode, better error messages, more error checking, no longer
  need to log out and log back in immediately after changing your password.

Ver 1.1, Jan 23 2001 - (Tyler Akins)
  Changed Variable and Function names using change_pass_ as
  a prefix to avoid conflict with other plugins as has been mentioned
  in the plugins mailing list.

