[EMAIL PROTECTED] writes:
> We have been giving free email accounts using qmail,vpopmail, and
> sqwebmail. The users can only access their email through the web
> interface, POP access is blocked in our firewall. Is there a way
> to allow only certain users pop access based on username and not
> IP??
Yes. Instead of running qmail-pop3d like this:
exec tcpserver 0 110 /var/qmail/bin/qmail-popup ns.crynwr.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
run it like this:
exec tcpserver 0 110 /var/qmail/bin/qmail-popup ns.crynwr.com \
/bin/checkpassword /usr/local/bin/poptest Maildir
where /usr/local/bin/poptest looks like this:
#!/bin/sh
if test -f .popok; then
exec /var/qmail/bin/qmail-pop3d $*;
else
echo -ERR use the web interface at http://example.com/
fi
I haven't tested this to see if it works. That's too much like work,
and I want to be paid if I'm gonna work.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | Looking for help
521 Pleasant Valley Rd. | +1 315 268 1925 voice | tuning Apache for
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | high performance.