Mark Delany <[EMAIL PROTECTED]> wrote:
>
> What made you think you had to use a qmail specific feature to achieve
> this result rather than something general to Unix?
Exactly right. As someone well-known once said, ``This is UNIX. Stop
acting so helpless.''
However, killing the POP listener was just an example--I wouldn't
recommend it.
If you happen to use qmail-pop3d, you could write a replacement for
checkpassword which, instead of checking the password, prints out
"-ERR pop server offline between 2pm and 4pm daily" and exits.
Using cron, you could change a symlink to point to it, instead of
checkpassword, at the right times.
(Disclaimer: if you write this, make sure it plays nicely with qmail-popup!
It will run as root; make it bug free. Check qmail-popup for proper
exit codes, whether you _must_ read stdin, etc.)
Len.