diff options
author | Sebastian Reichel <sre@ring0.de> | 2011-03-10 04:21:22 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2011-03-10 04:21:22 +0100 |
commit | ad3da6ba1ceb9d5345f4c255325fbb848ed9b079 (patch) | |
tree | 610e7726a556692fb1914060a581a66c576b0c2a | |
download | mutt-config-ad3da6ba1ceb9d5345f4c255325fbb848ed9b079.tar.bz2 |
initial config
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | certificates | 90 | ||||
-rw-r--r-- | config/color | 36 | ||||
-rw-r--r-- | config/common | 11 | ||||
-rw-r--r-- | config/editor | 15 | ||||
-rw-r--r-- | config/gpg | 42 | ||||
-rw-r--r-- | config/header | 3 | ||||
-rw-r--r-- | config/imap | 11 | ||||
-rw-r--r-- | config/keys | 18 | ||||
-rw-r--r-- | config/lists | 1 | ||||
-rw-r--r-- | config/sidebar | 17 | ||||
-rw-r--r-- | muttrc | 9 |
12 files changed, 254 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4237ec7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +headers diff --git a/certificates b/certificates new file mode 100644 index 0000000..d4da029 --- /dev/null +++ b/certificates @@ -0,0 +1,90 @@ +-----BEGIN CERTIFICATE----- +MIIDtTCCAx6gAwIBAgIJAKycHzHHXqPGMA0GCSqGSIb3DQEBBQUAMIGZMS0wKwYD +VQQKEyRVbml2ZXJzaXR5IG9mIFdhc2hpbmd0b24gSU1BUCBkYWVtb24xDzANBgNV +BAsTBm5lcHR1bjElMCMGA1UEAxMcbmVwdHVuLmVsZWt0cmFub3guZHluZG5zLm9y +ZzEwMC4GCSqGSIb3DQEJARYhcm9vdEBuZXB0dW4uZWxla3RyYW5veC5keW5kbnMu +b3JnMB4XDTA4MDgyMTIwMjMyNloXDTA5MDgyMTIwMjMyNlowgZkxLTArBgNVBAoT +JFVuaXZlcnNpdHkgb2YgV2FzaGluZ3RvbiBJTUFQIGRhZW1vbjEPMA0GA1UECxMG +bmVwdHVuMSUwIwYDVQQDExxuZXB0dW4uZWxla3RyYW5veC5keW5kbnMub3JnMTAw +LgYJKoZIhvcNAQkBFiFyb290QG5lcHR1bi5lbGVrdHJhbm94LmR5bmRucy5vcmcw +gZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOoVQPPtFWO5HgKbIwK10ADF3PtI +fdknYeAaLjaMM0DMFmfbYzsS93CmRqvlVGfmphBawropPFEFC1zeMFASPij6UgQ0 +WFxiFXSgCVb+xXqLw1SOvFhKxliMyXu1MJyICbc0TUCb2Wfd72qXzffQqMMgiXgT +dS5xiHw6QjYSlhuDAgMBAAGjggEBMIH+MB0GA1UdDgQWBBQLI+oIN125V24QVuwr +ydz2Aua0VjCBzgYDVR0jBIHGMIHDgBQLI+oIN125V24QVuwrydz2Aua0VqGBn6SB +nDCBmTEtMCsGA1UEChMkVW5pdmVyc2l0eSBvZiBXYXNoaW5ndG9uIElNQVAgZGFl +bW9uMQ8wDQYDVQQLEwZuZXB0dW4xJTAjBgNVBAMTHG5lcHR1bi5lbGVrdHJhbm94 +LmR5bmRucy5vcmcxMDAuBgkqhkiG9w0BCQEWIXJvb3RAbmVwdHVuLmVsZWt0cmFu +b3guZHluZG5zLm9yZ4IJAKycHzHHXqPGMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcN +AQEFBQADgYEA0L7ea9MUNibXbvnvq53zYmPyynCKvTEFhB3eQAfjJ5706gfbB4j7 +RTQc6laV52/zmEA6owh2Lxyc++6KTTWrrALNtR0WH12DgwhTXcIHcNaHyyI866me +FlDooav22IB7JswkHIXsfrR0EBX3NlaYfhgWxy/2ic1zVYt870/xgEQ= +-----END CERTIFICATE----- +#H 127.0.0.1 11BD 0CA4 57B8 A5CB DE95 07BF 2C58 B31F +#H elektranox.dyndns.org 11BD 0CA4 57B8 A5CB DE95 07BF 2C58 B31F +#H neptun 11BD 0CA4 57B8 A5CB DE95 07BF 2C58 B31F +#H elektranox.dynd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DVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOB +gQA3vV0ic5Ynf8ZnzKaIcafxLz+5fZqI0/n+VqVUHaJTZm6dM6orzXsR76zc4dXm +0NisHXqrhMCqwQYgZeK9WieVPivULb7QjLd8kkqLVeaOMZ5ohvID6QeJXi9sEV/q +pfIcLpxdflaaMzOTM8OcqFYASxqD8i6qLSm7tkLCyBoH1w== +-----END CERTIFICATE----- +#H mars 51CB 6AE5 0B1D 64AE AA40 0761 DD69 E82D +#H elektranox.dyndns.org 51CB 6AE5 0B1D 64AE AA40 0761 DD69 E82D +-----BEGIN CERTIFICATE----- +MIIDTzCCArigAwIBAgIJAM1fbn408q1pMA0GCSqGSIb3DQEBBQUAMHkxLTArBgNV +BAoTJFVuaXZlcnNpdHkgb2YgV2FzaGluZ3RvbiBJTUFQIGRhZW1vbjENMAsGA1UE +CxMEbWFyczEWMBQGA1UEAxMNbWFycy51bml2ZXJzZTEhMB8GCSqGSIb3DQEJARYS +cm9vdEBtYXJzLnVuaXZlcnNlMB4XDTEwMDEyNTE2NTQzMVoXDTExMDEyNTE2NTQz +MVoweTEtMCsGA1UEChMkVW5pdmVyc2l0eSBvZiBXYXNoaW5ndG9uIElNQVAgZGFl +bW9uMQ0wCwYDVQQLEwRtYXJzMRYwFAYDVQQDEw1tYXJzLnVuaXZlcnNlMSEwHwYJ +KoZIhvcNAQkBFhJyb290QG1hcnMudW5pdmVyc2UwgZ8wDQYJKoZIhvcNAQEBBQAD +gY0AMIGJAoGBALsXLHajzQzxovwZ6Rvq1NdJOUt3aLl9uHULfJ8CEjXpdXeelyPk +I1jhbLiF9EOjqawDAGucr+VtYechGVbV9uGLeAu2UxM72yaxwAM2eay8hPD0i6XQ +47MdsmmBddbyHjPXqKvHQxtqAcXyQwZHYmZn87KH0wEqkNzP4h0fP/L1AgMBAAGj +gd4wgdswHQYDVR0OBBYEFJOgIC2cNegiAAyV/cetSpjtYIK1MIGrBgNVHSMEgaMw +gaCAFJOgIC2cN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FEobYTwznVEQZmsI56UmTqq/r9M+PP +SPs2pyQNr5rgFqSiEmPk9uGKVN4lOJQ49qsCAwEAAaOB1jCB0zAdBgNVHQ4EFgQU ++6VHL3zH39Rz0Yaf5cvhGVuRMwQwgaMGA1UdIwSBmzCBmIAU+6VHL3zH39Rz0Yaf +5cvhGVuRMwShdaRzMHExHDAaBgNVBAoTE0RvdmVjb3QgbWFpbCBzZXJ2ZXIxFjAU +BgNVBAsTDW1hcnMudW5pdmVyc2UxFjAUBgNVBAMTDW1hcnMudW5pdmVyc2UxITAf +BgkqhkiG9w0BCQEWEnJvb3RAbWFycy51bml2ZXJzZYIJAOslQt2Pto/4MAwGA1Ud +EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAYKXBSKSfG9AlBdb+Vyf570LUxobh +vXetoLjjP0mQqcMKa7D4FQ20m6yel4Z65uKdNFCixHSiqslX4fV+Z6jaV5VMepsN +bEUgygOu5wbci68McE+raVgGUIINh7Z8kVwZKLmMk6YOrt0BfSLtamnEX/Eht1m2 +8kZi4TdkzwcTnIE= +-----END CERTIFICATE----- diff --git a/config/color b/config/color new file mode 100644 index 0000000..9829708 --- /dev/null +++ b/config/color @@ -0,0 +1,36 @@ +# Mutt Gesamt +color status white black # Das Menu +color tree red default # Der Pfeil von Threads +color search brightyellow default # Suchergebnisse +color normal white default # normaler Text + +# Index fabrig +color index green default "~N|~O" +color index cyan default "~g !~N !~O" +color index brightdefault default "~G !~N !~O" +color index magenta default "~P" +color index red default "~D" + +# Header farbig +color header brightyellow black ^From: +color header brightblue black ^To: +color header brightblue black ^Cc: +color header brightgreen black ^Subject: +color header brightred black ^Date: + +# Quotes farbig +color quoted green default +color quoted1 cyan default +color quoted2 green default +color quoted3 cyan default +color quoted4 green default +color quoted5 cyan default +color quoted6 green default +color quoted7 cyan default +color quoted8 green default +color quoted9 cyan default + +# GPG Signaturen farbig +color body brightyellow default "^gpg: (Good signature|Signature made).*" +mono body bold "^gpg: (good signature|signature made).*" +color body brightred default "^gpg: BAD signature.*" diff --git a/config/common b/config/common new file mode 100644 index 0000000..3fac0e1 --- /dev/null +++ b/config/common @@ -0,0 +1,11 @@ +set record=+Verschickt # gesendete Mails auch in Verschickt speichern +set sort=threads # nach Threads sortieren +set sort_aux=date-sent # nach Threads nach Datum sortieren +set move=no # gelesene Mails nicht ins lokale Maildir schieben +set markers=no # keine + zeichen vor umgebrochenen zeilen +set beep=no # keine beep töne +set delete=yes # löschen ohne nachzufragen +set collapse_unread=yes # dont collapse threads with unread messages +set header_cache=~/.mutt/headers # cache headers + +auto_view text/html # Auto View HTML Mails diff --git a/config/editor b/config/editor new file mode 100644 index 0000000..b320a13 --- /dev/null +++ b/config/editor @@ -0,0 +1,15 @@ +set editor="vim -c 'set tw=68 et'" # Editor zum Schreiben von Mails +set sendmail="/usr/bin/msmtp" # mSMTP zum versenden der Mails +set use_envelope_from=yes # verwende Account anhand des From Felds +set realname="Sebastian Reichel" # setzten des Namen + +# Default From Adresse +set reverse_name +set from=elektranox@gmail.com +alternates "sre@ring0.de|sre@debian.org" + +# Macros zum setzen des Accounts +#set use_from=yes # From Feld verwenden +#macro generic "<esc>1" ":set from=elektranox@gmail.com\n" +#macro generic "<esc>2" ":set from=sre@ring0.de\n" +#macro generic "<esc>3" ":set from=sebastian.reichel@informatik.uni-oldenburg.de\n" diff --git a/config/gpg b/config/gpg new file mode 100644 index 0000000..52a9356 --- /dev/null +++ b/config/gpg @@ -0,0 +1,42 @@ +# GnuPG configuration +set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" +set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" +set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" +set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" +set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" +set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x5A5398A8 -- -r %r -- %f" +set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x5A5398A8 -- -r %r -- %f" +set pgp_import_command="gpg --no-verbose --import %f" +set pgp_export_command="gpg --no-verbose --export --armor %r" +set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" +set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --list-keys %r" +set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" + +# specify the uid to use when encrypting/signing +set pgp_sign_as=0xC83BFA9A + +# set the number of seconds to keep in memory the passpharse used to encrypt/sign +# the more the less secure it will be +set pgp_timeout=60 + +# it's a regexp used against the GPG output: if it matches some line of the output +# then mutt considers the message a good signed one (ignoring the GPG exit code) +set pgp_good_sign="^gpg: Good signature from" + +# for traditional gpg inline style +message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" + +# don't show the full gpg output +#set pgp_verify_sig=no + +# Auto Encrypt +unset pgp_autoencrypt + +# Auto Sign +set pgp_autosign=yes + +# Answer encrypted if it was encrypted before +set pgp_replyencrypt=yes + +# PGP Menu +bind compose p pgp-menu diff --git a/config/header b/config/header new file mode 100644 index 0000000..73e5262 --- /dev/null +++ b/config/header @@ -0,0 +1,3 @@ +ignore * # Alle Header entfernen +unignore from to cc date subject # Absender, Datum und Betreff anzeigen +hdr_order subject from to cc date # Reihenfolge auf Betreff, Absender, Empfänger, Datum festsetzen diff --git a/config/imap b/config/imap new file mode 100644 index 0000000..b586659 --- /dev/null +++ b/config/imap @@ -0,0 +1,11 @@ +# IMAP User Daten +set imap_user="sre" +set imap_pass=`getpassword imap.elektranox.dyndns.org` +set imap_idle=yes + +# Verzeichnisse der Mails +set folder="imaps://elektranox.dyndns.org/" +set spoolfile="imaps://elektranox.dyndns.org/INBOX" + +# Certificat +set certificate_file=~/.mutt/certificates diff --git a/config/keys b/config/keys new file mode 100644 index 0000000..540e8ba --- /dev/null +++ b/config/keys @@ -0,0 +1,18 @@ +bind pager <up> previous-line +bind pager <down> next-line +bind pager <left> previous-entry +bind pager <right> next-entry + +bind index \t next-unread +bind pager \t next-unread + +bind index .\t next-unread-mailbox +bind pager .\t next-unread-mailbox + +bind browser ^ check-new +bind index ^ imap-fetch-mail + +bind browser b buffy-list +bind index b buffy-list + +bind compose f edit-from diff --git a/config/lists b/config/lists new file mode 100644 index 0000000..4877e9d --- /dev/null +++ b/config/lists @@ -0,0 +1 @@ +subscribe smartphones-userland@linuxtogo.org diff --git a/config/sidebar b/config/sidebar new file mode 100644 index 0000000..8d6d29b --- /dev/null +++ b/config/sidebar @@ -0,0 +1,17 @@ +mailboxes =INBOX =Feuerwehr =Debian =debian-kernel =OpenMoko =SWP =pancake =System =SPAM + +# b toggles sidebar visibility +macro index b '<enter-command>toggle sidebar_visible<enter>' +macro pager b '<enter-command>toggle sidebar_visible<enter>' + +# color of folders with new mail +color sidebar_new yellow default + +# ctrl-n, ctrl-p to select next, prev folder +# ctrl-o to open selected folder +bind index \CP sidebar-prev +bind index \CN sidebar-next +bind index \CO sidebar-open +bind pager \CP sidebar-prev +bind pager \CN sidebar-next +bind pager \CO sidebar-open @@ -0,0 +1,9 @@ +source ~/.mutt/config/imap # IMAP +source ~/.mutt/config/header # Header +source ~/.mutt/config/color # Farben +source ~/.mutt/config/gpg # GPG Mails +source ~/.mutt/config/editor # Editor +source ~/.mutt/config/common # Standard Einstellungen +source ~/.mutt/config/keys # Tastenbelegungen +source ~/.mutt/config/lists # Mailing Listen +source ~/.mutt/config/sidebar # Sidebar |