Debian auf Maildir umstellen
Aus MattWiki
Quelle: https://wiki.debian.org/MaildirConfiguration
Vorgehen
Neue Datei anlegen: /etc/procmailrc
Inhalt:
ORGMAIL=${HOME}/Maildir/ DEFAULT=${ORGMAIL}
Anpassungen /etc/login.defs
QMAIL_DIR Maildir/ #MAIL_DIR /var/mail # Note: QMAIL_DIR alone does not work as advertised... also need MAIL_FILE 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