qmpass Code
Brought to you by:
spectrum70
| File | Date | Author | Commit |
|---|---|---|---|
| README | 2016-04-11 |
|
[20d0ab] First version. |
| main.cc | 2016-04-11 |
|
[20d0ab] First version. |
| makefile | 2016-04-11 |
|
[20d0ab] First version. |
qmpass
A plain password check tool for qmail-smtpd
Copyright (c) 2016 - A.Dureghello
Usage:
The tool actually checks only plain passwords, so if can prepare a passwd file
with lines as:
user@vdomain:password
or
user@vdomain:{plain}password
Use then qmpass in supervisor run file, passing the passwd file path as
parameter, as :
exec softlimit -m 60000000 tcpserver -v -R -l "$LOCAL" -x /etc/qmail/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 587 qmail-smtpd /usr/bin/qmpass /etc/dovecot/passwd 2>&1