Debian auf Maildir umstellen
Aus MattWiki
Quelle: https://wiki.debian.org/MaildirConfiguration
Konfiguration Betriebssystem
Neue Datei anlegen: /etc/procmailrc
Inhalt:
ORGMAIL=${HOME}/Maildir/ DEFAULT=${ORGMAIL}
Anpassungen /etc/login.defs
#MAIL_DIR /var/mail MAIL_DIR Maildir/ MAIL_FILE Maildir/
Anpassungen /etc/pam.d/login
# in /etc/login.defs to make sure that removing a user # also removes the user's mail spool file. # See comments in /etc/login.defs -session optional pam_mail.so standard +session optional pam_mail.so dir=~/Maildir standard
Anpassungen /etc/pam.d/sshd
# Print the status of the user's mailbox upon successful login. -session optional pam_mail.so standard noenv # [1] +session optional pam_mail.so dir=~/Maildir standard # [1]
Anpassungen /etc/pam.d/su
# "nopen" stands to avoid reporting new mail when su'ing to another user -session optional pam_mail.so nopen +session optional pam_mail.so dir=~/Maildir nopen
Konfiguration weiterer Anwendungen
Mutt
Vgl. Mutt (Linux)