Debian auf Maildir umstellen: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) (→Mutt) |
Matt (Diskussion | Beiträge) |
||
Zeile 8: | Zeile 8: | ||
DEFAULT=${ORGMAIL} | DEFAULT=${ORGMAIL} | ||
Anpassungen <code>/etc/login.defs</code> | Anpassungen <code>/etc/login.defs</code> | ||
<nowiki>#</nowiki>MAIL_DIR /var/mail | <nowiki>#</nowiki>MAIL_DIR /var/mail | ||
MAIL_DIR Maildir/ | |||
MAIL_FILE Maildir/ | MAIL_FILE Maildir/ | ||
Anpassungen <code>/etc/pam.d/login</code> | Anpassungen <code>/etc/pam.d/login</code> |
Version vom 28. Januar 2017, 17:37 Uhr
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)