I need to be able to setup a nologin system for users on my mail server on a per user basis. We are going to do some maintenance on each user (individually) and would like it if they could not login to dovecot while we do this. I was curious if dovecot implemented anything like this. We are currently using standard pam authentication (nothing db related) and I was hoping to be able to touch a "nologin" file on a per user basis in their home directory. I think I could do this with some pam magic, but was curious if dovecot had something in it that would allow for this. Note: I understand I will have to forcibly kill active connections. --Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20060213/5b7b9aff/attachment-0002.html>
On Mon, 13 Feb 2006, Robert A. Thompson wrote:> I need to be able to setup a nologin system for users on my mail server > on a per user basis. We are going to do some maintenance on each userSee this snippet from dovecote.conf: # Users can be temporarily disabled by adding a passdb with deny=yes. # If the user is found from that database, authentication will fail. # The deny passdb should always be specified before others, so it gets # checked first. Here's an example: #passdb passwd-file { # File contains a list of usernames, one per line #args = /etc/dovecot.deny #deny = yes #} Bye, -- Steffen Kaiser