Prevent e-mail access

Depending on how you use your system, you might want to prevent users from accessing e-mail through SMTP and POP servers. You can prevent e-mail access entirely or allow access occasionally.