More qmail patches...firstname.lastname@example.org
Offer multiple POP mailboxes (with distinct passwords) with a single shell account.
maildirpop3d is a checkpassword replacement; it sits between qmail-popup and qmail-pop3d. If qmail-popup receives a username like "joe-foo", and ~joe/Maildir-foo is a directory, then maildirpop3d invokes qmail-pop3d (as joe) on ~joe/Maildir-foo.
maildirpasswd (included) is invoked by joe to set the password for the joe-foo mailbox. The password is encrypted and stored in ~joe/Maildir-foo/passwd.
If the supplied username is "joe-foo-bar-baz", then maildirpop3d looks first for a user called "joe-foo-bar-baz", then "joe-foo-bar", then "joe-foo", then "joe". If a user called "joe-foo-bar" exists, then maildirpop3d will not look for users called "joe-foo" or "joe", even if ~joe-foo-bar/Maildir-baz/ does not exist.
This package is released under the GNU General Public License.
Read the INSTALL file.
(more documentation required)
exec tcpserver -vRl YOUR.HOST.NAME.HERE 0 pop3 \ /var/qmail/bin/qmail-popup YOUR.HOST.NAME.HERE \ /usr/local/sbin/maildirpop3d /var/qmail/bin/qmail-pop3d Maildir
If you're using a checkpassword program other than checkpassword, or if checkpassword is not in your PATH:
exec tcpserver -vRl YOUR.HOST.NAME.HERE 0 pop3 \ /var/qmail/bin/qmail-popup YOUR.HOST.NAME.HERE \ /usr/local/sbin/maildirpop3d /var/qmail/bin/qmail-pop3d \ Maildir /PATH/TO/CHECKPASSWORD
If your username is
joe and you want a separate
joe-lists, do this:
cd maildirmake Maildir-lists echo ./Maildir-lists/ >.qmail-lists maildirpasswd lists Changing password for POP mailbox joe-lists@YOUR.HOST.NAME.HERE New password: bar New password (again): bar Ok, putting encrypted password 0ZsfajRLIfp0w in ~/Maildir-lists/passwd
(Your password will not really appear on your screen.)
You can pick up your mail by configuring your mail reader like this:
POP server: YOUR.HOST.NAME.HERE Username: joe-lists Password: bar
Note: None of this stuff has any kind of warranty.