From: Christian Heller Date: Mon, 28 Sep 2015 22:29:44 +0000 (+0200) Subject: Extend mail client system configuration. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_id%7D%7D?a=commitdiff_plain;h=198c50a3d82e8379ec64a1be4df94460397b3fad;p=config Extend mail client system configuration. --- diff --git a/dotfiles_user_server/muttrc b/dotfiles_user_server/muttrc new file mode 100644 index 0000000..6be1586 --- /dev/null +++ b/dotfiles_user_server/muttrc @@ -0,0 +1,34 @@ +# plomlompom's mutt configuration file + +# Define mailboxes. +set mbox_type=Maildir +set folder=/home/plom/mail +set spoolfile=$folder/inbox +set mbox=$folder/archive +set record=$folder/sent +set postponed=$folder/postponed + +# Move read messages from $spoolfile to $mbox. +set move=yes + +# Macro to a mailboxes view built from all folders below ~/mail. +macro index,pager y ? +mailboxes `ls /home/plom/mail | sed -e 's/^/=/' | tr "\n" " "` + +# What goes into the default header display. +ignore * +unignore from: subject to cc date + +# Force some variables for From: and Message-ID: generation. +set realname="Christian Heller" +set from="c.heller@plomlompom.de" +set hostname="plomlompom.de" + +# Allow me to reply myself. +set reply_self = yes + +# Only scroll in the current message, not across messages. +set pager_stop = yes + +# Sort message top-down new-old. +set sort=reverse-date diff --git a/dotfiles_user_server/procmailrc b/dotfiles_user_server/procmailrc index 1784ca1..e62fa57 100644 --- a/dotfiles_user_server/procmailrc +++ b/dotfiles_user_server/procmailrc @@ -1,6 +1,6 @@ # plomlompom's procmail configuration -MAILDIR=/home/plom/mail/current +MAILDIR=/home/plom/mail DEFAULT=$MAILDIR/inbox/ :0 diff --git a/jessie_start_server.sh b/jessie_start_server.sh index 6d5916a..66baf40 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -81,8 +81,9 @@ apt-get -y install openssh-server # Set up irssi. apt-get -y install irssi -# Set up getmail und procmail. -apt-get -y install getmail4 procmail +# Set up mail client system. +apt-get -y install getmail4 procmail mutt +su plom -c 'mkdir -p /home/plom/mail' # Clean up. rm jessie_start_server.sh