After thinking about this for a while, I think the best solution is simply to
remove the shell check unconditionally. I'm not sure if anyone else except me
ever wanted it (and I can live with a couple of unnecessary users getting
mailboxes). Done for v2.2:
At 1AM +0200 on 1/02/13 you (Timo Sirainen) wrote:
On 1.2.2013, at 0.35, Ben Morrow b...@morrow.me.uk wrote:
I am running Dovecot with system users (userdb passwd), but some of
those users don't have shell accounts on the IMAP server so their shell
on that machine is set to
At 4AM +0100 on 1/02/13 you (Daniel Parthey) wrote:
Hi Ben,
Ben Morrow wrote:
+if (set-check_nologin) {
+/* skip entries that don't have a valid shell.
+ they're again probably not real users. */
+if (strcmp(pw-pw_shell,
I am running Dovecot with system users (userdb passwd), but some of
those users don't have shell accounts on the IMAP server so their shell
on that machine is set to /usr/sbin/nologin. Currently I am using
maildirs and this is not a problem, but I am in the process of switching
to dbox which means
On 1.2.2013, at 0.35, Ben Morrow b...@morrow.me.uk wrote:
I am running Dovecot with system users (userdb passwd), but some of
those users don't have shell accounts on the IMAP server so their shell
on that machine is set to /usr/sbin/nologin. Currently I am using
maildirs and this is not a
Hi Ben,
Ben Morrow wrote:
+if (set-check_nologin) {
+/* skip entries that don't have a valid shell.
+ they're again probably not real users. */
+if (strcmp(pw-pw_shell, /bin/false) == 0 ||
+strcmp(pw-pw_shell,