On Fri, 18 Jan 2008 10:41:52 +0100 Soren Hansen <[EMAIL PROTECTED]> wrote:
> I'm not sure about switching to Maildir. I definitely think Maildir > is a major improvement over mbox, but I'm worried too many things > still depend on /var/spool/mail/$USERNAME to be where the user's mail > is at. I could be totally wrong, but we need to check it. I would say that those things are broken then. If we decide to go with Maildir, then we should just append 'dir=~/Maildir' for every pam_mail.so in /etc/pam.d. Other than that, some minor changes in /etc/login.defs (optional). If program doesn't respect pam or login.defs, then it's broken :) > If we focus on the SASL stuff for a little bit, IIRC my last proposal > was to make postfix's init script do something like: > > if [ -x /usr/sbin/dovecot ] > then > # Use http://pastebin.ubuntu-nl.org/46677/ to grab the socket path > if [ ! -e /etc/postfix/dovecot_sasl_configured ] > then > # Set the SASL stuff up (like in your debdiff) > postconf -e 'blahblah' > else > SASL_SOCKET="`parsestuff "auth default" "socket" "client" > "path"`" mount -o bind > "${SASL_SOCKET}" /var/spool/postfix/private/auth fi > fi > > How does that look? I see some problems with it, but this could be explained in documentation (i.e. if someone configures auth mechanism in main.cf and leaves dovecot_sasl_configured, it could get funny). But I do like the idea, maybe we should use postconf to find out if auth mechanism is configured and then decide what to do... LaMont? -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
