This is an extension patch against netqmail-1.06 with SMTP-AUTH and TLS patch applied. This patch introduce ``apoppw schema'', which is the policy that mail password should be maintained by each user by saving them in their own ~/.apop files. Thus, administrators do not have the labor to keep mail password databases up to date. Furtheremore, users can have separate mail password for each extensional mail address supported by qmail/postfix.
This package gives smtp-auth the same rule as imapext's password manipulation schema.
Mail password for a email address tied to $HOME/.qmail is stored to $HOME/.apop. Mail password for another email address tied to $HOME/.qmail-ext is stored to $HOME/.apop-ext. That is, any mail password for address of `.qmail-ext' is stored to the file name where replace `.qmail' with `.apop'. This password file is generated by invoking `apoppassword' command which comes with cmd5apoppw package listed above.
The mechanism of password comparison is based on http://members.elysium.pl/brush/qmail-smtpd-auth/ and http://members.elysium.pl/brush/cmd5checkpw/.
For basic email address `firstname.lastname@example.org', email will be delivered to the mailbox specified by ~/.qmail. In this case, mail password should be set with apoppasswd.
apoppasswd Enter APOP Password: Again APOP Password:
For extensional email address `email@example.com':
apoppasswd -e ext
For virtual domain address `firstname.lastname@example.org', email destination is decided by `/somewhere/vdom/dir/.qmail-ext'. For this case:
cd /somewhere/vdom/dir apoppasswd -e ext
In Mail User Agent configuration, user name for authentication is as follows.
|email address||auth name|
Unlike the case for POP server, it is not important which login account is accepted. If you have multiple accounts on the server, anyone is good for sending purpose.
is shortly written in README.auth-ext.
You also want to set up imapext as POP3 server... Japanese text below;
http://members.elysium.pl/brush/qmail-smtpd-auth/ $B$H(B http://members.elysium.pl/brush/cmd5checkpw/ $B$K$h$k(B SMTP-AUTH $B$r(B $B%Y!<%9$K(B $B!V(BUW-IMAPD$B$F$s$3$b$j3HD%%Q%C%/(B$B!W(B ($B0J2<(Bimapext)$B$HF1MM$N%Q%9%o!<%I(B $B4IM}J}<0$rMxMQ$9$k$h$&$K$7$?$b$N$G$9!#$D$^$j!"(B
~/.qmail-foo $B$d(B control/virtualdomain $B$K$h$k(B $B3HD%%"%I%l%9$KBP$9$k%Q%9%o!<%I$rF1$8%k!<%k$G7h$^$k%U%!%$%kL>$G(B $B4IM}$G$-$k$h$&$K$7$?!#(B
$B$3$N%Q%C%A$K$h$k(B qmail-smtpd $B$O(B http://www.gentei.org/~yuuji/software/qmail-smtpd-auth-ext/ $B$K$"$k(B cmd5apoppw $B$HAH$_9g$o$;$F;H$&$3$H$rA[Dj$7$F$$$^$9!#(B cmd5apoppw$B$bF1;~$K%$%s%9%H!<%k$7$F2<$5$$!#(B