On 2014-09-23 Tue 10:06 AM |, Boris Goldberg wrote:
>   This might have something to do with the fact that this is a mail server,
> and mail is being delivered by root (by procmail to maildirs if it makes a
> difference).
> 

How about Dovecot & sieve (rules can be edited remotely in Thunderbird):

"Filesystem quota supports both local filesystems and rquota (NFS).":
http://wiki2.dovecot.org/Quota/FS
http://wiki2.dovecot.org/Quota

" ... temporarily drop privileges to users.":
http://wiki2.dovecot.org/LMTP

http://wiki2.dovecot.org/Pigeonhole/Sieve
http://wiki2.dovecot.org/Pigeonhole/ManageSieve/
Almost a GUI for semi-competent users:
https://addons.mozilla.org/EN-US/thunderbird/addon/sieve/

I've configured Dovecot to deliver to (NFS) /var/mail/ dirs,
with per user sieve scripts in /var/mail/<user>/sieve/ too.

Mutt works fine with /etc/mutt/Muttrc:
set folder="$MAIL"
set postponed="$MAIL/.Drafts"
set record="$MAIL/.Sent"
set trash="$MAIL/.Trash"
mailboxes + `echo $MAIL/.* | tr -s ' ' '\n' | egrep -v 'Archive|Trash.' | tr -s 
'\n' ' '`

There is no mail kept in $HOME

This way, mail deleted or sent locally via Mutt,
can be accessed remotely via IMAP - it is uniformly seemless.

Also, /home & /var/mail can be unmounted & dumped with different level 0
frequency. Say annually for /home & quarterly for /var/mail.

Reply via email to