maildir

vom513 <[email protected]> Mon, 25 May 2020 23:56:38 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Hello,

Like many folks, I have the logic in my .mailfilter to run maildirmake if the folder doesn’t exist (I’m using Maildir by the way).

I noticed that for a few of my users that I have set to the ‘nologin’ shell - maildirmake doesn’t run.  I suppose this makes sense, but I was a bit surprised anyway…

Does anyone have an elegant solution for restricting users to not being able to log in - but have maildirmake run ?  Some kind of rbash config where I only allow that command ?

PS: Apologies that this isn’t really any deficiency etc. of courier/maildrop - this is rather a general system/shell issue.  I just figured that there might be some folks here who have done this before.

Thanks.

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop