Debian auf Maildir umstellen: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) |
Matt (Diskussion | Beiträge) (→Mutt) |
||
Zeile 32: | Zeile 32: | ||
=== Mutt === | === Mutt === | ||
Vgl. [[Mutt (Linux) | Vgl. [[Mutt (Linux)]] |
Version vom 28. Januar 2017, 00:31 Uhr
Quelle: https://wiki.debian.org/MaildirConfiguration
Konfiguration Betriebssystem
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
Konfiguration weiterer Anwendungen
Mutt
Vgl. Mutt (Linux)