└── .mutt ├── .gitignore ├── muttrc ├── scripts ├── extract_url.pl ├── msmtpqueue │ ├── ChangeLog │ ├── README │ ├── msmtp-daemon.sh │ ├── msmtp-enqueue.sh │ ├── msmtp-listqueue.sh │ └── msmtp-runqueue.sh ├── t-prot.sh ├── theme ├── themes.sh ├── uncolor.sh └── varnames.pl ├── signatures ├── angel ├── angel.informal ├── angelo ├── angelo.ncomputing └── test ├── sourced ├── .macros.swp ├── .mailboxes.swp ├── aliases ├── autoview ├── bindings ├── composing ├── display ├── fcc-hooks ├── folder-hooks ├── folder-hooks.maildir ├── goobookrc ├── gpg ├── headers ├── identity ├── lists ├── macros ├── macros.index_format-long ├── macros.index_format-short ├── macros.index_format-shorter ├── macros.maildir ├── macros.pager_index_lines-off ├── macros.pager_index_lines-on ├── mailboxes ├── mailboxes-redondos@twat.com.ar ├── mailboxes.maildir ├── mailboxes.mbox ├── mailboxes.non-imap ├── options ├── save-hooks ├── send-hooks ├── themes.random └── themes.set ├── themes.256 ├── themes.default ├── themes ├── .rado.1.swp ├── LH ├── arg ├── black ├── blackback ├── blah ├── calmar-update.sh ├── calmar.dark ├── calmar.light ├── color ├── comidia ├── davep ├── default ├── ice ├── kevin ├── lazygenestheme ├── openbsd ├── openbsd.redondos ├── phil ├── rado ├── rado.1 ├── rohrbach ├── rosenfeldstheme ├── tomastheme ├── trans-blue ├── trans-cyan ├── trans-gen ├── trans-green ├── trans-magenta ├── trans-red ├── trans-yellow └── white └── vim └── commands /.mutt/.gitignore: -------------------------------------------------------------------------------- 1 | imap_password.sh 2 | -------------------------------------------------------------------------------- /.mutt/muttrc: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Main configuration file. 4 | # 5 | 6 | # source ~/.mutt/sourced/fcc-hooks # Hooks for outgoing mail | Functionality replaced by folder-hooks 7 | source `~/.mutt/scripts/themes.sh` # Color 8 | source ~/.mutt/sourced/aliases # Well, aliases. 9 | source ~/.mutt/sourced/autoview # Autoview 10 | source ~/.mutt/sourced/bindings # Key bindings 11 | source ~/.mutt/sourced/composing # Composing & sending. 12 | source ~/.mutt/sourced/display # Display settings. 13 | source ~/.mutt/sourced/identity # Identity. 14 | source ~/.mutt/sourced/folder-hooks # Folder hooks. 15 | source ~/.mutt/sourced/gpg # GnuPG 16 | source ~/.mutt/sourced/headers # Customize header display 17 | source ~/.mutt/sourced/lists # Mailing lists (subscribed or not) 18 | source ~/.mutt/sourced/macros # Macros. 19 | source ~/.mutt/sourced/mailboxes # Mailboxes that receive mail 20 | source ~/.mutt/sourced/options # Options. 21 | source ~/.mutt/sourced/save-hooks # Auto-select save folders 22 | source ~/.mutt/sourced/send-hooks # Automatically change From: headers and such 23 | -------------------------------------------------------------------------------- /.mutt/scripts/extract_url.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | use MIME::Parser; 4 | use Switch; 5 | use HTML::Parser; 6 | use Getopt::Std; 7 | 8 | my $version = 1.3; 9 | 10 | my %options; 11 | &getopts("lv",\%options); 12 | my $fancymenu = 1; 13 | if ($options{'l'}) { $fancymenu = 0; } 14 | if ($options{'v'}) { print "The extract_url Program, version $version\n"; exit; } 15 | 16 | # create a hash of html tag names that may have links 17 | my %link_attr = ( 18 | 'a' => {'href'}, 19 | 'applet' => {'archive','codebase','code'}, 20 | 'area' => {'href'}, 21 | 'blockquote' => {'cite'}, 22 | #'body' => {'background'}, 23 | 'embed' => {'pluginspage', 'src'}, 24 | 'form' => {'action'}, 25 | 'frame' => {'src', 'longdesc'}, 26 | 'iframe' => {'src', 'longdesc'}, 27 | #'ilayer' => {'background'}, 28 | #'img' => {'src'}, 29 | 'input' => {'src', 'usemap'}, 30 | 'ins' => {'cite'}, 31 | 'isindex' => {'action'}, 32 | 'head' => {'profile'}, 33 | #'layer' => {'background', 'src'}, 34 | 'layer' => {'src'}, 35 | 'link' => {'href'}, 36 | 'object' => {'classid', 'codebase', 'data', 'archive', 'usemap'}, 37 | 'q' => {'cite'}, 38 | 'script' => {'src', 'for'}, 39 | #'table' => {'background'}, 40 | #'td' => {'background'}, 41 | #'th' => {'background'}, 42 | #'tr' => {'background'}, 43 | 'xmp' => {'href'}, 44 | ); 45 | 46 | # find out the URLVIEW command 47 | my $urlviewcommand=""; 48 | my $shortcut = 0; # means open it without checking if theres only 1 URL 49 | my $noreview = 0; # means don't display overly-long URLs to be checked before opening 50 | my $persist = 0; # means don't exit after viewing a URL (ignored if $shortcut == 0) 51 | my $ignore_empty = 0; # means to throw out URLs that don't have text in HTML 52 | sub getprefs 53 | { 54 | if (open(PREFFILE,'<',$ENV{'HOME'}."/.extract_urlview")) { 55 | while () { 56 | switch ($_) { 57 | case /^SHORTCUT$/ { $shortcut = 1; } 58 | case /^NOREVIEW$/ { $noreview = 1; } 59 | case /^PERSISTENT$/ { $persist = 1; } 60 | case /^IGNORE_EMPTY_TAGS$/ { $ignore_empty = 1; } 61 | case /^COMMAND (.*)/ { 62 | /^COMMAND (.*)/; 63 | $urlviewcommand=$1; 64 | chomp $urlviewcommand; 65 | } 66 | case /^HTML_TAGS (.*)/ { 67 | /^HTML_TAGS (.*)/; 68 | my @tags = split(',', $1); 69 | my %tags_hash; 70 | foreach my $tag (@tags) { 71 | $tags_hash{lc $tag} = 1; 72 | } 73 | foreach my $tag (keys %link_attr) { 74 | delete $link_attr{$tag} if (! exists($tags_hash{$tag})); 75 | } 76 | } 77 | } 78 | } 79 | close PREFFILE; 80 | } elsif (open(URLVIEW,'<',$ENV{'HOME'}."/.urlview")) { 81 | while () { 82 | if (/^COMMAND (.*)/) { 83 | $urlviewcommand=$1; 84 | chomp $urlviewcommand; 85 | last; 86 | } 87 | } 88 | close URLVIEW; 89 | } 90 | if ($urlviewcommand eq "") { 91 | $urlviewcommand = "open"; 92 | } 93 | } 94 | 95 | my %link_hash; 96 | my %orig_text; 97 | my $newlink = 1; 98 | sub foundurl { 99 | my($uri) = @_; 100 | $uri =~ s/mailto:(.*)/$1/; 101 | if (! $link_hash{$uri}) { 102 | $link_hash{$uri} = $newlink++; 103 | } 104 | } 105 | my $foundurl_text_curindex = 0; 106 | my $foundurl_text_lastindex = 0; 107 | my $foundurl_text_prevurl = ""; 108 | my $foundurl_text_text; 109 | 110 | sub foundurl_text { 111 | my ($uri,$orig) = @_; 112 | $foundurl_text_curindex = index($$foundurl_text_text, $orig, $foundurl_text_lastindex); 113 | my $sincelast = &tidytext(substr($$foundurl_text_text,$foundurl_text_lastindex,($foundurl_text_curindex-$foundurl_text_lastindex))); 114 | $sincelast =~ s/<$//; 115 | $sincelast =~ s/^>//; 116 | &foundurl($uri); 117 | &process_sincelast($uri, $foundurl_text_prevurl, $sincelast); 118 | $foundurl_text_lastindex = $foundurl_text_curindex + length($orig); 119 | $foundurl_text_prevurl = $uri; 120 | } 121 | sub unfindurl { 122 | my($uri) = @_; 123 | delete($link_hash{$uri}); 124 | delete($orig_text{$uri}); 125 | } 126 | sub sanitizeuri { 127 | my($uri) = @_; 128 | my %encoding = ( 129 | #"\!" => "%21", 130 | #"\*" => "%2A", 131 | "\'" => "%27", 132 | #"\(" => "%28", 133 | #"\)" => "%29", 134 | #"\;" => "%3B", 135 | #"\:" => "%3A", 136 | #"\@" => "%40", 137 | #"\&" => "%26", 138 | #"\=" => "%3D", 139 | #"\+" => "%2B", 140 | "\\\$" => "%24", 141 | #"\," => "%2C", 142 | #"\/" => "%2F", 143 | #"\?" => "%3F", 144 | #"\%" => "%25", 145 | #"\#" => "%23", 146 | #"\[" => "%5B", 147 | #"\]" => "%5D", 148 | ); 149 | foreach $dangerchar (keys %encoding) { 150 | $uri =~ s/$dangerchar/$encoding{$dangerchar}/g; 151 | } 152 | return $uri; 153 | } 154 | 155 | my $parser = new MIME::Parser; 156 | 157 | my %closedurls; 158 | 159 | sub process_sincelast 160 | { 161 | my($url,$prev,$sincelast) = @_; 162 | if (length($prev) > 0 && ! exists($closedurls{$prev})) { 163 | $orig_text{$prev} .= " ".substr($sincelast,0,30); 164 | $closedurls{$prev} = 1; 165 | #print "URL(".$link_hash{$prev}.":".$newlink."): $prev ->\n\t".$orig_text{$prev}."\n\n"; 166 | } 167 | if (! exists($closedurls{$url})) { 168 | my $beforetext = substr $sincelast, -30; 169 | if (length($beforetext)) { 170 | $orig_text{$url} = "$beforetext =>URL<="; 171 | } else { 172 | $orig_text{$url} = "=>URL<="; 173 | } 174 | } 175 | } 176 | 177 | sub extract_url_from_text { 178 | ($foundurl_text_text) = @_; 179 | # The idea here is to eliminate duplicate URLs - I want the 180 | # %link_hash to be full of URLs. My regex (in the else statement) 181 | # is decent, but imperfect. URI::Find is better. 182 | my $fancyfind=1; 183 | eval "use URI::Find::Schemeless"; 184 | $fancyfind=0 if ($@); 185 | if ($fancyfind == 1) { 186 | my $finder = URI::Find::Schemeless->new(\&foundurl_text); 187 | $finder->find($foundurl_text_text); 188 | } else { 189 | $$foundurl_text_text =~ s{(((mms|ftp|http|https)://|news:)[][A-Za-z0-9_.~!*'();:@&=+$,/?%#-]+[^](,.'">;[:space:]]|(mailto:)?[-a-zA-Z_0-9.+]+@[-a-zA-Z_0-9.]+)}{ 190 | &foundurl_text($1,$1); 191 | }eg; 192 | } 193 | } 194 | 195 | my $seenstart = 0; 196 | my $seenurl = ""; 197 | my $beforetext = ""; 198 | my $extendedskipped = ""; 199 | my $last10words = ""; 200 | my $words_since_link_end = ""; 201 | 202 | sub tidytext 203 | { 204 | my ($text) = @_; 205 | my %rendermap = ( 206 | '[\n]' => '', 207 | '[\r]' => '', 208 | '&#[0-9]+;' => '', 209 | '&#x[0-9a-f]+;' => '', 210 | ' ' => ' ', 211 | '©' => '(c)', 212 | '—' => '---', 213 | '"' => '"', 214 | ''' => "'", 215 | '<' => '<', 216 | '>' => '>', 217 | '&([ACEINOUY])(grave|acute|circ|tilde|uml|ring|cedil);' => '\1', 218 | '&' => '&', 219 | '\s\s+' => ' ', 220 | ); 221 | foreach $entity (keys %rendermap) { 222 | my $construct = '$text =~ s/$entity/'.$rendermap{$entity}.'/ig'; 223 | eval $construct; 224 | } 225 | $text =~ s/^\s+//; 226 | $text =~ s/\s+$//; 227 | return $text; 228 | } 229 | 230 | sub find_urls_rec 231 | { 232 | my($ent) = @_; 233 | if ($ent->parts > 1 or $ent->mime_type eq "multipart/mixed") { 234 | for ($i=0;$i<$ent->parts;$i++) { 235 | find_urls_rec($ent->parts($i)); 236 | } 237 | } else { 238 | #print "type: " . $ent->mime_type . "\n"; 239 | switch ($ent->mime_type) { 240 | case "text/html" { 241 | my $parser = HTML::Parser->new(api_version=>3); 242 | $parser->handler(start => sub { 243 | my($tagname,$pos,$text,$skipped) = @_; 244 | if (my $link_attr = $link_attr{$tagname}) { 245 | while (4 <= @$pos) { 246 | my($k_offset, $k_len, $v_offset, $v_len) = splice(@$pos,-4); 247 | my $attrname = lc(substr($text, $k_offset, $k_len)); 248 | next unless exists($link_attr->{$attrname}); 249 | next unless $v_offset; # 0 v_offset means no value 250 | my $v = substr($text, $v_offset, $v_len); 251 | $v =~ s/^([\'\"])(.*)\1$/$2/; 252 | &foundurl($v); 253 | 254 | $words_since_link_end .= " $skipped"; 255 | $last10words = &tidytext("$last10words $skipped"); 256 | $last10words = substr $last10words, -50; 257 | 258 | $words_since_link_end = &tidytext($words_since_link_end); 259 | if (length($seenurl) > 0 && ! exists($closedurls{$seenurl})) { 260 | my $since_words = substr $words_since_link_end, 0, 30; 261 | if (length($since_words) > 0) { 262 | my $space = " "; 263 | $space = "" if ($since_words =~ /^[.,;!?)-]/); 264 | $orig_text{$seenurl} .= "$space$since_words"; 265 | } 266 | $closedurls{$seenurl} = 1; 267 | } 268 | 269 | $beforetext = substr $last10words, -30; 270 | $seenstart = 1; 271 | $seenurl = $v; 272 | } 273 | } 274 | }, 275 | "tagname, tokenpos, text, skipped_text"); 276 | $parser->handler(end => sub { 277 | my ($text) = @_; 278 | $text = &tidytext($text); 279 | $last10words = &tidytext("$last10words $text"); 280 | $last10words = substr $last10words, -50; 281 | if ($seenstart == 1) { 282 | if (! exists($closedurls{$seenurl})) { 283 | my $mtext = "=>$text<="; 284 | if (length($beforetext)) { 285 | my $space = " "; 286 | $space = "" if ($beforetext =~ /[(-]$/); 287 | $orig_text{$seenurl} = "$beforetext$space$mtext"; 288 | } else { 289 | $orig_text{$seenurl} = "$mtext"; 290 | } 291 | } 292 | if (length($text) == 0 && $ignore_empty == 1 && ! exists($closedurls{$seenurl})) { 293 | &unfindurl($seenurl); 294 | } 295 | $seenstart = 0; 296 | $extendedskipped .= " $text"; 297 | $words_since_link_end = ""; 298 | } else { 299 | $words_since_link_end .= " $text"; 300 | } 301 | },"skipped_text"); 302 | $parser->parse($ent->bodyhandle->as_string); 303 | } 304 | case qr/text\/.*/ { 305 | $ent->head->unfold; 306 | switch ($ent->head->get('Content-type')) { 307 | case qr/format=flowed/ { 308 | my @lines = $ent->bodyhandle->as_lines; 309 | chomp(@lines); 310 | my $body = ""; 311 | if ($ent->head->get('Content-type') =~ /delsp=yes/) { 312 | #print "delsp=yes!\n"; 313 | $delsp=1; 314 | } else { 315 | #print "delsp=no!\n"; 316 | $delsp=0; 317 | } 318 | for ($i=0;$i<@lines;$i++) { 319 | my $col = 0; 320 | my $quotetext = ""; 321 | while (substr($lines[$i],$col,1) eq ">") { 322 | $quotetext .= ">"; 323 | $col++; 324 | } 325 | if ($col > 0) { $body .= "$quotetext "; } 326 | while ($lines[$i] =~ / $/ && $lines[$i] =~ /^$quotetext[^>]/ && $lines[$i+1] =~ /^$quotetext[^>]/) { 327 | if ($delsp) { 328 | $line = substr($lines[$i],$col,length($lines[$i])-$col-1); 329 | } else { 330 | $line = substr($lines[$i],$col); 331 | } 332 | $line =~ s/ *(.*)/$1/; 333 | $body .= $line; 334 | $i++; 335 | } 336 | if ($lines[$i] =~ /^$quotetext[^>]/) { 337 | $line = substr($lines[$i],$col); 338 | $line =~ s/ *(.*)/$1/; 339 | $body .= $line."\n"; 340 | } 341 | } 342 | &extract_url_from_text(\$body); 343 | } 344 | else { 345 | &extract_url_from_text(\$ent->bodyhandle->as_string); 346 | } 347 | } 348 | } 349 | } 350 | } 351 | } 352 | 353 | sub urlwrap { 354 | my($subseq,$text,$linelen,$breaker) = @_; 355 | my $len = length($text); 356 | my $i = 0; 357 | my $output = ""; 358 | if (length($breaker) == 0) { $breaker = "\n"; } 359 | while ($len > $linelen) { 360 | if ($i > 0) { $output .= $subseq; } 361 | my $breakpoint = -1; 362 | my $chunk = substr($text,$i,$linelen); 363 | my @chars = ("!","*","'","(",")",";",":","@","&","=","+",",","/","?","%","#","[","]","-","_"); 364 | foreach $chr ( @chars ) { 365 | my $pt = rindex($chunk,$chr); 366 | if ($breakpoint < $pt) { $breakpoint = $pt; } 367 | } 368 | if ($breakpoint == -1) { $breakpoint = $linelen; } 369 | else { $breakpoint += 1; } 370 | $output .= substr($text,$i,$breakpoint) . $breaker; 371 | if ($i == 0) { $linelen -= length($subseq); } 372 | $len -= $breakpoint; 373 | $i += $breakpoint; 374 | } 375 | if ($i > 0) { $output .= $subseq; } 376 | $output .= substr($text,$i); 377 | return $output; 378 | } 379 | 380 | sub isOutputScreen { 381 | use POSIX; 382 | return 0 if POSIX::isatty( \*STDOUT) eq "" ; # pipe 383 | return 1; # screen 384 | } # end of isOutputScreen 385 | 386 | &getprefs(); 387 | $parser->output_to_core(1); 388 | $entity = $parser->parse(\*STDIN) or die "parse failed\n"; 389 | &find_urls_rec($entity); 390 | 391 | if (&isOutputScreen) { 392 | eval "use Curses::UI"; 393 | $fancymenu = 0 if ($@); 394 | } else { 395 | $fancymenu = 0; 396 | } 397 | 398 | if ($fancymenu == 1) { 399 | #use strict; 400 | 401 | # This is the shortcut... 402 | if ($shortcut == 1 && 1 == scalar keys %link_hash) { 403 | my ($url) = each %link_hash; 404 | $url = &sanitizeuri($url); 405 | if ($urlviewcommand =~ m/%s/) { 406 | $urlviewcommand =~ s/%s/'$url'/g; 407 | } else { 408 | $urlviewcommand .= " $url"; 409 | } 410 | system $urlviewcommand; 411 | exit 0; 412 | } 413 | 414 | # Curses support really REALLY wants to own STDIN 415 | close(STDIN); 416 | open(STDIN,"/dev/tty"); # looks like a hack, smells like a hack... 417 | 418 | my $cui = new Curses::UI( 419 | -color_support => 1, 420 | -clear_on_exit => 1 421 | ); 422 | my $wrapwidth = $cui->width() - 2; 423 | my %listhash; 424 | my @listvals; 425 | foreach $url (sort {$link_hash{$a} <=> $link_hash{$b} } keys(%link_hash)) { 426 | push(@listvals,$link_hash{$url}); 427 | $listhash{$link_hash{$url}} = $url; 428 | } 429 | 430 | my @menu = ( 431 | { -label => 'Keys: q=quit m=menu c=context g=top G=bottom', 432 | -submenu => [ 433 | { -label => 'About', -value => \&about }, 434 | { -label => 'Show Command', -value => \&show_command }, 435 | { -label => 'Exit ^Q', -value => \&exit_dialog } 436 | ], 437 | }, 438 | ); 439 | my $menu = $cui->add( 440 | 'menu','Menubar', 441 | -menu => \@menu, 442 | ); 443 | my $win1 = $cui->add( 444 | 'win1', 'Window', 445 | -border => 1, 446 | -y => 1, 447 | -bfg => 'green', 448 | ); 449 | sub about() 450 | { 451 | $cui->dialog( 452 | -message => "The extract_url Program, version $version" 453 | ); 454 | } 455 | sub show_command() 456 | { 457 | # This extra sprintf work is to ensure that the title 458 | # is fully displayed even if $urlviewcommand is short 459 | my $title = "The configured URL viewing command is:"; 460 | my $len = length($title); 461 | my $cmd = sprintf("%-${len}s",$urlviewcommand); 462 | $cui->dialog( 463 | -title => "The configured URL viewing command is:", 464 | -message => $cmd, 465 | ); 466 | } 467 | sub exit_dialog() 468 | { 469 | my $return = $cui->dialog( 470 | -message => "Do you really want to quit?", 471 | -buttons => ['yes', 'no'], 472 | ); 473 | exit(0) if $return; 474 | } 475 | 476 | my $listbox = $win1->add( 477 | 'mylistbox', 'Listbox', 478 | -values => \@listvals, 479 | -labels => \%listhash, 480 | ); 481 | $cui->set_binding(sub {$menu->focus()}, "\cX"); 482 | $cui->set_binding(sub {$menu->focus()}, "m"); 483 | $cui->set_binding( sub{exit}, "q" ); 484 | $cui->set_binding( \&exit_dialog , "\cQ"); 485 | $cui->set_binding( sub{exit} , "\cc"); 486 | $listbox->set_binding( 'option-last', "G"); 487 | $listbox->set_binding( 'option-first', "g"); 488 | sub madeselection { 489 | my $rawurl = $listhash{$listbox->get_active_value()}; 490 | my $url = &sanitizeuri($rawurl); 491 | my $command = $urlviewcommand; 492 | if ($command =~ m/%s/) { 493 | $command =~ s/%s/'$url'/g; 494 | } else { 495 | $command .= " $url"; 496 | } 497 | my $return = 1; 498 | if ($noreview != 1 && length($url) > ($cui->width()-2)) { 499 | $return = $cui->dialog( 500 | -message => &urlwrap(" ",$url,$cui->width()-8), 501 | -title => "Your Choice:", 502 | -buttons => ['ok', 'cancel'], 503 | ); 504 | } 505 | if ($return) { 506 | system $command; 507 | exit 0 if ($persist == 0); 508 | } 509 | } 510 | $cui->set_binding( \&madeselection, " "); 511 | $listbox->set_routine('option-select',\&madeselection); 512 | use Text::Wrap; 513 | sub contextual { 514 | my $rawurl = $listhash{$listbox->get_active_value()}; 515 | $Text::Wrap::columns = $cui->width()-8; 516 | if (exists($orig_text{$rawurl}) && length($orig_text{$rawurl}) > 1) { 517 | $cui->dialog( 518 | -message => wrap('','',$orig_text{$rawurl}), 519 | -title => "Context:", 520 | -buttons => ['ok'], 521 | ); 522 | } else { 523 | $cui->error( 524 | -message => "Sorry, I don't have any context for this link", 525 | -buttons => ['ok'], 526 | -bfg => 'red', 527 | -tfg => 'red', 528 | -fg => 'red', 529 | ); 530 | } 531 | } 532 | $cui->set_binding( \&contextual, "c"); 533 | 534 | $listbox->focus(); 535 | $cui->mainloop(); 536 | } else { 537 | # using this as a pass-thru to URLVIEW 538 | foreach my $value (sort {$link_hash{$a} <=> $link_hash{$b} } keys %link_hash) 539 | { 540 | print "$value\n"; 541 | } 542 | } 543 | -------------------------------------------------------------------------------- /.mutt/scripts/msmtpqueue/ChangeLog: -------------------------------------------------------------------------------- 1 | Version 0.5: 2 | - Added the msmtp-listqueue.sh script, contributed by Andreas Kneib. 3 | 4 | Version 0.4: 5 | - Frank Thieme sent the following improvements: 6 | - msmtp-runqueue.sh now uses a lock file to prevent two instances of the 7 | script from running simultaneously. 8 | - msmtp-enqueue.sh now checks if you're online, and calls msmtp-runqueue.sh 9 | immediately if this is the case. 10 | This functionality is commented out; you have to adapt the online check to 11 | your system before activating it. 12 | -------------------------------------------------------------------------------- /.mutt/scripts/msmtpqueue/README: -------------------------------------------------------------------------------- 1 | Scripts to queue mails and send them all at a later point with msmtp. 2 | 3 | These scripts may be useful for dialup connections: You can "send" all your 4 | mails offline (they will be queued by msmtp-enqueue.sh) and really send them 5 | all later when you are online (by running msmtp-runqueue.sh). 6 | 7 | 1. msmtp-enqueue.sh 8 | Let your MUA "send" mails with this script. 9 | It will store all mails in a queue directory for later delivery. 10 | This script will save two files for each mail: one contains the mail, the 11 | other one contains the command line for msmtp (including options and the 12 | recipients). Thus you can use all msmtp options with this script. 13 | 14 | Example (using Mutt): 15 | In your Mutt configuration file, replace 16 | set sendmail="/path/to/msmtp [options]" 17 | with 18 | set sendmail="/path/to/msmtp-enqueue.sh [options]" 19 | 20 | This script cannot detect errors in its command line or the msmtp 21 | configuration file. You won't see error messages before msmtp-runqueue.sh 22 | runs msmtp to send the mails. So test your msmtp configuration before using 23 | msmtp-enqueue.sh. 24 | 25 | 2. msmtp-runqueue.sh 26 | Run this script when you are online to send all mails in the queue 27 | directory. 28 | It will use the saved msmtp command line for each mail. 29 | Mails sent successfully will be deleted from the queue directory. 30 | Mails whose delivery failed will be left untouched; you may want to edit 31 | them, delete them by hand or simply run msmtp-runqueue.sh at a later time. 32 | 33 | 3. msmtp-listqueue.sh 34 | This script lists all the mails in the queue. 35 | 36 | Notes: 37 | - If you want to change the queue directory, change the value of QUEUEDIR 38 | in *all* scripts. 39 | - The scripts expect exclusive access to the queue directory. Don't save other 40 | files in it! 41 | - Each mail will be saved in a file called cc-yy-mm-hh.mm.ss[-x].mail where 42 | cc-yy-mm is the current date, hh.mm.ss is the current time, and x is a 43 | consecutive number only appended if you send more than one mail per second. 44 | The msmtp command line will be saved in a file called 45 | cc-yy-mm-hh.mm.ss[-x].msmtp (the same file name with ".msmtp" instead of 46 | ".mail"). 47 | 48 | These scripts are simple and dumb. Change them to meet your requirements! 49 | Please send any improvements you make to for inclusion in 50 | later versions. 51 | -------------------------------------------------------------------------------- /.mutt/scripts/msmtpqueue/msmtp-daemon.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | script=$HOME/.mutt/scripts/msmtpqueue/msmtp-runqueue.sh 4 | 5 | while sleep 30; do 6 | $script &> /dev/null 7 | done & 8 | -------------------------------------------------------------------------------- /.mutt/scripts/msmtpqueue/msmtp-enqueue.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | QUEUEDIR=$HOME/.msmtpqueue 4 | 5 | # Set secure permissions on created directories and files 6 | umask 077 7 | 8 | # Change to queue directory (create it if necessary) 9 | if [ ! -d "$QUEUEDIR" ]; then 10 | mkdir -p "$QUEUEDIR" || exit 1 11 | fi 12 | cd "$QUEUEDIR" || exit 1 13 | 14 | # Create new unique filenames of the form 15 | # MAILFILE: ccyy-mm-dd-hh.mm.ss[-x].mail 16 | # MSMTPFILE: ccyy-mm-dd-hh.mm.ss[-x].msmtp 17 | # where x is a consecutive number only appended if you send more than one 18 | # mail per second. 19 | BASE="`date +%Y-%m-%d-%H.%M.%S`" 20 | if [ -f "$BASE.mail" -o -f "$BASE.msmtp" ]; then 21 | TMP="$BASE" 22 | i=1 23 | while [ -f "$TMP-$i.mail" -o -f "$TMP-$i.msmtp" ]; do 24 | i=`expr $i + 1` 25 | done 26 | BASE="$BASE-$i" 27 | fi 28 | MAILFILE="$BASE.mail" 29 | MSMTPFILE="$BASE.msmtp" 30 | 31 | # Write command line to $MSMTPFILE 32 | echo "$@" > "$MSMTPFILE" || exit 1 33 | 34 | # Write the mail to $MAILFILE 35 | cat > "$MAILFILE" || exit 1 36 | 37 | # If we are online, run the queue immediately. 38 | # Replace the test with something suitable for your site. 39 | #ping -c 1 -w 2 SOME-IP-ADDRESS > /dev/null 40 | #if [ $? -eq 0 ]; then 41 | # msmtp-runqueue.sh > /dev/null & 42 | #fi 43 | 44 | exit 0 45 | -------------------------------------------------------------------------------- /.mutt/scripts/msmtpqueue/msmtp-listqueue.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | QUEUEDIR=$HOME/.msmtpqueue 4 | 5 | for i in $QUEUEDIR/*.mail; do 6 | egrep -s --colour -h '(^From:|^To:|^Subject:)' "$i" || echo "No mail in queue"; 7 | echo " " 8 | done 9 | -------------------------------------------------------------------------------- /.mutt/scripts/msmtpqueue/msmtp-runqueue.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | QUEUEDIR="$HOME/.msmtpqueue" 4 | LOCKFILE="$QUEUEDIR/.lock" 5 | MAXWAIT=120 6 | 7 | # wait for a lock that another instance has set 8 | SECONDS=0 9 | while [ -e "$LOCKFILE" -a "$SECONDS" -lt "$MAXWAIT" ]; do 10 | sleep 1 11 | SECONDS="`expr "$SECONDS" + 1`" 12 | done 13 | if [ -e "$LOCKFILE" ]; then 14 | echo "Cannot use $QUEUEDIR: waited $MAXWAIT seconds for" 15 | echo "lockfile $LOCKFILE to vanish, giving up." 16 | echo "If you are sure that no other instance of this script is" 17 | echo "running, then delete the lock file." 18 | exit 1 19 | fi 20 | 21 | # change into $QUEUEDIR 22 | cd "$QUEUEDIR" || exit 1 23 | 24 | # check for empty queuedir 25 | if [ "`echo *.mail`" = '*.mail' ]; then 26 | echo "No mails in $QUEUEDIR" 27 | exit 0 28 | fi 29 | 30 | # lock the $QUEUEDIR 31 | touch "$LOCKFILE" || exit 1 32 | 33 | # process all mails 34 | for MAILFILE in *.mail; do 35 | echo "*** Sending $MAILFILE..." 36 | MSMTPFILE="`echo $MAILFILE | sed -e 's/mail/msmtp/'`" 37 | if [ ! -f "$MSMTPFILE" ]; then 38 | echo "No corresponding file $MSMTPFILE found" 39 | echo "FAILURE" 40 | continue 41 | fi 42 | msmtp -d `cat "$MSMTPFILE"` < "$MAILFILE" 43 | if [ $? -eq 0 ]; then 44 | rm "$MAILFILE" "$MSMTPFILE" 45 | echo "$MAILFILE sent successfully" 46 | else 47 | echo "FAILURE" 48 | fi 49 | done 50 | 51 | # remove the lock 52 | rm -f "$LOCKFILE" 53 | 54 | exit 0 55 | -------------------------------------------------------------------------------- /.mutt/scripts/t-prot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if type t-prot &>/dev/null; then 3 | echo "set display_filter=\"t-prot $@\"" 4 | else 5 | echo "set" 6 | fi 7 | -------------------------------------------------------------------------------- /.mutt/scripts/theme: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | [ -f ~/.mutt/themes/$1 ] && { rm ~/.mutt/themes.default; ln -s ~/.mutt/themes/$1 ~/.mutt/themes.default; } 3 | -------------------------------------------------------------------------------- /.mutt/scripts/themes.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo ~/.mutt/themes/default 4 | exit 5 | 6 | if [[ $TERM =~ 256 ]]; then 7 | echo ~/.mutt/themes.256 8 | else 9 | echo ~/.mutt/themes.default 10 | fi 11 | -------------------------------------------------------------------------------- /.mutt/scripts/uncolor.sh: -------------------------------------------------------------------------------- 1 | rm uncolor; for file in colors.*; do cat $file |sed 's/^color/uncolor/' >> uncolor; done 2 | -------------------------------------------------------------------------------- /.mutt/scripts/varnames.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | ### 3 | # written 08 Aug 2006 by Rado S 4 | # 5 | # This script must be applied MANUALLY to all used config files: 6 | ### those separated by version as well as split up to be sourced from main file. 7 | ### it doesn't scan for "source" cmds to auto-convert them, but you can give 2 dirs, auto-convert all files. 8 | ### target-dir must exist for either dir or file as destination. 9 | # 10 | # This is a SIMPLE translation script that matches "set(SPC+varname)+" till EOL, 11 | # its primary goal is to help stable users, but tries to please dev-users with $ expansion too, so it CAN FAIL when: 12 | ### you use varnames in (extremly) exotic ways (rare, see below, or $var expansion outside of "set" cmd). 13 | ### "alternates" is not 1st var in set cmd. 14 | ### it processes "#" comments, so "set ..." there is changed, too, possibly false positives. 15 | ### comments on same line like "set ... # comment" are optionally processed: specify any 3rd arg. 16 | ### ==> you MUST re-check your config after execution for those cases and fix manually. 17 | # 18 | # You MAY try to apply it to SHELL-scripts which PRODUCE muttrc config, BUT this is NOT 100% SAFE: 19 | ### This means SHELL-scripts called before mutt to prepare config, or from within mutt in `` substitutions or "source ...|". 20 | ### It works only with complete muttrc "set" cmds, it fails if only parts of "set" args are `` subst'ed. 21 | # 22 | # It has SIMPLE string skipping code, but it's no 100% safe muttrc parser: 23 | ### it might fail or produce false positives for string values with many varying quotes per assignment (rare). 24 | 25 | use strict; 26 | 27 | my $CONVFILE= 'manual-vars'; ### location of conversion source file, originally copied from /List 28 | my $LINECONT= ':LINECONT:'; ### place-holder for \\\n line-continuation, must NOT appear naturally in muttrc, 29 | ### must NOT contain muttrc special chars like #=;\n or quote-chars 30 | my $PATCHFILE='/dev/null'; ### where the conversion list will be saved to be used with /Test script to patch init.h. 31 | 32 | my ($hits, $total, $changed) = (0,0, 0); 33 | my %trans; 34 | my $STOPCOMMENTS= (@ARGV < 3); 35 | 36 | sub replace($) { 37 | my ($match) = @_; 38 | my @tokens = split(/\b/,$match); 39 | my ($prev,$value); 40 | ($prev,$value) =('',''); 41 | 42 | ITEM: 43 | foreach $match (@tokens) { 44 | if ($match =~ /\W/) { 45 | if ($value =~ /=(["'`])/ ) { 46 | my $quote=$1 ; 47 | if ( $match =~ /$quote/ ) { 48 | $value=$match; 49 | ### necessary to avoid values being treated as keywords, remember it's RHS by keeping "=" when string not closed 50 | if ($STOPCOMMENTS && ($match =~ /$quote.*#/ )) { last ITEM; } 51 | ### necessary to avoid comments after "set" being treated as keywords 52 | } 53 | } else { 54 | $value=$match; 55 | if ($STOPCOMMENTS && ($match =~ /^[^=]*#/ )) { last ITEM; } 56 | ### necessary to avoid comments after "set" being treated as keywords, but ignore in strings 57 | } 58 | 59 | } elsif ((($value !~ /=/ ) && ($prev !~ /;/)) || ($prev =~ /\$$/ )) { 60 | $match =~ /^(no|inv)*(.*)$/; 61 | my ($ctrl,$stripped) = ($1,$2); 62 | if (exists($trans{$stripped})) { 63 | $hits++; if (!defined($ctrl)) { $ctrl='';} 64 | $match = $ctrl . $trans{$stripped}; 65 | } 66 | } # if 67 | $prev=$match; 68 | } # foreach 69 | $match = join('',@tokens); 70 | return $match; 71 | } # sub 72 | 73 | ### read whole files as single line 74 | undef $/; 75 | 76 | ### setup conversion table 77 | open(CONVLIST, "<$CONVFILE") || die("Can't open conversion file $CONVFILE."); 78 | my $TABLE = ; 79 | close(CONVLIST); 80 | 81 | my $prefix=''; 82 | 83 | ### for the patch 84 | open(TRANSLIST,">$PATCHFILE") || die "Can't open file $PATCHFILE to save translation list for init.h patch"; 85 | print TRANSLIST "====== unchanged vars ======\n"; 86 | 87 | ### construct trans-table 88 | my $line; 89 | LINE: 90 | foreach $line (split(/\n+/,$TABLE)) { 91 | if ($line =~ /^(\S+)/) { $prefix = $1; next LINE; } 92 | my (@pair) = split(/[\s(,)]+/, $line); ### drop meta chars like () from new name 93 | my ($src,$dst) = @pair[1..2]; 94 | if (!defined($dst)) { $dst='';} 95 | if ($dst =~ /-/) { $dst=''; } ### print STDERR "$src has only comment\n"; 96 | if (!$dst) { $dst = $src; } 97 | $dst =~ s,^(${prefix}_)+,,; ### no multi prefix 98 | $dst=$prefix.'_'.$dst; 99 | if ($dst ne $src) { $trans{$src}=$dst; } 100 | ### for the patch 101 | else { print TRANSLIST "$src\n";} 102 | } 103 | 104 | ### for the patch 105 | print TRANSLIST "\n====== now the conversions ======\n"; 106 | foreach my $item (sort keys %trans) { print TRANSLIST "$item : $trans{$item}\n"; } 107 | close(TRANSLIST); 108 | 109 | ### HERE BEGINS THE ACTUAL WORK ### 110 | 111 | if (@ARGV < 2) { die("Need destination file, will not replace files."); } 112 | 113 | my @SOURCES; 114 | my ($SRCFILE, $NEWFILE); 115 | my ($SRCDIR,$NEWDIR) = @ARGV; 116 | if (-d $SRCDIR) { 117 | if (! -d $NEWDIR) { die("When source is a dir, then destination must be dir, too!");} 118 | opendir(DIR, $SRCDIR); 119 | @SOURCES = grep { $_ !~ /^(\.\.?)$/ } readdir( DIR); 120 | closedir(DIR); 121 | $SRCDIR.="/"; 122 | $NEWDIR.="/"; 123 | } else { @SOURCES = ($SRCDIR); $SRCDIR='';} 124 | 125 | my $file; 126 | FILE: 127 | foreach $file (@SOURCES) { 128 | ($SRCFILE, $NEWFILE) = ("$SRCDIR$file","$NEWDIR"); 129 | 130 | ### now slurp it in. 131 | unless (open(SOURCE,"<$SRCFILE")) { warn("Can't open old config file $SRCFILE."); next FILE;} 132 | my $config = ; 133 | $config =~ s,\\\n, $LINECONT ,go; 134 | close(SOURCE); 135 | 136 | if (-d $NEWFILE) { my $tmp=$SRCFILE; $tmp=~s,^.*/,,; $NEWFILE.="/$tmp"; } 137 | $NEWFILE =~ s,//+,/,go; 138 | if (-s $NEWFILE) { warn("Destination file $NEWFILE must not exist, will not replace files."); next FILE;} 139 | 140 | ### special case: var becomes cmd. 141 | $hits= ($config =~ s/(set([ \t]| $LINECONT )+)(alternates)=?/$3 /gm ); 142 | 143 | ### now the _real_ deal 144 | $total = $hits + ($config =~ s/(\b(un|re)?set|toggle)([ \t]+[^\n]+)/$1 . replace($3)/gme ); 145 | 146 | ### changed type to plain boolean, no "ask-" 147 | $config =~ s,(pgp_autoinline=['"]*)ask-,$1,gm; 148 | 149 | ### save changes 150 | unless (open(TARGET,">$NEWFILE")) { warn("Can't open NEW config file $NEWFILE, does dir exist?"); next FILE ;} 151 | $config =~ s, $LINECONT ,\\\n,go; 152 | print TARGET $config; 153 | close(TARGET); 154 | 155 | printf STDERR "changed vars: %3s in checked lines: %3d in $NEWFILE\n", $hits, $total; 156 | 157 | $changed+=$hits; 158 | 159 | } # foreach SOURCES, FILE 160 | 161 | if ($changed) { 162 | print STDERR "Total $changed changes. Please verify excess or missing changes!!! Use this cmd:\n"; 163 | if ($#SOURCES < 1) { 164 | print STDERR "\tsdiff $SRCFILE $NEWFILE| less +'/ \\| '\n"; 165 | } else { 166 | print STDERR "\tdiff -r $SRCDIR $NEWDIR| less +'/^diff.*'\n"; 167 | } 168 | } 169 | 170 | ### EOF 171 | -------------------------------------------------------------------------------- /.mutt/signatures/angel: -------------------------------------------------------------------------------- 1 | Angel Olivera 2 | aolivera@gmail.com 3 | +1-415-754-3642 4 | -------------------------------------------------------------------------------- /.mutt/signatures/angel.informal: -------------------------------------------------------------------------------- 1 | Angel 2 | -------------------------------------------------------------------------------- /.mutt/signatures/angelo: -------------------------------------------------------------------------------- 1 | Angelo 2 | -------------------------------------------------------------------------------- /.mutt/signatures/angelo.ncomputing: -------------------------------------------------------------------------------- 1 | Angelo Olivera 2 | NComputing, Inc. 3 | +1-650-517-5669 4 | 5 | -------------------------------------------------------------------------------- /.mutt/signatures/test: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /.mutt/sourced/.macros.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/sourced/.macros.swp -------------------------------------------------------------------------------- /.mutt/sourced/.mailboxes.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/sourced/.mailboxes.swp -------------------------------------------------------------------------------- /.mutt/sourced/aliases: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.mutt/aliases 3 | # 4 | # Command alias : 5 | # Syntax: alias 6 | # :=
{,
} 7 | # Attention: !!! No mutt comments in the alias lines !!! 8 | 9 | alias nc-dev hubert, grzegorz, ziemowit 10 | alias nc-support mirko, andreas, alexander 11 | 12 | # ~/bin/muttquery.py ncomputing nc-company | awk '/@/{c=$2; for(i=3; i<=NF; i++) c=c" "$i; print c" <"$1">"}' | while read c; do n=${c%% *}; echo alias $n:l \"$c\"; done >> aliases 13 | alias alessio "Alessio Sangalli " 14 | alias alexander "Alexander Nagy " 15 | alias andreas "Andreas Loy " 16 | alias andy "Andy Bray " 17 | alias bart "Bart Yeh " 18 | alias bill "Bill Platt " 19 | alias byran "Byran Longmire " 20 | alias grzegorz "Grzegorz Zajac " 21 | alias hubert "Hubert Gburzynski " 22 | alias jay "Jay Son " 23 | alias kathrin "Kathrin Maier " 24 | alias klaus "Klaus Maier " 25 | alias mirko "Mirko Lasarz " 26 | alias randy "Randy Watson " 27 | alias ruy "Ruy Cesar " 28 | alias ziemowit "Ziemowit Zglinski " 29 | 30 | -------------------------------------------------------------------------------- /.mutt/sourced/autoview: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Tell mutt which MIME types to auto-view 4 | # 5 | 6 | auto_view application/zip 7 | auto_view application/x-gzip 8 | auto_view application/x-gunzip 9 | auto_view application/pgp-signature 10 | auto_view application/pgp 11 | auto_view application/octet-stream 12 | auto_view application/x-zip-compressed 13 | auto_view application/vnd.ms-powerpoint 14 | auto_view application/vnd.ms-excel 15 | auto_view application/x-arj-compressed 16 | auto_view application/x-tar-gz 17 | auto_view application/ms-tnef 18 | auto_view application/x-perl 19 | auto_view application/x-sh 20 | auto_view application/x-tcl 21 | auto_view application/x-delphi-source 22 | auto_view application/emacs-lisp 23 | auto_view application/msword 24 | auto_view application/pdf 25 | auto_view text/x-patch 26 | auto_view text/html 27 | auto_view text/HTML 28 | auto_view text/x-vcard 29 | auto_view text/x-script.elisp 30 | auto_view text/x-lisp 31 | auto_view text/x-diff 32 | # auto_view image/* 33 | -------------------------------------------------------------------------------- /.mutt/sourced/bindings: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Keyboard bindings for mutt. 4 | # 5 | 6 | # Generic key bindings. 7 | bind generic "\e<" first-entry 8 | bind generic "\e>" last-entry 9 | bind generic "<" first-entry 10 | bind generic ">" last-entry 11 | bind generic first-entry 12 | bind generic last-entry 13 | bind generic previous-entry 14 | bind generic next-entry 15 | bind index q noop 16 | bind pager Q noop 17 | bind generic,pager q exit 18 | 19 | #bind generic previous-new 20 | 21 | # Specific key bindings. 22 | bind index '\ep' previous-thread 23 | bind index '\en' next-thread 24 | bind index "x" noop 25 | bind index "\ex" quit 26 | bind index "\Cxo" change-folder 27 | bind index "\Cxb" change-folder 28 | bind index "\Cx\Cf" change-folder 29 | # bind index next-unread 30 | # bind index "G" imap-fetch-mail 31 | bind editor "\C?" backspace 32 | bind alias " " tag-entry 33 | bind alias "\r" select-entry 34 | bind attach "v" select-entry 35 | bind compose "v" view-attach 36 | bind pager "\e<" top 37 | bind pager "\e>" bottom 38 | bind pager "<" top 39 | bind pager ">" bottom 40 | bind pager top 41 | bind pager bottom 42 | bind pager "{" previous-thread 43 | bind pager "}" next-thread 44 | bind pager previous-line 45 | bind pager next-line 46 | bind pager previous-undeleted 47 | bind pager next-undeleted 48 | bind pager "t" display-toggle-weed 49 | bind pager "x" noop 50 | bind pager "\ex" exit 51 | bind pager "\Cxo" change-folder 52 | bind pager "\Cxb" change-folder 53 | bind pager "\Cx\Cf" change-folder 54 | # bind pager t reply 55 | # bind index t reply 56 | # 57 | # Sidebar 58 | # bind index \CP sidebar-prev 59 | # bind index \CN sidebar-next 60 | # bind index \CO sidebar-open 61 | # bind pager \CP sidebar-prev 62 | # bind pager \CN sidebar-next 63 | # bind pager \CO sidebar-open 64 | # bind pager sidebar-open 65 | # bind index B bounce-message 66 | # bind index '{' sidebar-prev 67 | # bind index '}' sidebar-next 68 | # bind index '+' sidebar-open 69 | # bind pager '{' sidebar-prev 70 | # bind pager '}' sidebar-next 71 | # bind pager '+' sidebar-open 72 | 73 | bind editor complete-query 74 | bind pager j next-line 75 | bind pager k previous-line 76 | bind pager [ half-up 77 | bind pager ] half-down 78 | bind pager { previous-page 79 | bind pager } next-page 80 | bind generic { previous-page 81 | bind generic } next-page 82 | 83 | bind browser next-page 84 | 85 | bind index,pager ,C next-unread-mailbox 86 | -------------------------------------------------------------------------------- /.mutt/sourced/composing: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Composing & sending 4 | # 5 | 6 | set mime_forward # Forward message as MIME attachments. 7 | unset reply_self 8 | set fast_reply 9 | # Spell checking with http://www.vim.org/scripts/script.php?script_id=195 10 | # set editor="vim \"+normal \\\\ec\" +/^$/" 11 | # superceeded by inserting mail-specific settings into mail file format definition 12 | # set editor="/usr/bin/vim -s ~/.mutt/vim/commands -u ~/.mutt/vim/vimrc" 13 | set editor="/usr/bin/vim -s ~/.mutt/vim/commands" 14 | set edit_headers # Permit editting of message headers 15 | set sendmail_wait=-1 # Don't wait around for sendmail. 16 | #set sendmail="$HOME/.mutt/scripts/msmtpqueue/msmtp-enqueue.sh" # Use msmtp 17 | #set sendmail="/usr/bin/msmtp" # Use msmtp 18 | set signature="~/.signature" 19 | # set dotlock_program=/usr/bin/mutt_dotlock 20 | # Recommended crap from msmtp man page that I don't need. 21 | # set use_from=yes 22 | # set realname="redondos--" 23 | # set from=redondos@gmail.com 24 | # set envelope_from=yes 25 | -------------------------------------------------------------------------------- /.mutt/sourced/display: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Display settings 4 | # 5 | 6 | push # Show version at startup 7 | # set ascii_chars # Fixes ugly arrows 8 | set sort=date # Sort by threads 9 | set sort_aux=date-received # Secondary sorting method 10 | set pager_index_lines=15 # 15 lines assigned to message list when viewing one 11 | set my_pager_index_lines=pager_index_lines 12 | set read_inc=25 # Read counter ticks every 100 msgs. 13 | set write_inc=25 # Write counter ticks every 100 msgs. 14 | set pager_stop # Don't skip msgs on next page. 15 | unset menu_move_off # Don't let last items of menus scroll up past the bottom of the screen. 16 | set menu_scroll # Scroll line by line when reaching end of page. 17 | set menu_context=5 # Lines of context 18 | set pager_context=1 # Lines of context 19 | unset markers # Add a '+' marker to wrapped lines. 20 | # auto_view * 21 | mime_lookup application/octet-stream # See if it is really the correct MIME type, otherwise change it. 22 | mime_lookup text/plain # See if it is really the correct MIME type, otherwise change it. 23 | alternative_order text/plain text/html 24 | set ignore_list_reply_to 25 | # Set t-prot display_filter if exists 26 | set my_tprot='-cemt -M=mutt' 27 | `~/.mutt/scripts/t-prot.sh \$my_tprot` 28 | set assumed_charset=iso-8859-1 29 | 30 | # set date_format="!%a, %d %b, %Y at %H:%M:%S %Z" 31 | # set date_format="%a, %b %d %Y %H:%M" 32 | # set date_format="%a, %d/%b/%Y %H:%M" 33 | set date_format="%a %d.%b.%y %H:%M" 34 | 35 | unset wait_key # Don't prompt for a key press after shell-escape and the like. 36 | 37 | # index_format: now in folder-hooks 38 | # Default 39 | # 1447 sL Feb 11 To mutt-users@m (3.8K) Changing the default cursor position in vim 40 | # set index_format="%4C %Z %{%b %d} %-15.15F (%?l?%4l&%4c?) %s" 41 | 42 | # 1447 sL Sun, Feb 11 2007 23:19 Greg Tees (3.8K) Changing the default cursor position in vim 43 | # set index_format="%4C %Z %D %-22.22F (%?l?%4l&%4c?) %s" 44 | 45 | # 1447 sL [3.8K] Sun, Feb 11 2007 23:19 Greg Tees Changing the default cursor position in vim 46 | # set index_format="%4C %Z [%?l?%4l&%4c?] %D %20.20F %s" 47 | 48 | # set folder_format="%2C %8s %d %t %8N %f" 49 | set folder_format="%2C %s %d %t %2N %f" 50 | 51 | ## Sidebar 52 | # set sidebar_width=50 53 | # set sidebar_visible=yes 54 | # # set sidebar_position=1 55 | # set sidebar_delim=| 56 | 57 | -------------------------------------------------------------------------------- /.mutt/sourced/fcc-hooks: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Fcc hooks, everything else goes to =Sent 4 | # 5 | 6 | # Lists 7 | fcc-save-hook '~t lug-list@lugmen*' =Lists/lugmen_lug-list 8 | fcc-save-hook '~t lug-devel@lugmen*' =Lists/lugmen_lug-devel 9 | fcc-save-hook '~t lug-org@lugmen*' =Lists/lugmen_lug-org 10 | fcc-save-hook '~t lug-wireless@lugmen*' =Lists/lugmen_lug-wireless 11 | fcc-save-hook '~t lug-noticias@lugmen*' =Lists/lugmen_lug-noticias 12 | fcc-save-hook '~t lug@listas\.fi\.uba*' =Lists/lugfi_lug 13 | fcc-save-hook '~t lug@org\.lug\.fi\.uba*' =Lists/lugfi_org 14 | fcc-save-hook '~t gnupg-users*' =Lists/gnupg-users 15 | fcc-save-hook '~t fetchmail-users*' =Lists/fetchmail-users 16 | fcc-save-hook '~t bcm43xx*' =Lists/bcm43xx 17 | fcc-save-hook '~t asterisk-users*' =Lists/asterisk-users 18 | fcc-save-hook '~t grulic*' =Lists/grulic 19 | fcc-save-hook '~t ubuntu-users*' =Lists/ubuntu-users 20 | fcc-save-hook '~t uucpssh*' =Lists/uucpssh 21 | fcc-save-hook '~t xfce-goodies*' =Lists/xfce-goodies 22 | fcc-save-hook '~t xfce@xfce\.org' =Lists/xfce 23 | 24 | # People 25 | fcc-save-hook '~t redondos*' =People/redondos 26 | fcc-save-hook '~t aolivera*' =People/redondos 27 | # fcc-save-hook .* =Sent 28 | # folder-hook . 'set record="^"' 29 | #fcc-save-hook . '^' 30 | -------------------------------------------------------------------------------- /.mutt/sourced/folder-hooks: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # folder hooks 4 | # 5 | 6 | ############################################################################### 7 | # 8 | # $folder, $postponed 9 | # 10 | ############################################################################### 11 | 12 | folder-hook 'imaps://aolivera@imap.gmail.com' 'set folder=imaps://aolivera@imap.gmail.com/ postponed==[Gmail]/Drafts' 13 | folder-hook 'imaps://redondos@imap.gmail.com' 'set folder=imaps://redondos@imap.gmail.com/ postponed==[Gmail]/Drafts' 14 | folder-hook imaps://angelo.olivera@10gen.com@imap.gmail.com 'set folder="imaps://angelo.olivera@10gen.com@imap.gmail.com" postponed==[Gmail]/Drafts' 15 | 16 | ############################################################################### 17 | # 18 | # "From" header manipulation ## 19 | # 20 | ############################################################################### 21 | # I keep forgetting how this works, so I'm going to have to document it. 22 | 23 | # The From header is first selected here. This is the default. 24 | # Only when replying from inside a "lists.*" folder it uses the same 25 | # address but with realname. 26 | # This is overriden for "lugmen.*" 27 | # The default account send-hook had to be disabled due to its higher 28 | # precedence. 29 | # A send-hook selects the From header only when replying to a message 30 | # that was sent to a different account, namely, all the "aolivera" ones. 31 | 32 | # Old behavior. Now unwanted, since setting my_hdr From screws reverse_name and 33 | # such. So, the current default is to use $from, and to unset it everywhere the 34 | # from address should be changed. 35 | # folder-hook . 'my_hdr From: redondos ' 36 | 37 | folder-hook imaps://angelo.olivera@10gen.com@imap.gmail.com 'unset from; my_hdr From: Angelo Olivera ' 38 | folder-hook imaps://aolivera@imap.gmail.com 'unset from; my_hdr From: Angelo Olivera ' 39 | folder-hook 'imaps://redondos@imap.gmail.com' 'unset my_hdr From; set from="redondos "; set realname="redondos"' 40 | folder-hook .(lists|ml).* 'unset from; my_hdr From: Angelo Olivera ' 41 | folder-hook .(lists|ml).mutt 'unset from; my_hdr From: Angelo Olivera ' 42 | folder-hook .(lists|ml).zsh 'unset from; my_hdr From: Angelo Olivera ' 43 | folder-hook .(lists|ml).vim 'unset from; my_hdr From: Angelo Olivera ' 44 | folder-hook .(lists|ml).lugfi 'unset from; my_hdr From: Angel Olivera ' 45 | folder-hook .(lists|ml).lugfi_(joda|bar) 'unset from; my_hdr From: Angel Olivera ' 46 | folder-hook .(lists|ml).lugmen 'unset from; my_hdr From: redondos ' 47 | folder-hook .(lists|ml).lugro 'unset from; my_hdr From: Angel Olivera ' 48 | folder-hook .(lists|ml).squid 'unset from; my_hdr From: Angelo Olivera ' 49 | folder-hook .(lists|ml).pam-mount 'unset from; my_hdr From: Angelo Olivera ' 50 | folder-hook .(lists|ml).lugmen_lug-clasificados 'unset from; my_hdr From: Angel Olivera ' 51 | folder-hook .(lists|ml).milug 'unset from; my_hdr From: Angel Olivera ' 52 | folder-hook .(lists|ml).lugmen_flisol.* 'unset from; my_hdr From: Angel Olivera ' 53 | folder-hook .people.NComputing 'unset from; my_hdr From: Angelo Olivera "' 54 | folder-hook .sfuwh 'unset from; my_hdr From: Angelo Olivera "' 55 | # folder-hook .people.NComputing 'unset from; my_hdr From: Angelo Olivera ' 56 | 57 | ############################################################################### 58 | # 59 | # Outgoing server 60 | # 61 | ############################################################################### 62 | 63 | #folder-hook . 'unset sendmail' 64 | #folder-hook . 'set smtp_url=@smtp.gmail.com:587' 65 | #folder-hook . 'set smtp_pass=`/usr/bin/security -q find-internet-password -g -a aolivera@gmail.com -s imap.gmail.com -w`' 66 | #folder-hook . 'set sendmail="$HOME/.mutt/scripts/msmtpq/msmtpq"' 67 | # folder-hook . 'set sendmail="/usr/bin/msmtp"' 68 | #folder-hook .(lists|ml) 'set sendmail="/usr/sbin/sendmail -oem -oi"' 69 | # Not needed, since using redondos@twat.com.ar now instead of gmail 70 | # folder-hook =lists.mutt 'set sendmail="/usr/bin/msmtp -C /home/redondos/.msmtprc.sendmail --domain=twat.com.ar"' 71 | 72 | ############################################################################### 73 | # 74 | # "To" header manipulation 75 | # 76 | ############################################################################### 77 | 78 | folder-hook . 'unmy_hdr To' 79 | folder-hook .(lists|ml).musicbrainz-users 'my_hdr To: musicbrainz-users@lists.musicbrainz.org' 80 | 81 | ############################################################################### 82 | # 83 | # spam 84 | # 85 | ############################################################################### 86 | 87 | folder-hook 'imaps://.*imap.gmail.com' 'macro index,pager S "=[Gmail]/Spam" "mark message as spam" 88 | folder-hook 'imaps://.*imap.gmail.com/.Gmail./Spam' 'macro index,pager H "=!" "mark message as ham" 89 | 90 | ############################################################################### 91 | # 92 | # $record 93 | # 94 | ############################################################################### 95 | 96 | # Deprecated since making Gmail send copies of my messages to myself 97 | # folder-hook . set record="^" 98 | # folder-hook /var/mail/redondos 'set record==Sent' 99 | # folder-hook !$ 'set record==Sent' 100 | # folder-hook .Search 'set record==Sent' 101 | # folder-hook .system 'set record==Sent' 102 | # folder-hook .newsletters 'set record==Sent' 103 | # folder-hook .lists.mutt 'set record==Sent' 104 | # folder-hook .lists.lugro 'set record==Sent' 105 | # # folder-hook =lists.mutt 'unset record' 106 | # # folder-hook +(mailinglists|trash)|.maildir 'set record=+sent-mail' 107 | 108 | folder-hook . 'set record==Sent' 109 | folder-hook 'imaps://.*(twat|lugmen)' 'set record==Sent' 110 | folder-hook 'imaps://.*@imap.gmail.com' unset record 111 | folder-hook 'imaps://.*ncomputing.com' set record="^" 112 | folder-hook .*NComputing set record="^" 113 | folder-hook .(lists|ml) set record='=[Gmail]/Sent\ Mail' 114 | 115 | ############################################################################### 116 | # 117 | # $sort 118 | # 119 | ############################################################################### 120 | 121 | folder-hook . 'set sort=threads; set sort_aux=date-received' 122 | folder-hook '!' 'set sort=date-sent' 123 | folder-hook '.*INBOX' 'set sort=date-sent' 124 | folder-hook .Sent 'set sort=date-sent' 125 | folder-hook .newsletters 'set sort=date-sent' 126 | folder-hook .people 'set sort=date-sent' 127 | folder-hook .*omputing.* 'set sort=threads; set sort_aux=last-date-received' 128 | folder-hook ".*All Mail" 'set sort=threads; set sort_aux=last-date-received' 129 | 130 | ############################################################################### 131 | # 132 | # $mark_old 133 | # 134 | ############################################################################### 135 | 136 | folder-hook . 'set mark_old' 137 | folder-hook '!' 'unset mark_old' 138 | folder-hook '.*INBOX' 'unset mark_old' 139 | folder-hook '.*All.Mail' 'unset mark_old' 140 | 141 | ############################################################################### 142 | # 143 | # $index_format 144 | # 145 | ############################################################################### 146 | 147 | folder-hook . source ~/.mutt/sourced/macros.index_format-short 148 | folder-hook . 'set index_format="%4C %Z [%?l?%4l&%4c?] %D %20.20F %s" 149 | folder-hook .Spam 'set index_format="%4C %Z [%?l?%4l&%4c?] %D %?H?[%H] &[Nonspam] ? %22.22F %s"' 150 | # folder-hook .lists 'set index_format="%4C %Z [%?l?%4l&%4c?] %D %e/%E %22.22F %s"' 151 | folder-hook .(lists|ml-) 'set index_format="%4C %Z [%?l?%4l&%4c?] %D %?e?[%3e/%-3E] ? %22.22n %s"' 152 | 153 | ############################################################################### 154 | # 155 | # 156 | # 157 | ############################################################################### 158 | 159 | folder-hook . 'set collapse_unread' 160 | folder-hook .(lists|ml) 'unset collapse_unread; push ' # Collapse all threads 161 | 162 | ############################################################################### 163 | # 164 | # $trash 165 | # 166 | ############################################################################### 167 | 168 | #folder-hook 'imaps://.*twat' 'set trash==Trash' 169 | #folder-hook 'imaps://.*lugmen' 'set trash==Trash' 170 | #folder-hook 'imaps://aolivera@imap.gmail.com' 'unset trash' 171 | #folder-hook 'imaps://redondos@imap.gmail.com' 'unset trash' 172 | 173 | # folder-hook .Trash 'macro index d ' 174 | # folder-hook . 'macro index d =Trash!~D' 175 | # folder-hook . 'macro index d =Trash' 176 | 177 | ############################################################################### 178 | # 179 | # Options 180 | # 181 | ############################################################################### 182 | 183 | # This is for mailing lists that manipulate the Reply-To header, 184 | # Made useless by ignore_list_reply_to 185 | # folder-hook . 'bind index r reply' 186 | # folder-hook . 'bind pager r reply' 187 | # folder-hook =list.* 'bind index r list-reply' 188 | # folder-hook =list.* 'bind pager r list-reply' 189 | 190 | ############################################################################### 191 | # 192 | # $attribution 193 | # 194 | ############################################################################### 195 | 196 | # folder-hook .*lists\.lugmen.* 'set attribution="%n dijo:"' # Works fine 197 | 198 | ############################################################################### 199 | # 200 | # Purge old mail 201 | # 202 | ############################################################################### 203 | 204 | # folder-hook .(lists|ml).arch 'push ~r>1m' 205 | # folder-hook .(lists|ml).asterisk 'push ~r>1m' 206 | # folder-hook .(lists|ml).mutt 'push ~r>3m' 207 | 208 | ############################################################################### 209 | # 210 | # $pgp_* 211 | # 212 | ############################################################################### 213 | 214 | folder-hook . 'set crypt_verify_sig' 215 | folder-hook .(lists|ml) 'unset crypt_verify_sig' 216 | folder-hook . 'unset pgp_autosign' 217 | folder-hook .(lists|ml) 'set pgp_autosign' 218 | folder-hook . 'unset pgp_autoinline' 219 | folder-hook .(lists|ml).lugfi 'set pgp_autoinline' 220 | folder-hook .people.NComputing 'set pgp_autosign' 221 | folder-hook .NComputing 'set pgp_autosign' 222 | 223 | ############################################################################### 224 | # 225 | # color 226 | # 227 | ############################################################################### 228 | 229 | folder-hook . uncolor index ~l 230 | folder-hook 'imaps://.*ncomputing.com' color index white default ~l 231 | folder-hook .*NComputing color index white default ~l 232 | 233 | folder-hook 'imaps://.*ncomputing.com' color index color39 color232 ~l 234 | folder-hook .*NComputing color index color39 color232 ~l 235 | -------------------------------------------------------------------------------- /.mutt/sourced/folder-hooks.maildir: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # folder hooks, everything goes to the current folder except for items in the inbox 4 | # 5 | 6 | folder-hook . 'set record="^"' 7 | folder-hook . 'macro index d "=Trash"' 8 | folder-hook =Trash 'macro index d ' 9 | folder-hook ~/Maildir$ 'set record==Sent"' 10 | folder-hook /var/mail/redondos 'set record==Sent"' 11 | # folder-hook +(mailinglists|trash)|.maildir 'set record=+sent-mail' 12 | -------------------------------------------------------------------------------- /.mutt/sourced/goobookrc: -------------------------------------------------------------------------------- 1 | # "#" or ";" at the start of a line makes it a comment. 2 | [DEFAULT] 3 | # If not given here, email and password is taken from .netrc using 4 | # machine google.com 5 | email: aolivera@gmail.com 6 | ;password: top secret 7 | # or if you want to get the password from a commmand: 8 | passwordeval: /usr/bin/security -q find-internet-password -g -a aolivera@gmail.com -s imap.gmail.com -w 9 | # The following are optional, defaults are shown 10 | ;cache_filename: ~/.goobook_cache 11 | ;cache_expiry_hours: 24 12 | ;filter_groupless_contacts: yes 13 | # New contacts will be added to this group in addition to "My Contacts" 14 | # Note that the group has to already exist on google or an error will occur. 15 | # One use for this is to add new contacts to an "Unsorted" group, which can 16 | # be sorted easier than all of "My Contacts". 17 | ;default_group: 18 | 19 | [10gen] 20 | email: angelo.olivera@10gen.com 21 | passwordeval: /usr/bin/security -q find-internet-password -g -a angelo.olivera@10gen.com -s imap.gmail.com -w 22 | -------------------------------------------------------------------------------- /.mutt/sourced/gpg: -------------------------------------------------------------------------------- 1 | # GnuPG config 2 | set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" 3 | set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" 4 | set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" 5 | set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 6 | set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" 7 | set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xCDB98F72 -- -r %r -- %f" 8 | set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xCDB98F72 -- -r %r -- %f" 9 | set pgp_import_command="gpg --no-verbose --import -v %f" 10 | set pgp_export_command="gpg --no-verbose --export --armor %r" 11 | set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" 12 | set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 13 | set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 14 | set pgp_autosign=yes 15 | set pgp_sign_as=0xCDB98F72 16 | set pgp_replyencrypt=yes 17 | set pgp_timeout=3600 18 | set pgp_good_sign="^gpg: Good signature from" 19 | # set pgp_use_gpg_agent=yes 20 | -------------------------------------------------------------------------------- /.mutt/sourced/headers: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Configure header displays. 4 | # 5 | 6 | # Ignore all headers 7 | ignore * 8 | 9 | # Then un-ignore the ones we want to see 10 | unignore From: 11 | unignore To: 12 | unignore Reply-To: 13 | unignore Mail-Followup-To: 14 | unignore Subject: 15 | unignore Date: 16 | unignore Organization: 17 | unignore Newsgroups: 18 | unignore CC: 19 | unignore BCC: 20 | unignore Message-ID: 21 | unignore X-Mailer: 22 | unignore User-Agent: 23 | unignore X-Junked-Because: 24 | unignore X-SpamProbe: 25 | unignore X-Virus-hagbard: 26 | unignore X-Spam-Status 27 | unignore X-Grouchosity 28 | unignore X-Bogosity 29 | 30 | # Sort order 31 | hdr_order From: Subject: To: CC: BCC: Reply-To: Mail-Followup-To: Date: Organization: User-Agent: X-Mailer: Message-Id: In-Reply-To: References: X-Spam-Status: X-Grouchosity: X-Bogosity: 32 | 33 | # Also cache these ones 34 | set imap_headers="Message-ID In-Reply-To References X-Bogosity X-Spam-Status X-Grouchosity" 35 | -------------------------------------------------------------------------------- /.mutt/sourced/identity: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Account setup 4 | # 5 | 6 | ### Alternates 7 | alternates "redondos@gmail.com|aolivera@gmail.com|redondos@redondos.biz|\ 8 | redondos@myrealbox.com|redondos@lugmen.org.ar|aolivera@hotpop.com|\ 9 | redondos@twat.com.ar|aolivera@twat.com.ar|redondos@aolivera.com.ar|\ 10 | aolivera@aolivera.com.ar|angelo@nc-company.com|a(ngelo|olivera)@ncomputing.com|\ 11 | olivera@telmate.com|aolivera@telmate.com|\ 12 | aolivera@mongodb.com|aolivera@10gen.com|angelo.olivera@mongodb.com|angelo.olivera@10gen.com" 13 | set reverse_name=yes 14 | set reverse_realname=no 15 | 16 | ### Folders 17 | set spoolfile="/dev/null" 18 | set header_cache=~/.mutt/cache/headers 19 | set message_cachedir=~/.mutt/cache/messages 20 | set my_mask=$mask 21 | # set mask="!^\.[^.]" 22 | 23 | ### Options 24 | set beep_new 25 | set query_command="goobook -c ~/.mutt/sourced/goobookrc query" 26 | macro index,pager A "goobook -c ~/.mutt/sourced/goobookrc add" "add the sender address to Google contacts" 27 | 28 | 29 | ### IMAP 30 | #unset imap_passive 31 | set maildir_header_cache_verify=yes 32 | set maildir_trash=yes 33 | set imap_idle=yes # May cause FAM to hog the CPU when 34 | # monitoring maildirs with thousands of messages. 35 | set mail_check=120 36 | set imap_keepalive=300 37 | set timeout=10 38 | unset imap_check_subscribed 39 | 40 | ### IMAP accounts 41 | 42 | unset record 43 | set folder="imaps://angelo.olivera@10gen.com@imap.gmail.com" 44 | set spoolfile="imaps://angelo.olivera@10gen.com@imap.gmail.com" 45 | 46 | account-hook imaps://angelo.olivera@10gen.com@imap.gmail.com 'set imap_user=angelo.olivera@10gen.com imap_pass="`/usr/bin/security -q find-internet-password -g -a angelo.olivera@10gen.com -s imap.gmail.com -w`" 47 | account-hook imaps://angelo.olivera@10gen.com@imap.gmail.com 'set smtp_url=smtp://angelo.olivera@10gen.com@smtp.gmail.com:587 smtp_pass="`/usr/bin/security -q find-internet-password -g -a angelo.olivera@10gen.com -s imap.gmail.com -w`" 48 | 49 | account-hook imaps://aolivera@imap.gmail.com 'set imap_user=aolivera@gmail.com imap_pass="`/usr/bin/security -q find-internet-password -g -a aolivera@gmail.com -s imap.gmail.com -w`" 50 | account-hook imaps://aolivera@imap.gmail.com 'set smtp_url=smtp://aolivera@smtp.gmail.com:587 smtp_pass="`/usr/bin/security -q find-internet-password -g -a aolivera@gmail.com -s imap.gmail.com -w`" 51 | 52 | # vi: ft=muttrc 53 | -------------------------------------------------------------------------------- /.mutt/sourced/lists: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # List of mailing lists I'm subscribed to. 4 | # 5 | 6 | lists bcm43xx 7 | lists or-announce 8 | lists or-talk 9 | lists sdhci-devel@list.drzeus.cx 10 | lists sdhci-devel@lists.sourceforge.net 11 | lists xfce-goodies-dev 12 | lists xfce@xfce.org 13 | lists yafc-user 14 | subscribe anillo-lst 15 | subscribe arch-ports 16 | subscribe arch@archlinux.org 17 | subscribe asterisk-users 18 | subscribe awesome 19 | subscribe bar@lug.fi.uba.ar 20 | subscribe bluez-users 21 | subscribe dwm 22 | subscribe fetchmail-friends 23 | subscribe gnupg-users 24 | subscribe gnupg-users 25 | subscribe grulic 26 | subscribe gtkpod-devel 27 | subscribe gtkpod-questions 28 | subscribe joda@lug.fi.uba.ar 29 | subscribe jornadas-2006 30 | subscribe jornadas2006 31 | subscribe linux-thinkpad 32 | subscribe lists 33 | subscribe lug-clasificados 34 | subscribe lug-devel@lugmen.org.ar 35 | subscribe lug-electronica 36 | subscribe lug-taliban 37 | subscribe lug-grouchesque@lugmen.org.ar 38 | subscribe lug-install@lugmen.org.ar 39 | subscribe lug-list@lugmen.org.ar 40 | subscribe lug-noticias@lugmen.org.ar 41 | subscribe lug-novatos@lugmen.org.ar 42 | subscribe lug-org-private@lugmen.org.ar 43 | subscribe lug-org@lugmen.org.ar 44 | subscribe lug-p10n 45 | subscribe lug-server@lugmen.org.ar 46 | subscribe lug-website@lugmen.org.ar 47 | subscribe lug-wireless 48 | subscribe lug-wireless@lugmen.org.ar 49 | subscribe lug@listas.fi.uba.ar 50 | subscribe lugro 51 | subscribe ml-milug 52 | subscribe msmtp-users 53 | subscribe musicbrainz-users 54 | subscribe mutt-announce 55 | subscribe mutt-dev 56 | subscribe mutt-users 57 | subscribe noticias@lug.fi.uba.ar 58 | subscribe org@lug.fi.uba.ar 59 | subscribe pacman-dev 60 | subscribe pam-mount-user 61 | subscribe postfix-users 62 | subscribe remind-fans@lists.whatexit.org 63 | subscribe solar 64 | subscribe squid-users 65 | subscribe synce-cvslog 66 | subscribe synce-users 67 | subscribe tur-users 68 | subscribe ubuntu-users 69 | subscribe uucpssh-users 70 | subscribe vim 71 | subscribe wireless-list@mendoza-wireless.net.ar 72 | subscribe wireless-org@mendoza-wireless.net.ar 73 | subscribe wmii@wmii.de 74 | subscribe zsh-users 75 | subscribe zsh-workers 76 | 77 | subscribe lts-dev 78 | subscribe tempest-dev 79 | -------------------------------------------------------------------------------- /.mutt/sourced/macros: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Macros for mutt. 4 | # 5 | 6 | set wait_key=no # Don't show the "Press any key to continue..." message. 7 | 8 | ## Fetchmail 9 | macro index,pager G 'ssh twat.com.ar fetchmail' 'awake fetchmail daemon process' 10 | 11 | ## Page down/up 12 | macro index,pager 13 | macro index,pager 14 | 15 | ## Bogofilter 16 | # macro index S "ssh twat.com.ar bogofilter -Ns=Spam!~D" "learn as spam and save to junk" 17 | macro index,pager S "ssh twat.com.ar bogofilter -Ns=Spam" "learn as spam and save to junk" 18 | macro index,pager H "ssh twat.com.ar bogofilter -Sn" "learn as ham" 19 | 20 | ## Grouchosity-filter 21 | macro index,pager ',g' 'ssh twat.com.ar bogofilter -c ~/.bogofilter/groucho/groucho.cf -Ns' "learn as grouchesque" 22 | macro index,pager ',G' "ssh twat.com.ar bogofilter -c ~/.bogofilter/groucho/groucho.cf -Sn" "unlearn as grouchesque" 23 | 24 | ## URLView 25 | #macro index,pager,attach,compose B "\ 26 | # set my_pipe_decode=\$pipe_decode pipe_decode\ 27 | # urlview\ 28 | # set pipe_decode=\$my_pipe_decode; unset my_pipe_decode" \ 29 | #"call urlview to extract URLs out of a message" 30 | #macro index,pager B 'urlview' 'URLView' 31 | macro index,pager \cb ' urlview' 'URLView' 32 | macro index,pager \cb " set my_pdsave=\$pipe_decode\ 33 | unset pipe_decode\ 34 | ~/.mutt/scripts/extract_url.pl\ 35 | set pipe_decode=\$my_pdsave" "get URLs" 36 | 37 | ## From header 38 | macro index,pager,compose ,11 "redondos " "From: redondos " 39 | macro index,pager,compose ,12 "Angel Olivera " "From: Angel Olivera " 40 | macro index,pager,compose ,13 "Angelo Olivera " "From: Angelo Olivera " 41 | macro index,pager,compose ,14 "Angel Olivera " "From: Angel Olivera " 42 | 43 | macro index,pager,compose ,21 "redondos " "From: redondos " 44 | macro index,pager,compose ,22 "Angel Olivera " "From: Angel Olivera " 45 | macro index,pager,compose ,23 "redondos " "From: redondos " 46 | macro index,pager,compose ,24 "Angel Olivera " "From: Angel Olivera " 47 | 48 | macro index,pager,compose ,31 "Angelo Olivera " "From: Angelo Olivera " 49 | macro index,pager,compose ,32 "Angelo Olivera " "From: Angelo Olivera " 50 | macro index,pager,compose ,32 "Angelo Olivera " "From: Angelo Olivera " 51 | 52 | ## Trash 53 | # macro index d "=Trash!~D" 54 | # macro index d "=Trash" 55 | 56 | ## Color switching 57 | macro index,pager ',k' " source ~/.mutt/sourced/themes.random" "random color theme" 58 | macro index,pager ',d' " source ~/.mutt/themes.default" "revert to default theme" 59 | # macro index,pager ,K rm ~/.mutt/theme.default; ln -s 60 | # ~/.mutt/themes/$my_theme ~/.mutt/theme.default" "set default theme" 61 | macro index,pager ,K " source ~/.mutt/sourced/themes.set" "set default theme" 62 | 63 | ## Sidebar 64 | macro index 'toggle sidebar_visible' 65 | macro pager 'toggle sidebar_visible' 66 | 67 | ## Open archive folders 68 | macro index,pager ',a' ' set mask=".*"\ 69 | ~/.mail_archive/.' 'open an archive folder' 70 | 71 | ## Change folder 72 | # Restore mask first 73 | 74 | # Original 75 | # macro index,pager 'c' 'set mask=$my_mask\ 76 | # ' 'open a different folder' 77 | 78 | # Mailboxes view 79 | macro index,pager 'C' '?' "enter mailboxes view" 80 | 81 | # Open and search 82 | macro index,pager ',c' 'set mask=$my_mask\ 83 | ?'\ 84 | 'open a different folder and search' 85 | 86 | # Just open 87 | macro index,pager ',c' 'set mask=$my_mask\ 88 | ='\ 89 | 'open a different folder' 90 | 91 | # Change account 92 | bind generic a noop 93 | #macro index,pager 'a1' 'imaps://imap.gmail.com/' # 'account: aolivera@mongodb.com' 94 | macro index,pager 'a1' 'imaps://angelo.olivera@10gen.com@imap.gmail.com/' # 'account: aolivera@mongodb.com' 95 | macro index,pager 'a2' 'imaps://aolivera@imap.gmail.com' 'account: aolivera@gmail.com' 96 | macro index,pager 'a3' 'imaps://redondos@imap.gmail.com' 'account: redondos@gmail.com' 97 | 98 | # Open in a different IMAP server 99 | macro index,pager ',c1' '?imaps://angelo.olivera@imap.gmail.com' 'account: aolivera@mongodb.com' 100 | macro index,pager ',c2' '?imaps://aolivera@imap.gmail.com:993/' 'account: aolivera@gmail.com' 101 | macro index,pager ',c3' '?imaps://redondos@imap.gmail.com:993/' 'account: redondos@gmail.com' 102 | 103 | 104 | # Load the inbox 105 | macro index,pager 'I' '!' 'load the inbox' 106 | 107 | ## Sendmail 108 | # macro index,pager,compose ',S' ' set sendmail="/usr/bin/msmtp" sendmail' 'sendmail: msmtprc' 109 | macro index,pager,compose ',S' ' set sendmail="$HOME/.mutt/scripts/msmtpq/msmtp-queue" sendmail' 'sendmail: msmtprc' 110 | macro index,pager,compose ',s' ' set sendmail="/usr/bin/msmtp -C /home/redondos/.msmtprc.localhost" sendmail' 'sendmail: msmtprc.localhost' 111 | 112 | ## Search mail 113 | # Mairix 114 | macro index,pager ,f "ssh twat.com.ar mairix " "search via mairix" 115 | # Namazu/nmzmail 116 | macro index,pager ,F "nmzmail -r ~/.maildir/.Search" "search via nmzmail" 117 | # Load the results mailbox 118 | macro index,pager ,,f "=Search" "load the search results mailbox" 119 | 120 | ## Query commands 121 | # macro index,pager Q ' set query_command="~/bin/muttquery.py %s"' 'Query KAddressBook' 122 | # macro index ,q ' set query_command="~/bin/gmailcontacts.py -u redondos %s"' 'Query Gmail contacts' 123 | 124 | ### Stolen from init0: http://phpfi.com/200883 ### 125 | 126 | ## Show documentation 127 | macro index,pager " unset wait_key\ 128 | zless /usr/share/doc/mutt/manual.txt.gz\ 129 | set wait_key" "Show Mutt documentation" 130 | 131 | ## meta-b -> search body (~b) 132 | macro index \eb '/~b ' 'search in message bodies' 133 | 134 | ## pager_index_lines on/off (f9 toggle) 135 | source ~/.mutt/sourced/macros.pager_index_lines-off 136 | 137 | ## index_format (f6 toggle) 138 | ## 2007-05-11: Now in folder-hooks 139 | # source ~/.mutt/sourced/macros.index_format-short 140 | 141 | ## change subject (was: original subject) 142 | macro compose \es ') (was: ' 143 | 144 | ## show attachments 145 | # macro index A 'set index_format="%4C %Z%?y?@& ? %?X?%X& ? %{%b %d} %-20.20L %?M?(#%3M)&(%4c)? %s"' "Show attachment count" 146 | # macro index \ca 'set index_format="%4C %Z%?y?@& ? %{%b %d} %-20.20L %?M?(#%3M)&(%4c)? %s"' "Hide attachment count" 147 | 148 | ## find first new message 149 | macro index '\ef' '' 'center first new message' 150 | 151 | ## first/last entry in pager 152 | macro pager - "goto first message" 153 | # macro pager "goto first message" 154 | macro pager = 156 | 157 | ## verify sig when c_v_s is off by default 158 | macro index ,p " set crypt_verify_sig\ 159 | unset crypt_verify_sig" "verify pgp sig" 160 | macro pager ,p " set crypt_verify_sig\ 161 | unset crypt_verify_sig" "verify pgp sig" 162 | 163 | ## Spell checker 164 | set my_aspell_en="/usr/bin/aspell -c --mode=email --lang=en_US" 165 | set my_aspell_es="/usr/bin/aspell -c --mode=email --lang=es" 166 | 167 | # English 168 | set ispell="$my_aspell_en" 169 | 170 | # Spanish 171 | macro compose I 'set ispell="$my_aspell_es"\ 172 | set ispell="$my_aspell_en"' "spanish aspell" 173 | 174 | ## Mark all read 175 | macro index ,r '.N\ 176 | . set my_echo="All mail marked read"\ 177 | set ?my_echo' "mark all read" 178 | 179 | ## TOFU protection by t-prot 180 | macro index,pager ,t ' unset display_filter;\ 181 | set ?display_filter' "Turn TOFU protection off" 182 | macro index,pager ,T " set display_filter='t-prot $my_tprot';\ 183 | set ?display_filter" "Turn TOFU protection on" 184 | 185 | ## Reload config (f5) 186 | macro index,pager,pager ' set my_status="Reloaded configuration"; source ~/.mutt/muttrc; set ?my_status' "reload muttrc" 187 | 188 | ## gmane-find 189 | ## Stefano Sabatini 190 | ## <20070801230102.GA14547@santefisi.caos.org> 191 | # macro index,pager M "gmane-find -tb" \ 192 | # "launch the browser to the corresponding G-mane archive page" 193 | 194 | -------------------------------------------------------------------------------- /.mutt/sourced/macros.index_format-long: -------------------------------------------------------------------------------- 1 | macro index,pager '\ 2 | set index_format=$my_index_format\ 3 | source ~/.mutt/sourced/macros.index_format-short\ 4 | set ?index_format\ 5 | ' 'index_format: long' 6 | -------------------------------------------------------------------------------- /.mutt/sourced/macros.index_format-short: -------------------------------------------------------------------------------- 1 | macro index,pager '\ 2 | set my_index_format=$index_format\ 3 | set index_format=set index_format="%4C %Z %{%b %d} %-15.15F (%?l?%4l&%4c?)%s"\ 4 | source ~/.mutt/sourced/macros.index_format-shorter\ 5 | set ?index_format\ 6 | ' 'index_format: short' 7 | -------------------------------------------------------------------------------- /.mutt/sourced/macros.index_format-shorter: -------------------------------------------------------------------------------- 1 | macro index,pager '\ 2 | set index_format="%Z|%D|%-15.15F|%s"\ 3 | source ~/.mutt/sourced/macros.index_format-long\ 4 | set ?index_format\ 5 | ' 'index_format: short' 6 | -------------------------------------------------------------------------------- /.mutt/sourced/macros.maildir: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Macros for mutt. 4 | # 5 | 6 | set wait_key=no # Don't show the "Press any key to continue..." message. 7 | macro index S "|bogofilter -s\ns=Spam\n" "Learn as spam and save to junk" 8 | macro pager S "|bogofilter -s\ns=Spam\n" "Learn as spam and save to junk" 9 | macro index H "bogofilter -n" "Learn as ham and save" 10 | macro pager H "|bogofilter -n\n" "Learn as ham and save" 11 | macro pager B "urlview" 12 | macro index,pager,compose "=Angel Olivera " 13 | macro index,pager,compose "set from=me " 14 | -------------------------------------------------------------------------------- /.mutt/sourced/macros.pager_index_lines-off: -------------------------------------------------------------------------------- 1 | macro index,pager ,o '\ 2 | set pager_index_lines=0\ 3 | source ~/.mutt/sourced/macros.pager_index_lines-on\ 4 | set ?pager_index_lines\ 5 | ' 'pager_index_lines off' 6 | -------------------------------------------------------------------------------- /.mutt/sourced/macros.pager_index_lines-on: -------------------------------------------------------------------------------- 1 | macro index,pager ,o '\ 2 | set pager_index_lines=15\ 3 | source ~/.mutt/sourced/macros.pager_index_lines-off\ 4 | set ?pager_index_lines\ 5 | ' 'pager_index_lines on' 6 | -------------------------------------------------------------------------------- /.mutt/sourced/mailboxes: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # List of folders that are considered to be "mailboxes" (folders that 4 | # receive incoming mail). 5 | # 6 | 7 | # work 8 | set folder="imaps://imap.gmail.com" 9 | mailboxes "=INBOX" 10 | 11 | set folder="imaps://aolivera@imap.gmail.com" 12 | mailboxes "=INBOX" 13 | mailboxes "=delanceyplace" 14 | mailboxes "=work" 15 | # mailboxes "=deals" 16 | # # mailboxes "=NComputing" 17 | mailboxes "=lists/noisebridge" 18 | mailboxes "=lists/openstack" 19 | mailboxes "=lists/playagon" 20 | mailboxes "=lists/sfuwh" 21 | 22 | set folder="imaps://redondos@imap.gmail.com" 23 | # mailboxes ! 24 | # mailboxes "=ml-archlinux_arch" 25 | # mailboxes "=ml-archlinux_arch-ports" 26 | # mailboxes "=ml-archlinux_pacman-dev" 27 | # mailboxes "=ml-archlinux_tur-users" 28 | # mailboxes "=ml-bcm43xx" 29 | # mailboxes "=ml-gentoo-admin" 30 | # mailboxes "=ml-jornadas2006" 31 | # mailboxes "=ml-linux-thinkpad" 32 | # mailboxes "=ml-lugmen_lug-clasificados" 33 | # mailboxes "=ml-lugmen_lug-org-private" 34 | # mailboxes "=ml-lugmen_lug-pruebas" 35 | # mailboxes "=ml-or-announce" 36 | # mailboxes "=ml-or-talk" 37 | # mailboxes "=ml-sdhci-devel" 38 | # mailboxes "=ml-squid-users" 39 | # mailboxes "=ml-synce-cvslog" 40 | # mailboxes "=ml-xfce" 41 | # mailboxes "=ml-xfce-goodies-dev" 42 | 43 | mailboxes "=INBOX" 44 | # mailboxes "=news-delanceyplace" 45 | mailboxes "=news-wordsmith" 46 | # mailboxes "=news-german-flashcards" 47 | # mailboxes "=ml-anillo-lst" 48 | # mailboxes "=ml-awesome" 49 | # mailboxes "=ml-bluez-users" 50 | # mailboxes "=ml-dwm" 51 | # mailboxes "=ml-gentoo-dev" 52 | # mailboxes "=ml-grulic" 53 | # mailboxes "=ml-gtkpod-devel" 54 | # mailboxes "=ml-gtkpod-questions" 55 | # mailboxes "=ml-lugfi_bar" 56 | # # mailboxes "=ml-lugfi_joda" 57 | # mailboxes "=ml-lugfi_lug" 58 | # mailboxes "=ml-lugfi_noticias" 59 | # mailboxes "=ml-lugfi_org" 60 | # mailboxes "=ml-lugmen_flisol-2007" 61 | # mailboxes "=ml-lugmen_lug-devel" 62 | # mailboxes "=ml-lugmen_lug-electronica" 63 | # mailboxes "=ml-lugmen_lug-grouchesque" 64 | # mailboxes "=ml-lugmen_lug-list" 65 | # mailboxes "=ml-lugmen_lug-noticias" 66 | # mailboxes "=ml-lugmen_lug-novatos" 67 | # mailboxes "=ml-lugmen_lug-org" 68 | # mailboxes "=ml-lugmen_lug-server" 69 | # mailboxes "=ml-lugmen_lug-taliban" 70 | # mailboxes "=ml-lugmen_lug-website" 71 | # mailboxes "=ml-lugmen_lug-wireless" 72 | # mailboxes "=ml-lugro" 73 | # mailboxes "=ml-lugmen_wireless-org" 74 | # mailboxes "=ml-milug" 75 | # mailboxes "=ml-musicbrainz-users" 76 | # mailboxes "=ml-mutt-dev" 77 | # mailboxes "=ml-mutt-users" 78 | # mailboxes "=ml-pam-mount-user" 79 | # mailboxes "=ml-postfix-users" 80 | # mailboxes "=ml-solar-general" 81 | # mailboxes "=ml-synce-users" 82 | # mailboxes "=ml-uucpssh" 83 | # mailboxes "=ml-vcs-home" 84 | # mailboxes "=ml-videodb-devel" 85 | # mailboxes "=ml-vim" 86 | # mailboxes "=ml-wmii" 87 | # mailboxes "=ml-zsh-users" 88 | # mailboxes "=ml-zsh-workers" 89 | # 90 | set folder="imaps://angelo.olivera@10gen.com@imap.gmail.com" 91 | -------------------------------------------------------------------------------- /.mutt/sourced/mailboxes-redondos@twat.com.ar: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # List of folders that are considered to be "mailboxes" (folders that 4 | # receive incoming mail). 5 | # 6 | 7 | mailboxes ! 8 | mailboxes "=people/redondos" 9 | mailboxes "=people/NComputing" 10 | mailboxes "=Search" 11 | mailboxes "=newsletters/Auctions" 12 | mailboxes "=newsletters/Club" 13 | mailboxes "=newsletters/Gentoo" 14 | mailboxes "=newsletters/United" 15 | mailboxes "=newsletters/Websites" 16 | mailboxes "=lists/lugmen_lug-server" 17 | mailboxes "=lists/lugmen_lug-taliban" 18 | mailboxes "=lists/lugmen_lug-list" 19 | mailboxes "=lists/lugmen_lug-org" 20 | mailboxes "=lists/lugmen_lug-grouchesque" 21 | mailboxes "=lists/lugmen_lug-novatos" 22 | # mailboxes "=lists/lugmen_lug-clasificados" 23 | mailboxes "=lists/lugmen_lug-devel" 24 | mailboxes "=lists/lugmen_lug-electronica" 25 | mailboxes "=lists/lugmen_lug-noticias" 26 | # mailboxes "=lists/lugmen_lug-org-private" 27 | # mailboxes "=lists/lugmen_lug-pruebas" 28 | mailboxes "=lists/lugmen_lug-website" 29 | mailboxes "=lists/lugmen_lug-wireless" 30 | mailboxes "=lists/mutt-users" 31 | mailboxes "=lists/mutt-dev" 32 | mailboxes "=lists/zsh-users" 33 | mailboxes "=lists/zsh-workers" 34 | mailboxes "=lists/lugfi_lug" 35 | mailboxes "=lists/lugfi_noticias" 36 | mailboxes "=lists/lugfi_org" 37 | mailboxes "=lists/lugfi_joda" 38 | mailboxes "=lists/lugfi_bar" 39 | mailboxes "=lists/grulic" 40 | mailboxes "=lists/anillo-lst" 41 | mailboxes "=lists/awesome" 42 | mailboxes "=lists/dwm" 43 | mailboxes "=lists/wmii" 44 | # mailboxes "=lists/archlinux_arch" 45 | # mailboxes "=lists/archlinux_arch-ports" 46 | # mailboxes "=lists/archlinux_tur-users" 47 | # mailboxes "=lists/archlinux_pacman-dev" 48 | mailboxes "=lists/bluez-users" 49 | # mailboxes "=lists/bcm43xx" 50 | # mailboxes "=lists/gentoo-admin" 51 | mailboxes "=lists/gentoo-dev" 52 | mailboxes "=lists/gtkpod-devel" 53 | mailboxes "=lists/gtkpod-questions" 54 | # mailboxes "=lists/jornadas2006" 55 | # mailboxes "=lists/linux-thinkpad" 56 | mailboxes "=lists/lugmen_flisol-2007" 57 | mailboxes "=lists/lugro" 58 | mailboxes "=lists/mendoza_wireless_wireless-org" 59 | mailboxes "=lists/mendoza_wireless_wireless-list" 60 | # mailboxes "=lists/or-announce" 61 | # mailboxes "=lists/or-talk" 62 | mailboxes "=lists/milug" 63 | mailboxes "=lists/musicbrainz-users" 64 | mailboxes "=lists/pam-mount-user" 65 | mailboxes "=lists/postfix-users" 66 | # mailboxes "=lists/sdhci-devel" 67 | mailboxes "=lists/solar-general" 68 | # mailboxes "=lists/squid-users" 69 | # mailboxes "=lists/synce-cvslog" 70 | mailboxes "=lists/synce-users" 71 | mailboxes "=lists/uucpssh" 72 | mailboxes "=lists/vim" 73 | mailboxes "=lists/videodb-devel" 74 | # mailboxes "=lists/xfce" 75 | # mailboxes "=lists/xfce-goodies-dev" 76 | mailboxes "=system/logwatch" 77 | mailboxes "=system/postfix" 78 | mailboxes "=Outbox" 79 | mailboxes "=Sent" 80 | # mailboxes "imap://lugmen.org.ar" 81 | # mailboxes "=Trash" 82 | # mailboxes "=Spam" 83 | # mailboxes "imap://mail.lugmen.org.ar" 84 | -------------------------------------------------------------------------------- /.mutt/sourced/mailboxes.maildir: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # List of folders that are considered to be "mailboxes" (folders that 4 | # receive incoming mail). 5 | # 6 | 7 | mailboxes ! 8 | mailboxes "=lists.anillo-lst" 9 | mailboxes "=lists.archlinux_arch" 10 | mailboxes "=lists.archlinux_arch-ports" 11 | mailboxes "=lists.archlinux_tur-users" 12 | mailboxes "=lists.archlinux_pacman-dev" 13 | mailboxes "=lists.bluez-users" 14 | mailboxes "=lists.bcm43xx" 15 | mailboxes "=lists.grulic" 16 | mailboxes "=lists.gtkpod-devel" 17 | mailboxes "=lists.gtkpod-questions" 18 | mailboxes "=lists.jornadas2006" 19 | mailboxes "=lists.lugfi_lug" 20 | mailboxes "=lists.lugfi_noticias" 21 | mailboxes "=lists.lugfi_org" 22 | mailboxes "=lists.lugmen_lug-clasificados" 23 | mailboxes "=lists.lugmen_lug-devel" 24 | mailboxes "=lists.lugmen_lug-electronica" 25 | mailboxes "=lists.lugmen_lug-grouchesque" 26 | mailboxes "=lists.lugmen_lug-list" 27 | mailboxes "=lists.lugmen_lug-noticias" 28 | mailboxes "=lists.lugmen_lug-novatos" 29 | mailboxes "=lists.lugmen_lug-org" 30 | mailboxes "=lists.lugmen_lug-org-private" 31 | mailboxes "=lists.lugmen_lug-server" 32 | mailboxes "=lists.lugmen_lug-website" 33 | mailboxes "=lists.lugmen_lug-wireless" 34 | mailboxes "=lists.mendoza_wireless_wireless-org" 35 | # mailboxes "=lists.remind-fans" 36 | mailboxes "=lists.or-announce" 37 | mailboxes "=lists.or-talk" 38 | mailboxes "=lists.sdhci-devel" 39 | mailboxes "=lists.synce-cvslog" 40 | mailboxes "=lists.synce-users" 41 | mailboxes "=lists.uucpssh" 42 | mailboxes "=lists.wmii" 43 | mailboxes "=lists.videodb-devel" 44 | mailboxes "=lists.xfce" 45 | mailboxes "=lists.xfce-goodies-dev" 46 | mailboxes "=people.redondos" 47 | mailboxes "=Spam" 48 | mailboxes "=Sent" 49 | mailboxes "=Trash" 50 | -------------------------------------------------------------------------------- /.mutt/sourced/mailboxes.mbox: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # List of folders that are considered to be "mailboxes" (folders that 4 | # receive incoming mail). 5 | # 6 | 7 | mailboxes ! 8 | mailboxes "=Lists/anillo-lst" 9 | #mailboxes "=Lists/asterisk-users" 10 | mailboxes "=Lists/bcm43xx" 11 | #mailboxes "=Lists/fetchmail-friends" 12 | # mailboxes "=Lists/gnupg-users" 13 | mailboxes "=Lists/grulic" 14 | mailboxes "=Lists/lugfi_lug" 15 | mailboxes "=Lists/lugfi_org" 16 | mailboxes "=Lists/lugmen_lug-clasificados" 17 | mailboxes "=Lists/lugmen_lug-devel" 18 | mailboxes "=Lists/lugmen_lug-electronica" 19 | mailboxes "=Lists/lugmen_lug-grouchesque" 20 | mailboxes "=Lists/lugmen_lug-list" 21 | mailboxes "=Lists/lugmen_lug-noticias" 22 | mailboxes "=Lists/lugmen_lug-novatos" 23 | mailboxes "=Lists/lugmen_lug-org" 24 | mailboxes "=Lists/lugmen_lug-wireless" 25 | mailboxes "=Lists/sdhci-devel" 26 | mailboxes "=Lists/synce-cvslog" 27 | mailboxes "=Lists/synce-users" 28 | # mailboxes "=Lists/ubuntu-users" 29 | mailboxes "=Lists/uucpssh" 30 | mailboxes "=Lists/wmii" 31 | mailboxes "=Lists/xfce" 32 | mailboxes "=Lists/xfce-goodies-dev" 33 | mailboxes "=People/redondos" 34 | mailboxes "=Spam" 35 | -------------------------------------------------------------------------------- /.mutt/sourced/mailboxes.non-imap: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # List of folders that are considered to be "mailboxes" (folders that 4 | # receive incoming mail). 5 | # 6 | 7 | mailboxes ! 8 | mailboxes "=lists.anillo-lst" 9 | mailboxes "=lists.archlinux_arch" 10 | mailboxes "=lists.archlinux_arch-ports" 11 | mailboxes "=lists.archlinux_tur-users" 12 | mailboxes "=lists.archlinux_pacman-dev" 13 | mailboxes "=lists.bluez-users" 14 | mailboxes "=lists.bcm43xx" 15 | mailboxes "=lists.grulic" 16 | mailboxes "=lists.gtkpod-devel" 17 | mailboxes "=lists.gtkpod-questions" 18 | mailboxes "=lists.jornadas2006" 19 | mailboxes "=lists.lugfi_lug" 20 | mailboxes "=lists.lugfi_noticias" 21 | mailboxes "=lists.lugfi_org" 22 | mailboxes "=lists.lugmen_lug-clasificados" 23 | mailboxes "=lists.lugmen_lug-devel" 24 | mailboxes "=lists.lugmen_lug-electronica" 25 | mailboxes "=lists.lugmen_lug-grouchesque" 26 | mailboxes "=lists.lugmen_lug-list" 27 | mailboxes "=lists.lugmen_lug-noticias" 28 | mailboxes "=lists.lugmen_lug-novatos" 29 | mailboxes "=lists.lugmen_lug-org" 30 | mailboxes "=lists.lugmen_lug-org-private" 31 | mailboxes "=lists.lugmen_lug-server" 32 | mailboxes "=lists.lugmen_lug-website" 33 | mailboxes "=lists.lugmen_lug-wireless" 34 | mailboxes "=lists.mendoza_wireless_wireless-org" 35 | # mailboxes "=lists.remind-fans" 36 | mailboxes "=lists.or-announce" 37 | mailboxes "=lists.or-talk" 38 | mailboxes "=lists.sdhci-devel" 39 | mailboxes "=lists.synce-cvslog" 40 | mailboxes "=lists.synce-users" 41 | mailboxes "=lists.uucpssh" 42 | mailboxes "=lists.wmii" 43 | mailboxes "=lists.videodb-devel" 44 | mailboxes "=lists.xfce" 45 | mailboxes "=lists.xfce-goodies-dev" 46 | mailboxes "=people.redondos" 47 | mailboxes "=Spam" 48 | mailboxes "=Sent" 49 | mailboxes "=Trash" 50 | -------------------------------------------------------------------------------- /.mutt/sourced/options: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Options 4 | # 5 | 6 | set move=no # Don't move to mbox folder 7 | set noconfirmappend # Just append, don't hassle me. 8 | set copy # Save copies of outgoing messages 9 | set record==Sent # Save outgoing messages to folder 10 | set delete=ask-yes # Ask before deleting, preselecting 'yes' 11 | # set implicit_autoview=yes # Autoview every MIME type with a copiousoutput entry in mailcap. 12 | set alias_file=~/.mutt/aliases 13 | set forward_edit=ask-no 14 | set text_flowed # Enable format=flowed for text/plain. 15 | set hdrs=yes # Enable my_hdr fields 16 | set use_envelope_from=yes # 17 | # set envelope_from # To let mutt choose msmtp account. 18 | set print_command="muttprint" 19 | 20 | -------------------------------------------------------------------------------- /.mutt/sourced/save-hooks: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Save hooks 4 | # 5 | 6 | save-hook '~f root@localhost' =Temp/rootmail 7 | save-hook "!~l ~B '[^[:alpha:]]angel[^[:alpha:]]'" =people. 8 | save-hook '~f wsmith@wordsmith.org' =newsletters.Wordsmith 9 | save-hook '~f .*delanceyplace.com' =newsletters.Delanceyplace 10 | save-hook "~B '(subscribe|remove)'" =newsletters. 11 | -------------------------------------------------------------------------------- /.mutt/sourced/send-hooks: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Send (and message) hooks 4 | # 5 | 6 | ## From and Signature ## 7 | # The default account is now chosen by a folder-hook, see there for more information. 8 | send-hook .* 'set signature="~/.signature"' 9 | send-hook '~f ^aolivera@gmail.com$' 'my_hdr From: Angelo Olivera ' 10 | send-hook '~f ^aolivera@gmail.com$' 'set signature="~/.mutt/signatures/angelo"' 11 | send-hook '~t "(majordomo|subscribe)"' 'unset signature' 12 | 13 | ## Body analysis to determine signature 14 | set my_friendlywords='~b "(beso|besit|abrazo|kiss|hug|love)"' 15 | message-hook "!~l (~L aolivera|~B '[^[:alpha:]]angel[^[:alpha:]]') $my_friendlywords" 'set signature="~/.mutt/signatures/angel.informal"' 16 | # set my_friendlywords='(~b beso|~b besit|~b abrazo|~b kiss|~b hug)' # Works too 17 | # ~b/~B are not available with (send|reply)-hook, and my_hdr doesn't belong in message-hook 18 | message-hook '~h angelo' 'set signature="~/.mutt/signatures/angelo"' 19 | message-hook '~B "(cheers|hello|kiss|[Aa]ngelo)"' 'set signature="~/.mutt/signatures/angelo"' 20 | 21 | ## failed test to rewrite the From header with a message-hook: 22 | ## it doesn't work because mutt should chcek the value of my_from before using it 23 | # message-hook . "unset my_from" 24 | # message-hook '~B Yeah' 'set signature="~/.mutt/signatures/angelo"; set my_from=foo' 25 | # send-hook . "my_hdr From: \$my_from" 26 | 27 | ## Work accounts 28 | set my_corporatewords_es='~b "(cordial)"' 29 | set my_corporatewords_en='~b "(regards)"' 30 | message-hook "!~l (~L \"(mongodb|10gen)\"|~B MongoDB) $my_corporatewords_en" 'set signature="~/.mutt/signatures/angelo.mongodb"' 31 | 32 | ## Custom headers ## 33 | send-hook '~A' 'my_hdr X-Accept-Language: en, es, es_AR, de_DE' 34 | send-hook '~A' 'my_hdr X-GPG-ID: 0xDB98F72' 35 | send-hook '~A' 'my_hdr X-GPG-Fingerprint: A182 F6EC 302B 8491 A563 9B28 259F F209 CDB9 8F72' 36 | 37 | # send-hook '~f redondos' 'my_hdr X-Homepage: http://www.twat.com.ar' 38 | send-hook '!~f redondos' 'unmy_hdr X-Homepage' 39 | 40 | # send-hook '~f redondos' 'my_hdr X-Blog: http://blog.twat.com.ar' 41 | send-hook '!~f redondos' 'unmy_hdr X-Blog' 42 | 43 | #send-hook '~f redondos' 'my_hdr X-Jabber-ID: redondos@lugmen.org.ar' 44 | #send-hook '~f aolivera !~L .*lug.*' 'my_hdr X-Jabber-ID: aolivera@gmail.com' 45 | #send-hook '!~f aolivera !~f redondos' 'unmy_hdr X-Jabber-ID' 46 | 47 | # send-hook '~f redondos' 'my_hdr X-MSN-ID: redondos@gmail.com' 48 | send-hook '!~f redondos' 'unmy_hdr X-MSN-ID' 49 | 50 | # send-hook '~f redondos' 'my_hdr X-AIM-ID: redondossh' 51 | send-hook '!~f redondos' 'unmy_hdr X-AIM-ID' 52 | 53 | # send-hook '~f redondos' 'my_hdr X-UIN: 11943866' 54 | send-hook '!~f redondos' 'unmy_hdr X-UIN' 55 | 56 | # send-hook '~f redondos' 'my_hdr X-YIM-ID: redondossh' 57 | # send-hook '~f redondos' 'my_hdr X-YIM-ID: redondossh' 58 | send-hook '!~f redondos' 'unmy_hdr X-YIM-ID' 59 | 60 | # send-hook '~f redondos' 'my_hdr X-Operating-System: `uname -sr` 61 | # send-hook '!~f redondos' 'unmy_hdr X-Operating-System` 62 | 63 | ## Notes ## 64 | 65 | # It would be nice to let mutt change the From header when it detects the 66 | # message contains "angel", not only the signature. 67 | # 68 | # The problem is that message-hooks get executed before send-hooks, so the 69 | # latter (which is specified above) selects the header later. 70 | 71 | # send-hook '~f ^aolivera@gmail.com$' 'my_hdr What: Angel Olivera ' 72 | 73 | # I also experienced a strange situation: with the line below, the signature 74 | # that ends up being applied is the "test" one instead of the "angel" one 75 | # that is set above with a send-hook. 76 | 77 | # message-hook "~b angel" 'set signature=~/.mutt/signatures/test' # works 78 | # message-hook "~b angel" 'my_hdr What: pepe ' # doesn't 79 | # message-hook "~b angel" 'set from="pepe "' 80 | 81 | # send-hook '~f ^aolivera@gmail.com$' 'set sendmail=/usr/nada' 82 | # message-hook "~b angel" 'set sendmail=/usr/nada2' # wins, but maybe 83 | # because of the message showing later 84 | 85 | ## Old stuff ## 86 | 87 | # message-hook '~f ^aolivera@gmail.com$' 'set realname="Angel Olivera"' # So that the name is automatically selected 88 | # reply-hook '~f ^aolivera@gmail.com$' 'set realname="Angel Olivera"' # So that the name is automatically selected 89 | # send-hook '~f ^aolivera@gmail.com$' 'my_hdr From: Angel Olivera ' 90 | # 91 | # reply-hook '~f ^redondos@gmail.com$' 'set realname="redondos"' # So that the name is automatically selected 92 | # send-hook '~t ^redondos@gmail.com$' 'my_hdr From: Angel Olivera ' # These my_hdr hooks would screw up my 'alternates' setup. 93 | # send-hook .* 'my_hdr From: redondos ' # Leave them commented. 94 | 95 | -------------------------------------------------------------------------------- /.mutt/sourced/themes.random: -------------------------------------------------------------------------------- 1 | set my_theme=`ls ~/.mutt/themes | gshuf | head -1` 2 | # source ~/.mutt/uncolor 3 | uncolor index * 4 | source ~/.mutt/themes/$my_theme 5 | set ?my_theme 6 | -------------------------------------------------------------------------------- /.mutt/sourced/themes.set: -------------------------------------------------------------------------------- 1 | ## Color switching: save default theme 2 | push " rm ~/.mutt/themes.default; ln -s ~/.mutt/themes/$my_theme ~/.mutt/themes.default" 3 | -------------------------------------------------------------------------------- /.mutt/themes.256: -------------------------------------------------------------------------------- 1 | color normal white color232 2 | color indicator color226 default 3 | color tree color23 color232 4 | color status color48 color235 5 | color error color30 color232 6 | color message color50 color232 7 | color signature color70 color232 8 | color attachment color37 color232 9 | color search color100 color232 10 | color tilde color130 color232 11 | color markers color138 color232 12 | 13 | #mono bold reverse 14 | #color bold color173 color191 15 | #mono underline reverse 16 | #color underline color48 color191 17 | 18 | color quoted color107 color232 # quoted text 19 | color quoted1 color66 color232 20 | color quoted2 color32 color232 21 | color quoted3 color30 color232 22 | color quoted4 color99 color232 23 | color quoted5 color36 color232 24 | color quoted6 color114 color232 25 | color quoted7 color109 color232 26 | color quoted8 color41 color232 27 | color quoted9 color138 color232 28 | # color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" 29 | # color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" 30 | # color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 31 | # color body green default "(^| )_[-a-z0-9_]+_[,.?]?[\n]" 32 | # color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 33 | # color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" 34 | color index color35 color232 . 35 | color index color202 default ~F # Flagged 36 | color index brightwhite color232 ~N # New 37 | color index white color234 ~O 38 | # color index brightcolor39 color232 ~N # New 39 | # color index color39 color234 ~O 40 | color index color229 color22 ~T # Tagged 41 | color index color240 default ~D # Deleted 42 | 43 | ###################### 44 | 45 | #mono body reverse '^(subject):.*' 46 | #color body brightwhite magenta '^(subject):.*' 47 | #mono body reverse '[[:alpha:]][[:alnum:]-]+:' 48 | #color body black cyan '[[:alpha:]][[:alnum:]-]+:' 49 | 50 | ###################### 51 | # header 52 | 53 | color hdrdefault color30 color233 54 | color header color132 color233 '^date:' 55 | color header color153 color233 '^(to|cc|bcc):' 56 | color header color120 color233 '^from:' 57 | color header color178 color233 '^subject:' 58 | color header color31 color233 '^user-agent:' 59 | color header color29 color233 '^reply-to:' 60 | 61 | #color header magenta default '^(status|lines|date|received|sender|references):' 62 | #color header magenta default '^(pr|mime|x-|user|return|content-)[^:]*:' 63 | #color header brightyellow default '^content-type:' 64 | #color header magenta default '^content-type: *text/plain' 65 | # color header brightgreen default '^list-[^:]*:' 66 | #mono header bold '^(subject):.*$' 67 | #color header brightcyan default '^(disposition)' 68 | #color header green default '^(mail-)?followup' 69 | #color header white default '^reply' 70 | #color header brightwhite default '^(resent)' 71 | # color header brightwhite default '^from:' 72 | 73 | ###################### 74 | # spam 75 | 76 | ### html 77 | #color index blue default '~b "<(img|a |html|body)"' 78 | 79 | ### china spam 80 | #color index brightred black '~h "^(content-type:| +).*charset=\"?(big5|gb2312|SHIFT.JIS|euc.kr|windows.125[^2]|iso.[0-9]+.jp|koi[^ ;"])"' 81 | 82 | ### sex 83 | #color index brightyellow black "~b '(p$E+n$I+$S|sex|er$E+ct$I+$O+n|p$O+rn$O+|v$I+$A+gr|c$I+$A+$L+$I+$S)'" 84 | 85 | ### misc 86 | #color index cyan black '~b "(w$A+tch|r$E+p$L+$I+c$A|d$I+p$L+$O+m|d$E+gr$E+e|pr$I+ce|s$A+les|\\\$[0-9]+)"' 87 | 88 | ### drug 89 | #color index white black "~b '(ph$A+rm$A+cy|m$E+d$I+c$A+t$I+$O+n|pr$E+scr$I+pt$I+$O+n|d$I+$S+c$O+$U+nt|p$I+$L+$S|v$A+$L+$I+$U+m|v$I+c$O+d$I+n)'" 90 | 91 | 92 | #mono index bold '~h "^content-type: *(multipart/(mixed|signed|encrypted)|application/)"' 93 | #color index green black '~h "^content-type: *multipart/(signed|encrypted)"' 94 | 95 | -------------------------------------------------------------------------------- /.mutt/themes.default: -------------------------------------------------------------------------------- 1 | color normal white color232 2 | color indicator color226 default 3 | color tree color23 color232 4 | color status color48 color235 5 | color error color30 color232 6 | color message color50 color232 7 | color signature color70 color232 8 | color attachment color37 color232 9 | color search color100 color232 10 | color tilde color130 color232 11 | color markers color138 color232 12 | 13 | #mono bold reverse 14 | #color bold color173 color191 15 | #mono underline reverse 16 | #color underline color48 color191 17 | 18 | color quoted color107 color232 # quoted text 19 | color quoted1 color66 color232 20 | color quoted2 color32 color232 21 | color quoted3 color30 color232 22 | color quoted4 color99 color232 23 | color quoted5 color36 color232 24 | color quoted6 color114 color232 25 | color quoted7 color109 color232 26 | color quoted8 color41 color232 27 | color quoted9 color138 color232 28 | # color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" 29 | # color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" 30 | # color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 31 | # color body green default "(^| )_[-a-z0-9_]+_[,.?]?[\n]" 32 | # color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 33 | # color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" 34 | color index color35 color232 . 35 | color index color202 default ~F # Flagged 36 | color index brightwhite color232 ~N # New 37 | color index white color234 ~O 38 | # color index brightcolor39 color232 ~N # New 39 | # color index color39 color234 ~O 40 | color index color229 color22 ~T # Tagged 41 | color index color240 default ~D # Deleted 42 | 43 | ###################### 44 | 45 | #mono body reverse '^(subject):.*' 46 | #color body brightwhite magenta '^(subject):.*' 47 | #mono body reverse '[[:alpha:]][[:alnum:]-]+:' 48 | #color body black cyan '[[:alpha:]][[:alnum:]-]+:' 49 | 50 | ###################### 51 | # header 52 | 53 | color hdrdefault color30 color233 54 | color header color132 color233 '^date:' 55 | color header color153 color233 '^(to|cc|bcc):' 56 | color header color120 color233 '^from:' 57 | color header color178 color233 '^subject:' 58 | color header color31 color233 '^user-agent:' 59 | color header color29 color233 '^reply-to:' 60 | 61 | #color header magenta default '^(status|lines|date|received|sender|references):' 62 | #color header magenta default '^(pr|mime|x-|user|return|content-)[^:]*:' 63 | #color header brightyellow default '^content-type:' 64 | #color header magenta default '^content-type: *text/plain' 65 | # color header brightgreen default '^list-[^:]*:' 66 | #mono header bold '^(subject):.*$' 67 | #color header brightcyan default '^(disposition)' 68 | #color header green default '^(mail-)?followup' 69 | #color header white default '^reply' 70 | #color header brightwhite default '^(resent)' 71 | # color header brightwhite default '^from:' 72 | 73 | ###################### 74 | # spam 75 | 76 | ### html 77 | #color index blue default '~b "<(img|a |html|body)"' 78 | 79 | ### china spam 80 | #color index brightred black '~h "^(content-type:| +).*charset=\"?(big5|gb2312|SHIFT.JIS|euc.kr|windows.125[^2]|iso.[0-9]+.jp|koi[^ ;"])"' 81 | 82 | ### sex 83 | #color index brightyellow black "~b '(p$E+n$I+$S|sex|er$E+ct$I+$O+n|p$O+rn$O+|v$I+$A+gr|c$I+$A+$L+$I+$S)'" 84 | 85 | ### misc 86 | #color index cyan black '~b "(w$A+tch|r$E+p$L+$I+c$A|d$I+p$L+$O+m|d$E+gr$E+e|pr$I+ce|s$A+les|\\\$[0-9]+)"' 87 | 88 | ### drug 89 | #color index white black "~b '(ph$A+rm$A+cy|m$E+d$I+c$A+t$I+$O+n|pr$E+scr$I+pt$I+$O+n|d$I+$S+c$O+$U+nt|p$I+$L+$S|v$A+$L+$I+$U+m|v$I+c$O+d$I+n)'" 90 | 91 | 92 | #mono index bold '~h "^content-type: *(multipart/(mixed|signed|encrypted)|application/)"' 93 | #color index green black '~h "^content-type: *multipart/(signed|encrypted)"' 94 | 95 | -------------------------------------------------------------------------------- /.mutt/themes/.rado.1.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/themes/.rado.1.swp -------------------------------------------------------------------------------- /.mutt/themes/LH: -------------------------------------------------------------------------------- 1 | # 2 | # Color 3 | # Tuned for white background 4 | # 5 | 6 | color normal black white 7 | 8 | color hdrdefault red white 9 | color signature blue white 10 | color indicator black brightyellow 11 | color error brightred white 12 | color status white blue 13 | color tree red white # the thread tree in the index menu 14 | color tilde magenta white 15 | color message blue white 16 | color markers cyan white 17 | color attachment brightmagenta white 18 | color search black green # how to hilite searches in the pager 19 | color quoted blue white # quoted text 20 | color quoted1 magenta white 21 | color quoted2 red white 22 | color quoted3 green white 23 | color quoted4 cyan white 24 | color quoted5 blue white 25 | color quoted6 magenta white 26 | color quoted7 red white 27 | color quoted8 green white 28 | color quoted9 cyan white 29 | color underline brightgreen white 30 | color index green white ~F 31 | 32 | color header red white ^(From|Subject): 33 | # point out url's 34 | color body black white "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" 35 | color body cyan white [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses 36 | 37 | # smilies and the like 38 | color body brightgreen white "<[Gg]>" 39 | color body brightgreen white "<[Bb][Gg]>" 40 | # see also the variables smileys 41 | color body black yellow ">?[;:][-^]?[][)(><}{|/DP][)}]*" 42 | 43 | # 44 | # Mono 45 | # 46 | 47 | mono normal none # normal text 48 | mono indicator reverse # actual message 49 | mono tree none # thread arrows 50 | mono status reverse # status line 51 | #mono error bold 52 | mono error standout 53 | mono message none # info messages 54 | mono quoted bold 55 | mono signature none 56 | mono attachment underline # MIME attachments 57 | mono search reverse # search matches 58 | mono tilde none # ~ at bottom of msg 59 | mono markers bold # + at beginning of wrapped lines 60 | mono hdrdefault none # default header lines 61 | mono bold bold # hilite bold patterns in body 62 | mono underline underline # hilite underlined patterns in body 63 | mono header bold "^(from|subject):" 64 | mono body underline "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" 65 | mono body underline "[-a-z_0-9.]+@[-a-z_0-9.]+" 66 | mono body bold "(^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]" 67 | mono body underline "(^| )_[-a-z0-9äöüß_]+_[,.?]?[ \n]" 68 | 69 | 70 | 71 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 72 | # 73 | # Color definitions (black background) 74 | # 75 | 76 | #color hdrdefault red default 77 | #color quoted brightblue default 78 | #color signature red default 79 | #color indicator brightyellow red 80 | #color error brightred default 81 | #color status yellow blue 82 | #color tree magenta default # the thread tree in the index menu 83 | #color tilde magenta default 84 | #color message brightcyan default 85 | #color markers brightcyan default 86 | #color attachment brightmagenta default 87 | #color search default green # how to hilite search patterns in the pager 88 | 89 | #color header brightred default ^(From|Subject): 90 | #color body magenta default "(ftp|http)://[^ ]+" # point out URLs 91 | #color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses 92 | #color underline brightgreen default 93 | 94 | # attributes when using a mono terminal 95 | #mono quoted bold 96 | -------------------------------------------------------------------------------- /.mutt/themes/arg: -------------------------------------------------------------------------------- 1 | color normal white default 2 | color attachment brightyellow default 3 | color hdrdefault cyan default 4 | color indicator black cyan 5 | color markers brightred default 6 | color quoted green default 7 | color signature cyan default 8 | color status brightgreen blue 9 | color tilde blue default 10 | color tree red default 11 | color header brightgreen default ^From: 12 | #color header brightcyan black ^To: 13 | #color header brightcyan black ^Reply-To: 14 | #color header brightcyan black ^Cc: 15 | #color header brightblue black ^Subject: 16 | color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ 17 | #color body brightblue black (https?|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+ 18 | -------------------------------------------------------------------------------- /.mutt/themes/black: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Color settings for mutt. 4 | # 5 | 6 | color attachment yellow default 7 | color hdrdefault brightblack default 8 | 9 | color header brightgreen default "^subject: *" 10 | color header brightcyan default "^to: *" 11 | color header cyan default "^delivered-to: *" 12 | color header cyan default "^message-id: *" 13 | color header red default "^content-type: *" 14 | color header brightblue default "^List-Id: *" 15 | color header red default "^X-Bogosity: *" 16 | color header green default "^x-mailer: *" 17 | color header green default "^user-agent: *" 18 | color header green default "^x-operating-system: *" 19 | color header brightblue default "^organization: *" 20 | color header brightblue default "^delivery-date: *" 21 | color header magenta default "^date: *" 22 | color header brightyellow default "^from: *" 23 | color header cyan default "^cc: *" 24 | color header cyan default "^bcc: *" 25 | color header yellow default "^reply-to: *" 26 | color header yellow default "^mail-followup-to: *" 27 | color header yellow default "^old-return-path: *" 28 | color header red default "^x-mailing-list: *" 29 | color header red default "^in-reply-to: *" 30 | 31 | color body magenta default "((ftp|http|https)://|(file|news):|\ 32 | www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \ 33 | \t\n\r\"<>()]*[^][{} \t\n\r\"\ 34 | <>().,:!])?/?" 35 | color body brightyellow default "[_a-z\.\$A-Z0-9-]+@[a-zA-Z0-9\./\-]+" 36 | color body brightgreen default "<[Gg]>" 37 | color body brightgreen default "<[Bb][Gg]>" 38 | color body brightgreen default ">?[;:][-^]?[][)(><}{|/DP][)}]*" 39 | 40 | color bold blue default 41 | color error red default 42 | color index yellow default "~f Krennwallner" 43 | color index brightblack default "~d >30d" 44 | color indicator default red 45 | color markers red default 46 | color message white blue 47 | color normal default default 48 | color quoted green default 49 | color quoted1 yellow default 50 | color quoted2 green default 51 | color quoted3 yellow default 52 | color search default green 53 | color signature red default 54 | color status yellow blue 55 | color tilde blue default 56 | color tree red default 57 | color underline yellow white 58 | -------------------------------------------------------------------------------- /.mutt/themes/blackback: -------------------------------------------------------------------------------- 1 | # Derived from: ataualpa.altervista.org (Il nirvana con mutt) 2 | # COLORS FOR BLACK BACKGROUND 3 | # 4 | # http://filibusta.crema.unimi.it/~gufo/files/colors-blackback 5 | 6 | # colors: 7 | 8 | # white 9 | # brightwhite 10 | # black 11 | # green 12 | # magenta 13 | # blue 14 | # cyan 15 | # yellow 16 | # brightyellow 17 | # red 18 | # brightred 19 | # default (transparent) 20 | # colorx 21 | # color0 = black 22 | # color1 = red 23 | # color2 = green 24 | # color3 = black 25 | # color4 = blue 26 | # color5 = violet 27 | # color6 = cyan 28 | # color7 = gray 29 | # color8 = none 30 | # color9 = none 31 | 32 | 33 | # text colors - general functions 34 | color normal white default # normal text 35 | color status brightgreen blue # status bar, last and first row 36 | color search brightyellow red # search results 37 | color message brightyellow default # information messages, last row 38 | color error brightred default # error messages, last row 39 | color markers brightred default # the + sign at the start of broken lines 40 | 41 | # text colors - message index and attachment menu 42 | color indicator brightwhite red # current message selected 43 | color tree brightred default # Threads' arrow 44 | color index brightwhite default ~F # important messages ! flag - command "F" 45 | color index green default ~N # new messages N flag - command "N" 46 | color index magenta default ~T # tagged messages * flag - command "t" 47 | color index green default ~U # unread messages 48 | color index brightblue default ~D # deleted messages D flag - commands "d"/"u" 49 | 50 | # Score colors 51 | #color index magenta default '(~n 1-4)' # score 1-4 52 | #color index green default '(~n 5-7)' # score 5-7 53 | #color index brightblue default '(~n 8-10)' # score 8-10 54 | #color index white default '(~n 11-50)' # score 11-50 55 | #color index brightred default '(~n 51-100)' # score 51-100 56 | 57 | # text colors - pager 58 | color hdrdefault green default # headers 59 | #color header yellow default "^(from|subject|to):" # header from: subject: to: 60 | color bold green default # bold on mails' body 61 | color underline yellow default # underlined 62 | color attachment color5 default # attachments 63 | color signature red default # signature 64 | color tilde blue default # ~ at the end of messages 65 | color quoted red default # quoted text 1st level 66 | color quoted1 green default # quoted text 2nd level 67 | color quoted2 magenta default # quoted text 3rd level 68 | color quoted3 yellow default 69 | color quoted4 red default 70 | color quoted5 red default 71 | color quoted6 red default 72 | color quoted7 red default 73 | color quoted8 red default 74 | color quoted9 red default 75 | #color body brightgreen default "((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-zA-Z0-9_.:]\ 76 | #*[a-zA-Z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" 77 | 78 | # Ronald J Kimball's url regexp. mutt-user 04/05/28 79 | color body brightyellow default "(https?|ftp|gopher|finger)://([^"'"'"' \t\r\n)>.,!?&]\ 80 | |[.,!?][^"'"'"' \t\r\n)>.,!?&]|&([^g]|$)|&g([^t]|$)|>([^;]|$))+" 81 | color body brightred default "[-a-zA-Z_0-9.+]+@[-a-zA-Z_0-9.]+" 82 | color body green default "(^| )_[-a-zA-Z0-9_]+_[,.?]?[ \n]" 83 | 84 | # enphasized text 85 | color body green default "[*][-[:alnum:]]+[*]" 86 | color body green default "[ ]_[-[:alnum:]]+_([ ]|\.)" 87 | 88 | # vim: syntax=muttrc 89 | -------------------------------------------------------------------------------- /.mutt/themes/blah: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/themes/blah -------------------------------------------------------------------------------- /.mutt/themes/calmar-update.sh: -------------------------------------------------------------------------------- 1 | umask 022 2 | wget http://www.calmar.ws/dotfiles/dotfiledir/colors256-dark 3 | wget http://www.calmar.ws/dotfiles/dotfiledir/colors256-light 4 | mv -v colors256-dark calmar.dark 5 | mv -v colors256-light calmar.light 6 | -------------------------------------------------------------------------------- /.mutt/themes/calmar.dark: -------------------------------------------------------------------------------- 1 | color normal white color232 2 | color indicator color226 default 3 | color tree color23 color232 4 | color status color48 color235 5 | color error color30 color232 6 | color message color50 color232 7 | color signature color70 color232 8 | color attachment color37 color232 9 | color search color100 color232 10 | color tilde color130 color232 11 | color markers color138 color232 12 | 13 | #mono bold reverse 14 | #color bold color173 color191 15 | #mono underline reverse 16 | #color underline color48 color191 17 | 18 | color quoted color107 color232 # quoted text 19 | color quoted1 color66 color232 20 | color quoted2 color32 color232 21 | color quoted3 color30 color232 22 | color quoted4 color99 color232 23 | color quoted5 color36 color232 24 | color quoted6 color114 color232 25 | color quoted7 color109 color232 26 | color quoted8 color41 color232 27 | color quoted9 color138 color232 28 | # color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" 29 | # color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" 30 | # color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 31 | # color body green default "(^| )_[-a-z0-9_]+_[,.?]?[\n]" 32 | # color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 33 | # color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" 34 | color index color35 color232 . 35 | color index color202 default ~F # Flagged 36 | color index brightwhite color232 ~N # New 37 | color index white color234 ~O 38 | # color index brightcolor39 color232 ~N # New 39 | # color index color39 color234 ~O 40 | color index color229 color22 ~T # Tagged 41 | color index color240 default ~D # Deleted 42 | 43 | ###################### 44 | 45 | #mono body reverse '^(subject):.*' 46 | #color body brightwhite magenta '^(subject):.*' 47 | #mono body reverse '[[:alpha:]][[:alnum:]-]+:' 48 | #color body black cyan '[[:alpha:]][[:alnum:]-]+:' 49 | 50 | ###################### 51 | # header 52 | 53 | color hdrdefault color30 color233 54 | color header color132 color233 '^date:' 55 | color header color153 color233 '^(to|cc|bcc):' 56 | color header color120 color233 '^from:' 57 | color header color178 color233 '^subject:' 58 | color header color31 color233 '^user-agent:' 59 | color header color29 color233 '^reply-to:' 60 | 61 | #color header magenta default '^(status|lines|date|received|sender|references):' 62 | #color header magenta default '^(pr|mime|x-|user|return|content-)[^:]*:' 63 | #color header brightyellow default '^content-type:' 64 | #color header magenta default '^content-type: *text/plain' 65 | # color header brightgreen default '^list-[^:]*:' 66 | #mono header bold '^(subject):.*$' 67 | #color header brightcyan default '^(disposition)' 68 | #color header green default '^(mail-)?followup' 69 | #color header white default '^reply' 70 | #color header brightwhite default '^(resent)' 71 | # color header brightwhite default '^from:' 72 | 73 | ###################### 74 | # spam 75 | 76 | ### html 77 | #color index blue default '~b "<(img|a |html|body)"' 78 | 79 | ### china spam 80 | #color index brightred black '~h "^(content-type:| +).*charset=\"?(big5|gb2312|SHIFT.JIS|euc.kr|windows.125[^2]|iso.[0-9]+.jp|koi[^ ;"])"' 81 | 82 | ### sex 83 | #color index brightyellow black "~b '(p$E+n$I+$S|sex|er$E+ct$I+$O+n|p$O+rn$O+|v$I+$A+gr|c$I+$A+$L+$I+$S)'" 84 | 85 | ### misc 86 | #color index cyan black '~b "(w$A+tch|r$E+p$L+$I+c$A|d$I+p$L+$O+m|d$E+gr$E+e|pr$I+ce|s$A+les|\\\$[0-9]+)"' 87 | 88 | ### drug 89 | #color index white black "~b '(ph$A+rm$A+cy|m$E+d$I+c$A+t$I+$O+n|pr$E+scr$I+pt$I+$O+n|d$I+$S+c$O+$U+nt|p$I+$L+$S|v$A+$L+$I+$U+m|v$I+c$O+d$I+n)'" 90 | 91 | 92 | #mono index bold '~h "^content-type: *(multipart/(mixed|signed|encrypted)|application/)"' 93 | #color index green black '~h "^content-type: *multipart/(signed|encrypted)"' 94 | 95 | -------------------------------------------------------------------------------- /.mutt/themes/calmar.light: -------------------------------------------------------------------------------- 1 | #light colorscheme 2 | 3 | color normal color22 color230 4 | color indicator color22 color185 5 | color tree color136 color230 6 | color status color233 color214 7 | color error color231 color160 8 | color message color231 color166 9 | color signature color240 color230 10 | color attachment color37 color230 11 | color search color21 color215 12 | color tilde color130 color230 13 | color markers color138 color230 14 | 15 | #mono bold reverse 16 | #color bold color173 color191 17 | #mono underline reverse 18 | #color underline color48 color191 19 | 20 | color quoted color19 color230 # quoted text 21 | color quoted1 color88 color230 22 | color quoted2 color55 color230 23 | color quoted3 color16 color230 24 | color quoted4 color52 color230 25 | color quoted5 color24 color230 26 | color quoted6 color96 color230 27 | color quoted7 color235 color230 28 | color quoted8 color130 color230 29 | color quoted9 color26 color230 30 | # color body cyan color230 "((ftp|http|https)://|news:)[^ >)\"\t]+" 31 | # color body cyan color230 "[-a-z_0-9.+]+@[-a-z_0-9.]+" 32 | # color body red color230 "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 33 | # color body green color230 "(^| )_[-a-z0-9_]+_[,.?]?[\n]" 34 | # color body red color230 "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 35 | # color body green color230 "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" 36 | 37 | color index color160 color230 ~F # Flagged 38 | color index color20 color228 ~N # New 39 | color index color20 color231 ~O 40 | color index color22 color221 ~T # Tagged 41 | color index color240 color230 ~D # Deleted 42 | 43 | ###################### 44 | 45 | #mono body reverse '^(subject):.*' 46 | #color body brightwhite magenta '^(subject):.*' 47 | #mono body reverse '[[:alpha:]][[:alnum:]-]+:' 48 | #color body black cyan '[[:alpha:]][[:alnum:]-]+:' 49 | 50 | ###################### 51 | # header 52 | 53 | color hdrdefault color23 color229 54 | color header color30 color229 '^date:' 55 | color header color22 color229 '^(to|cc|bcc):' 56 | color header color20 color229 '^from:' 57 | color header color124 color229 '^subject:' 58 | color header color31 color229 '^user-agent:' 59 | color header color29 color229 '^reply-to:' 60 | 61 | #color header magenta default '^(status|lines|date|received|sender|references):' 62 | #color header magenta default '^(pr|mime|x-|user|return|content-)[^:]*:' 63 | #color header brightyellow default '^content-type:' 64 | #color header magenta default '^content-type: *text/plain' 65 | # color header brightgreen default '^list-[^:]*:' 66 | #mono header bold '^(subject):.*$' 67 | #color header brightcyan default '^(disposition)' 68 | #color header green default '^(mail-)?followup' 69 | #color header white default '^reply' 70 | #color header brightwhite default '^(resent)' 71 | # color header brightwhite default '^from:' 72 | 73 | ###################### 74 | # spam 75 | 76 | ### html 77 | #color index blue default '~b "<(img|a |html|body)"' 78 | 79 | ### china spam 80 | #color index brightred black '~h "^(content-type:| +).*charset=\"?(big5|gb2312|SHIFT.JIS|euc.kr|windows.125[^2]|iso.[0-9]+.jp|koi[^ ;"])"' 81 | 82 | ### sex 83 | #color index brightyellow black "~b '(p$E+n$I+$S|sex|er$E+ct$I+$O+n|p$O+rn$O+|v$I+$A+gr|c$I+$A+$L+$I+$S)'" 84 | 85 | ### misc 86 | #color index cyan black '~b "(w$A+tch|r$E+p$L+$I+c$A|d$I+p$L+$O+m|d$E+gr$E+e|pr$I+ce|s$A+les|\\\$[0-9]+)"' 87 | 88 | ### drug 89 | #color index white black "~b '(ph$A+rm$A+cy|m$E+d$I+c$A+t$I+$O+n|pr$E+scr$I+pt$I+$O+n|d$I+$S+c$O+$U+nt|p$I+$L+$S|v$A+$L+$I+$U+m|v$I+c$O+d$I+n)'" 90 | 91 | 92 | #mono index bold '~h "^content-type: *(multipart/(mixed|signed|encrypted)|application/)"' 93 | #color index green black '~h "^content-type: *multipart/(signed|encrypted)"' 94 | 95 | -------------------------------------------------------------------------------- /.mutt/themes/color: -------------------------------------------------------------------------------- 1 | # 2 | # This theme is from H. D. Lee 3 | # 4 | # This colors file was originally taken from Rosenfeld's 5 | # Modified slightly. 6 | # Running aterm with: 7 | # aterm +sb -geometry 80x60 -bg papayawhip -fg darkgreen -e mutt 8 | # 9 | # color terminals: 10 | # (default, white, black, green, magenta, blue, cyan, yellow, red) 11 | # (bright...) 12 | # (color1,color2,...,colorN-1) 13 | # 14 | # object foreground background 15 | # 16 | color normal default default # normal text 17 | color indicator brightyellow red # actual message 18 | color tree brightmagenta default # thread arrows 19 | color status brightgreen blue # status line 20 | color error brightred default # errors 21 | color message red default # info messages 22 | color signature red default # signature 23 | color attachment green default # MIME attachments 24 | color search brightyellow red # search matches 25 | color tilde brightmagenta default # ~ at bottom of msg 26 | color markers red default # + at beginning of wrapped lines 27 | color hdrdefault blue default # default header lines 28 | color bold red default # hiliting bold patterns in body 29 | color underline green default # hiliting underlined patterns in body 30 | color quoted cyan default # quoted text 31 | color quoted1 green default 32 | color quoted2 red default 33 | color quoted3 magenta default 34 | color quoted4 blue default 35 | color quoted5 blue default 36 | # 37 | # object foreground backg. RegExp 38 | # 39 | color header red default "^(from|subject):" 40 | color body yellow default "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" 41 | color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" 42 | color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 43 | color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" 44 | 45 | uncolor index * # unset all color index entries 46 | color index brightblack default "~h ^X.Mailer..Microsoft.Outlook" 47 | color index green default ~F # Flagged 48 | color index red default ~N # New 49 | color index magenta default ~T # Tagged 50 | color index yellow default ~D # Deleted 51 | color index blue default '\[(CHRPM|Contrib-Rpm)\]' 52 | -------------------------------------------------------------------------------- /.mutt/themes/comidia: -------------------------------------------------------------------------------- 1 | # 2 | # This theme is from H. D. Lee 3 | # 4 | # This colors file was originally taken from Rosenfeld's 5 | # Modified slightly. 6 | # Running aterm with: 7 | # aterm +sb -geometry 80x60 -bg papayawhip -fg darkgreen -e mutt 8 | # 9 | # color terminals: 10 | # (default, white, black, green, magenta, blue, cyan, yellow, red) 11 | # (bright...) 12 | # (color1,color2,...,colorN-1) 13 | # 14 | # object foreground background 15 | # 16 | color normal default default # normal text 17 | color indicator brightcyan black # actual message 18 | color tree brightmagenta default # thread arrows 19 | color status cyan black # status line 20 | color error brightcyan default # errors 21 | color message cyan default # info messages 22 | color signature red default # signature 23 | color attachment green default # MIME attachments 24 | color search brightyellow red # search matches 25 | color tilde brightmagenta default # ~ at bottom of msg 26 | color markers red default # + at beginning of wrapped lines 27 | color hdrdefault blue default # default header lines 28 | color bold red default # hiliting bold patterns in body 29 | color underline green default # hiliting underlined patterns in body 30 | color quoted cyan default # quoted text 31 | color quoted1 green default 32 | color quoted2 red default 33 | color quoted3 magenta default 34 | color quoted4 blue default 35 | color quoted5 blue default 36 | # 37 | # object foreground backg. RegExp 38 | # 39 | color header red default "^(from|subject):" 40 | color body yellow default "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" 41 | color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" 42 | color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" 43 | color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" 44 | 45 | uncolor index * # unset all color index entries 46 | color index green default ~F # Flagged 47 | color index red default ~N # New 48 | color index magenta default ~T # Tagged 49 | color index yellow default ~D # Deleted 50 | color index blue default '\[(CHRPM|Contrib-Rpm)\]' 51 | color index brightblack default "~h ^X.Mailer..Microsoft.Outlook" 52 | # color index brightblack default "~n 10-20" 53 | -------------------------------------------------------------------------------- /.mutt/themes/davep: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Colour settings for mutt. 4 | # 5 | 6 | # Default colour definitions 7 | color hdrdefault black cyan 8 | color quoted red white 9 | color signature brightblack white 10 | color indicator brightwhite red 11 | color attachment black green 12 | color error red white 13 | color message blue white 14 | color search brightwhite magenta 15 | color status brightyellow blue 16 | color tree red white 17 | color normal blue white 18 | color tilde green white 19 | color bold brightyellow white 20 | color markers red white 21 | 22 | # Colour definitions when on a mono screen 23 | mono bold bold 24 | mono underline underline 25 | mono indicator reverse 26 | 27 | # Colours for items in the reader 28 | color header brightwhite cyan "^(From|Subject):" 29 | color header red cyan "^X-Junked-Because: " 30 | color header red cyan "^X-Virus-hagbard: .* FOUND" 31 | mono header bold "^(From|Subject|X-Junked-Because|X-Virus-hagbard):" 32 | 33 | # Colours for items in the index 34 | color index brightblue white ~N 35 | # color index brightgreen white "~N (~x hagbard\.davep\.org | ~h \"^In-[Rr]eply-[Tt]o: .*hagbard\.davep\.org\")" 36 | color index red white ~F 37 | color index black green ~T 38 | color index brightwhite black ~D 39 | mono index bold ~N 40 | mono index bold ~F 41 | mono index bold ~T 42 | mono index bold ~D 43 | 44 | # Highlights inside the body of a message. 45 | 46 | # URLs 47 | color body brightblue white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" 48 | color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" 49 | color body brightblue white "news:[^ \">\t\r\n]*" 50 | mono body bold "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" 51 | mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" 52 | mono body bold "news:[^ \">\t\r\n]*" 53 | 54 | # email addresses 55 | color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" 56 | mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" 57 | 58 | # Various smilies and the like 59 | color body brightgreen white "<[Gg]>" # 60 | color body brightgreen white "<[Bb][Gg]>" # 61 | color body brightgreen white " [;:]-*[)>(<|]" # :-) etc... 62 | color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text. 63 | color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text. 64 | color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text. 65 | 66 | # folder hooks for colors 67 | # folder-hook . 'color index blue white ~A' 68 | #folder-hook =.list.* 'color index red white "(~b redondos | ~s redondos)"' 69 | folder-hook =.list.* 'color body red white "[rR]edondos"' 70 | folder-hook =.list.* 'color index green white "~P"' 71 | 72 | # Sidebar 73 | # color sidebar_new green white 74 | -------------------------------------------------------------------------------- /.mutt/themes/default: -------------------------------------------------------------------------------- 1 | # Colours 2 | # foreground and background can be one of the following: 3 | 4 | # white default green magenta blue cyan yellow red default 5 | 6 | # foreground can optionally be prefixed with the keyword bright to make 7 | # the foreground color boldfaced (e.g., brightred). 8 | 9 | color indicator black red 10 | color signature brightblack default 11 | color hdrdefault cyan default 12 | color status cyan blue 13 | #color status brightred red 14 | color message white default 15 | color error red default 16 | 17 | color normal white default 18 | color quoted green default 19 | color quoted1 cyan default 20 | color quoted2 magenta default 21 | color quoted3 brightblue default 22 | color quoted4 blue default 23 | color quoted5 brightblack default 24 | 25 | color tree magenta default 26 | color tilde brightblack default 27 | color markers brightblack default 28 | color attachment red default 29 | color search black yellow 30 | color underline brightgreen default 31 | 32 | 33 | ## urls 34 | color body magenta default "(ftp|http)://[^ ]+" 35 | 36 | ## emailadress 37 | color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ 38 | 39 | ## Some colors to mark status 40 | color index yellow default ~F # Flagged 41 | color index green default ~N # New 42 | color index brightyellow default ~O # Unread 43 | color index magenta default ~T # Tagged 44 | color index red default ~g # gpg signed 45 | color index brightred default ~G # gpg encrypted 46 | 47 | ## This gives color to scored messages. 48 | color index blue default '(~n 1-1)' 49 | color index cyan default '(~n 2-2)' 50 | color index yellow default '(~n 3-3)' 51 | color index red default '(~n 4-4)' 52 | #color index red default '(~n 5-5)' 53 | #color index blue default '(~n 6-6)' 54 | #color index brightyellow default '(~n 7-7)' 55 | #color index white default '(~n 8-9)' 56 | #color index brightred default '(~n 10-99)' 57 | 58 | #lets paint those MAILER-MESSAGES a bit. 59 | color index yellow default ~fMAILER-DAEMON@* 60 | color index yellow default ~fMailer-Daemon@* 61 | 62 | ## I send myself messages with crontab as a diary. Must be important ;) 63 | color index yellow default ~fhan@cc15467* 64 | 65 | # a crontab-reminder will look something like this 66 | # 1 1 14 12 * echo ' don't forget '|mail -s subject han 67 | # this will send me an e-mail 1 minute past 1 am, 14 december. 68 | 69 | ## You can also give color to messages with a certain subject 70 | 71 | #color index brightred default '(~s"REPLAY: Score Upload Notice : seymour scored.*")' 72 | #color index brightred default '(~s"REPLAY: Tournament Upload Notice : seymour scored.*")' 73 | #color index green default '(~b"The new recording reduces your leaderboard score.")' 74 | 75 | #color index cyan default '(~s"Re:*")' 76 | #color index cyan default '(~s"RE:*")' 77 | 78 | #Should be last. So it gets the highest priority. 79 | color index blue default ~D # Deleted 80 | -------------------------------------------------------------------------------- /.mutt/themes/ice: -------------------------------------------------------------------------------- 1 | # This theme is made by tinsley. :) 2 | # But he prefers to stay anonymous so tinsley will do. 3 | 4 | color indicator black cyan 5 | color status brightgreen blue 6 | color hdrdefault cyan black 7 | color header brightgreen black ^From: 8 | color header brightcyan black ^To: 9 | color header brightcyan black ^Reply-To: 10 | color header brightcyan black ^Cc: 11 | color header brightblue black ^Subject: 12 | color body brightred black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ 13 | color body brightblue black (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+ 14 | color quoted green black 15 | color attachment brightyellow black 16 | color signature cyan black 17 | color tree red black 18 | color tilde blue black 19 | color markers brightred black 20 | -------------------------------------------------------------------------------- /.mutt/themes/kevin: -------------------------------------------------------------------------------- 1 | # Source: http://blog.kevinmeltzer.com/archives/000636.html 2 | color attachment brightmagenta black 3 | color error brightwhite red # errors yell at you in red 4 | color hdrdefault red black # headers 5 | color indicator brightyellow magenta # currently selected message 6 | color markers brightcyan black # the + for wrapped pager lines 7 | color message brightcyan black # informational messages, not mail 8 | color normal white black # plain text 9 | color quoted green black # quoted text 10 | color search brightgreen black # hilite search patterns in the pager 11 | color signature red black # signature (after "-- ") is red 12 | color status brightyellow blue # status bar is yellow *on blue* 13 | color tilde blue black # ~'s after message body 14 | color tree red black # thread tree in index menu is magenta 15 | color signature brightred black 16 | color underline yellow black 17 | color header cyan black ^(From|Subject): # Important headers 18 | color body magenta black "(ftp|http)://[^ ]+" # picks up URLs 19 | color body magenta black [-a-z_0-9.]+@[-a-z_0-9.]+ 20 | 21 | # Coloring quoted text - coloring the first 7 levels: 22 | color quoted cyan black 23 | color quoted1 yellow black 24 | color quoted2 red black 25 | color quoted3 green black 26 | color quoted4 cyan black 27 | color quoted5 yellow black 28 | color quoted6 red black 29 | color quoted7 green black 30 | 31 | # Colorize smileys: :-) ;-) :-/ :-( 32 | color body yellow black "[;:]-[)/(|]" 33 | color body yellow black "[;:][)/(|]" 34 | color body green black "[[:alpha:]]\+://[^ ]*" 35 | 36 | color index brightyellow black ~N # New 37 | color index yellow black ~O # Old 38 | color index magenta black ~F 39 | color index blue black ~T 40 | color index red black ~D 41 | -------------------------------------------------------------------------------- /.mutt/themes/lazygenestheme: -------------------------------------------------------------------------------- 1 | # $Id: lazygenestheme,v 1.1.1.1 2002/04/10 00:31:50 han Exp $ 2 | # 3 | # Colours I like 4 | color normal white black 5 | color quoted green black 6 | color quoted1 cyan black 7 | color quoted2 green black 8 | color quoted3 cyan black 9 | color indicator white red 10 | color signature blue black 11 | color hdrdefault yellow black 12 | color status white blue 13 | color message white black 14 | color error red black 15 | color body magenta black "(ftp|http)://[^ ]+" 16 | color body magenta black [-a-z_0-9.]+@[-a-z_0-9.]+ 17 | 18 | # Colours I haven't changed yet 19 | color tree magenta black 20 | color tilde magenta black 21 | color markers brightcyan black 22 | color attachment brightmagenta black 23 | color search black green 24 | color underline brightgreen black 25 | 26 | color index magenta black '(~n 1-1)' 27 | color index green black '(~n 2-2)' 28 | color index brightblue black '(~n 3-3) 29 | color index white black '(~n 4-9)' 30 | color index brightred black '(~n 10-99)' 31 | 32 | color index brightred black '(~s"REPLAY: Score Upload Notice : seymour scored.*")' 33 | color index brightred black '(~s"REPLAY: Tournament Upload Notice : seymour scored.*")' 34 | color index green black '(~b"The new recording reduces your leaderboard score.")' 35 | 36 | # Colour mutt-dev CVS commit emails brightblue on black 37 | color index brightblue black '(~s"\[\d4-\d2-\d2\] CVS commit messages")' 38 | -------------------------------------------------------------------------------- /.mutt/themes/openbsd: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'OpenBSD' --*- 3 | # By Han Boetes 4 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 5 | # I was inprired by this poster when creating this theme: 6 | # http://www.openbsd.org/art/BSDPoster2.jpg 7 | # I bought that poster at hal2001 8 | # 9 | 10 | # Colors you can use: 11 | # 12 | # white - brightwhite 13 | # yellow - brightyellow 14 | # cyan - brightcyan 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal cyan default 21 | color attachment cyan default 22 | color bold white default 23 | color underline default cyan 24 | color error yellow default 25 | color indicator blue yellow 26 | color message cyan default 27 | color status blue yellow 28 | 29 | color quoted green default 30 | color quoted1 yellow default 31 | color quoted2 blue default 32 | color quoted3 brightblack default 33 | color quoted4 brightblack default 34 | color quoted5 brightblack default 35 | 36 | color signature brightblack default 37 | #color tilde brightcyan default 38 | color tree green default 39 | color markers brightblack default 40 | 41 | color body brightyellow default "[^ <]*:\/\/[^ >]*" # for URLs 42 | color body yellow default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" # For email adresses 43 | 44 | color hdrdefault brightblack default 45 | #color header brightcyan default "^date: *" 46 | #color header brightcyan default "^from: *" 47 | #color header brightcyan default "^subject: *" 48 | #color header cyan default "^to: *" 49 | #color header cyan default "^delivecyan-to: *" 50 | #color header cyan default "^cc: *" 51 | #color header cyan default "^bcc: *" 52 | #color header brightcyan default "^reply-to: *" 53 | #color header brightcyan default "^mail-followup-to: *" 54 | #color header brightcyan default "^old-return-path: *" 55 | #color header cyan default "^x-mailer: *" 56 | #color header cyan default "^user-agent: *" 57 | #color header cyan default "^x-operating-system: *" 58 | #color header brightcyan default "^x-mailing-list: *" 59 | #color header cyan default "^in-reply-to: *" 60 | 61 | color header white default "^Content-Type:" 62 | 63 | 64 | color index white default "~N" # New 65 | color index cyan default "~O" # Unread 66 | color index yellow default "~g" # gpg signed 67 | color index brightblue default "~G" # gpg encrypted 68 | color index brightwhite default "~F" # Flagged 69 | color index brightcyan default "~T" # Tagged 70 | color index brightwhite default "~f MAILER-DAEMON@*" 71 | color index brightwhite default "~f Mailer-Daemon@*" 72 | color index brightcyan default "~t han@cc15467*" 73 | color index green default "~h ^X.Mailer..Microsoft.Outlook" 74 | color index brightblack default "~D" # Deleted 75 | -------------------------------------------------------------------------------- /.mutt/themes/openbsd.redondos: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'OpenBSD' --*- 3 | # By Han Boetes 4 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 5 | # I was inprired by this poster when creating this theme: 6 | # http://www.openbsd.org/art/BSDPoster2.jpg 7 | # I bought that poster at hal2001 8 | # 9 | 10 | # Colors you can use: 11 | # 12 | # white - brightwhite 13 | # yellow - brightyellow 14 | # cyan - brightcyan 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal cyan default 21 | color attachment cyan default 22 | color bold white default 23 | color underline default cyan 24 | color error yellow default 25 | color indicator blue yellow 26 | color message cyan default 27 | color status blue yellow 28 | 29 | color quoted green default 30 | color quoted1 yellow default 31 | color quoted2 blue default 32 | color quoted3 brightblack default 33 | color quoted4 brightblack default 34 | color quoted5 brightblack default 35 | 36 | color signature brightblack default 37 | #color tilde brightcyan default 38 | color tree green default 39 | color markers brightblack default 40 | 41 | color body brightyellow default "[^ <]*:\/\/[^ >]*" # for URLs 42 | color body yellow default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" # For email adresses 43 | 44 | color hdrdefault brightblack default 45 | #color header brightcyan default "^date: *" 46 | #color header brightcyan default "^from: *" 47 | #color header brightcyan default "^subject: *" 48 | #color header cyan default "^to: *" 49 | #color header cyan default "^delivecyan-to: *" 50 | #color header cyan default "^cc: *" 51 | #color header cyan default "^bcc: *" 52 | #color header brightcyan default "^reply-to: *" 53 | #color header brightcyan default "^mail-followup-to: *" 54 | #color header brightcyan default "^old-return-path: *" 55 | #color header cyan default "^x-mailer: *" 56 | #color header cyan default "^user-agent: *" 57 | #color header cyan default "^x-operating-system: *" 58 | #color header brightcyan default "^x-mailing-list: *" 59 | #color header cyan default "^in-reply-to: *" 60 | 61 | color header white default "^Content-Type:" 62 | 63 | 64 | color index white default "~N" # New 65 | color index cyan default "~O" # Unread 66 | #color index yellow default "~g" # gpg signed 67 | color index brightblue default "~G" # gpg encrypted 68 | color index brightwhite default "~F" # Flagged 69 | color index brightcyan default "~T" # Tagged 70 | color index brightwhite default "~f MAILER-DAEMON@*" 71 | color index brightwhite default "~f Mailer-Daemon@*" 72 | color index brightcyan default "~t han@cc15467*" 73 | #color index green default "~h ^X.Mailer..Microsoft.Outlook" 74 | color index brightblack default "~D" # Deleted 75 | -------------------------------------------------------------------------------- /.mutt/themes/phil: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Color settings for mutt. 4 | # 5 | 6 | # Source: http://aperiodic.net/phil/configs/ 7 | 8 | # Default color definitions 9 | color normal white default 10 | color hdrdefault green default 11 | color quoted green default 12 | color quoted1 yellow default 13 | color quoted2 red default 14 | color signature cyan default 15 | color indicator brightyellow red 16 | color error brightred default 17 | color status brightwhite blue 18 | color tree brightmagenta default 19 | color tilde blue default 20 | color attachment brightyellow default 21 | color markers brightred default 22 | color message white default 23 | color search brightwhite magenta 24 | color bold brightyellow default 25 | 26 | # Color definitions when on a mono screen 27 | mono bold bold 28 | mono underline underline 29 | mono indicator reverse 30 | mono error bold 31 | 32 | # Colors for items in the reader 33 | color header brightyellow default "^(From|Subject):" 34 | color header brightcyan default ^To: 35 | color header brightcyan default ^Cc: 36 | mono header bold "^(From|Subject):" 37 | 38 | # Many of these formulas were stolen from Jeremy Blosser 39 | # These would be much simpler if colors were additive. 40 | 41 | # regular new messages 42 | color index black white "~N !~T !~F !~p !~P" 43 | # regular tagged messages 44 | color index black cyan "~T !~F !~p !~P" 45 | # regular flagged messages 46 | color index black red "~F !~p !~P" 47 | # messages to me 48 | color index yellow default "~p !~N !~T !~F !~P" 49 | color index brightyellow white "~p ~N !~T !~F !~P" 50 | color index yellow cyan "~p ~T !~F !~P" 51 | color index yellow red "~p ~F !~P" 52 | # messages from me 53 | color index green default "~P !~N !~T !~F" 54 | color index green white "~P ~N !~T !~F" 55 | color index green cyan "~P ~T !~F" 56 | color index green red "~P ~F" 57 | # messages which mention my name in the body 58 | color index yellow default "~b \"phil(_g|\!| gregory)|pgregory\" !~N !~T !~F !~p !~P" 59 | color index brightyellow white "~b \"phil(_g|\!| gregory)|pgregory\" ~N !~T !~F !~p !~P" 60 | color index yellow cyan "~b \"phil(_g|\!| gregory)|pgregory\" ~T !~F !~p !~P" 61 | color index yellow red "~b \"phil(_g|\!| gregory)|pgregory\" ~F !~p !~P" 62 | # messages which are in reference to my mails 63 | color index magenta default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P" 64 | color index magenta white "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P" 65 | color index magenta cyan "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P" 66 | color index magenta red "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P" 67 | # messages to root, etc. 68 | color index cyan default "~C \"(root|postmaster|abuse|mailer-daemon)@\" !~N !~P !~p" 69 | color index cyan white "~C \"(root|postmaster|abuse|mailer-daemon)@\" ~N !~P !~p" 70 | # big messages 71 | color index brightred default "!~N ~z 10240-" 72 | color index brightred cyan "~T !~F !~p !~P ~z 10240-" 73 | color index brightred white "~N ~z 10240-" 74 | 75 | # deleted messages 76 | color index red default "!~N ~D 77 | color index red white "~N ~D" 78 | 79 | 80 | # Highlights inside the body of a message. 81 | 82 | # Attribution lines 83 | color body magenta default "\\* [^<]+ <[^>]+> \\[[^]]+\\]:" 84 | color body magenta default "(^|[^[:alnum:]])on [a-z0-9 ,]+( at [a-z0-9:,. +-]+)? wrote:" 85 | 86 | # URLs 87 | color body brightyellow default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" 88 | 89 | # email addresses 90 | color body brightmagenta default "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])" 91 | 92 | # PGP messages 93 | color body brightyellow default "^gpg: Good signature .*" 94 | color body white default "^gpg: " 95 | color body brightwhite red "^gpg: BAD signature from.*" 96 | mono body bold "^gpg: Good signature" 97 | mono body bold "^gpg: BAD signature from.*" 98 | 99 | # Various smilies and the like 100 | color body brightwhite default "<[Gg]>" # 101 | color body brightwhite default "<[Bb][Gg]>" # 102 | color body brightwhite default " [;:]-*[})>{(<|]" # :-) etc... 103 | # *bold* 104 | color body brightblue default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" 105 | mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" 106 | # _underline_ 107 | color body brightblue default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" 108 | mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" 109 | # /italic/ (Sometimes gets directory names) 110 | #color body brightblue default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" 111 | #mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" 112 | 113 | # Border lines. 114 | color body blue default "( *[-+=#*~_]){6,}" 115 | 116 | -------------------------------------------------------------------------------- /.mutt/themes/rado: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/themes/rado -------------------------------------------------------------------------------- /.mutt/themes/rado.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/themes/rado.1 -------------------------------------------------------------------------------- /.mutt/themes/rohrbach: -------------------------------------------------------------------------------- 1 | color hdrdefault green black 2 | color quoted yellow black 3 | color signature red black 4 | color indicator white blue 5 | color attachment magenta black 6 | color error red black 7 | color status white blue 8 | color tree yellow black 9 | color normal white black 10 | color body cyan black (http|ftp)://[_a-zA-Z0-9\./~\-]+ 11 | # gnupg coloring (source: kris kennaway ) 12 | color body green black "^gpg: Good signature from" 13 | color body brightred black "^gpg: Bad signature from" 14 | color body brightred black "^gpg: BAD signature from" 15 | color body brightred black "^gpg: Note: This key has expired!" 16 | color body brightyellow black "^gpg: WARNING: This key is not certified with a trusted signature!" 17 | color body brightyellow black "^gpg: There is no indication that the signature belongs to the owner." 18 | color body brightyellow black "^gpg: can't handle these multiple signatures" 19 | color body brightyellow black "^gpg: signature verification suppressed" 20 | color body brightyellow black "^gpg: invalid node with packet of type" 21 | # index coloring based on score 22 | #color index white black 23 | color index cyan black '~n -0' 24 | color index green black '~n 1-9' 25 | color index white black '~n 10-19' 26 | color index brightyellow black '~n 20-' 27 | #color index brightyellow black '~p' 28 | 29 | color header cyan black 'X-Mailer:.*Outlook' 30 | -------------------------------------------------------------------------------- /.mutt/themes/rosenfeldstheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redondos/mutt/e5dd5d3c05f4138ea62938a5c90ef1f494ad8c9b/.mutt/themes/rosenfeldstheme -------------------------------------------------------------------------------- /.mutt/themes/tomastheme: -------------------------------------------------------------------------------- 1 | # Color definitions I got from Tomas, I friendly chap I met on hal2001 2 | # 3 | 4 | #color normal white default 5 | color hdrdefault red default 6 | color quoted brightblue default 7 | color signature red default 8 | color indicator brightyellow red 9 | color error brightred default 10 | color status yellow blue 11 | color tree magenta default # the thread tree in the index menu 12 | color tilde magenta default 13 | color message brightcyan default 14 | color markers brightcyan default 15 | color attachment brightmagenta default 16 | color search default green # how to hilite search patterns in the pager 17 | 18 | color header brightred default ^(From|Subject): 19 | color body magenta default "(ftp|http)://[^ ]+" # point out URLs 20 | color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses 21 | color underline brightgreen default 22 | 23 | # attributes when using a mono terminal 24 | #mono header underline ^(From|Subject): 25 | mono quoted bold 26 | 27 | set arrow_cursor # Goes with the theme :) 28 | -------------------------------------------------------------------------------- /.mutt/themes/trans-blue: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'Cyan' --*- 3 | # By Jochem Kossen 4 | # And 5 | # Han Boetes 6 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 7 | 8 | # 9 | # Colors you can use: 10 | # 11 | # white - brightwhite 12 | # yellow - brightyellow 13 | # blue - brightblue 14 | # magenta - brightmagenta 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal white default 21 | color attachment blue default 22 | color bold brightwhite default 23 | color underline default blue 24 | color error brightwhite default 25 | color indicator black blue 26 | color message brightblue default 27 | color status default blue 28 | 29 | color hdrdefault blue default 30 | #color header brightblue default "^date: *" 31 | color header brightblue default "^from: *" 32 | color header brightblue default "^subject: *" 33 | #color header blue default "^to: *" 34 | #color header blue default "^deliveblue-to: *" 35 | #color header blue default "^cc: *" 36 | #color header blue default "^bcc: *" 37 | #color header brightblue default "^reply-to: *" 38 | #color header brightblue default "^mail-followup-to: *" 39 | #color header brightblue default "^old-return-path: *" 40 | #color header blue default "^x-mailer: *" 41 | #color header blue default "^user-agent: *" 42 | #color header blue default "^x-operating-system: *" 43 | color header brightblue default "^x-mailing-list: *" 44 | #color header blue default "^in-reply-to: *" 45 | 46 | color body brightblue default "[^ <]*:\/\/[^ >]*" # for URLs 47 | color body brightblue default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" 48 | 49 | color quoted blue default 50 | color quoted1 brightblue default 51 | color quoted2 blue default 52 | color quoted3 brightblue default 53 | color quoted4 blue default 54 | color quoted5 brightblue default 55 | 56 | color signature brightblack default 57 | color tilde brightblue default 58 | color tree blue default 59 | color markers brightblack default 60 | color index blue default "~O" # Unread 61 | color index brightblue default "~N" # New 62 | # color index blue default "~g" # gpg signed 63 | # color index brightblue default "~G" # gpg encrypted 64 | color index brightwhite default "~F" # Flagged 65 | color index brightwhite default "~T" # Tagged 66 | color index brightwhite default "~f MAILER-DAEMON@*" 67 | color index brightwhite default "~f Mailer-Daemon@*" 68 | color index brightblack default "~D" # Deleted 69 | -------------------------------------------------------------------------------- /.mutt/themes/trans-cyan: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'Cyan' --*- 3 | # By Jochem Kossen 4 | # And 5 | # Han Boetes 6 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 7 | 8 | # 9 | # Colors you can use: 10 | # 11 | # white - brightwhite 12 | # yellow - brightyellow 13 | # cyan - brightcyan 14 | # magenta - brightmagenta 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal white default 21 | color attachment cyan default 22 | color bold brightwhite default 23 | color underline default cyan 24 | color error brightwhite default 25 | color indicator black cyan 26 | color message brightcyan default 27 | color status brightcyan cyan 28 | 29 | color quoted cyan default 30 | color quoted1 brightcyan default 31 | color quoted2 cyan default 32 | color quoted3 brightcyan default 33 | color quoted4 cyan default 34 | color quoted5 brightcyan default 35 | 36 | color signature brightblack default 37 | color tilde brightcyan default 38 | color tree cyan default 39 | color markers brightblack default 40 | 41 | color body brightcyan default "[^ <]*:\/\/[^ >]*" # for URLs 42 | color body brightcyan default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" # For email adresses 43 | 44 | color hdrdefault cyan default 45 | #color header brightcyan default "^date: *" 46 | color header brightcyan default "^from: *" 47 | color header brightcyan default "^subject: *" 48 | #color header cyan default "^to: *" 49 | #color header cyan default "^delivecyan-to: *" 50 | #color header cyan default "^cc: *" 51 | #color header cyan default "^bcc: *" 52 | #color header brightcyan default "^reply-to: *" 53 | #color header brightcyan default "^mail-followup-to: *" 54 | #color header brightcyan default "^old-return-path: *" 55 | #color header cyan default "^x-mailer: *" 56 | #color header cyan default "^user-agent: *" 57 | #color header cyan default "^x-operating-system: *" 58 | color header brightcyan default "^x-mailing-list: *" 59 | #color header cyan default "^in-reply-to: *" 60 | 61 | color index brightcyan default "~N" # New 62 | color index cyan default "~O" # Unread 63 | color index blue default "~g" # gpg signed 64 | color index brightblue default "~G" # gpg encrypted 65 | color index brightwhite default "~F" # Flagged 66 | color index brightwhite default "~T" # Tagged 67 | color index brightwhite default "~f MAILER-DAEMON@*" 68 | color index brightwhite default "~f Mailer-Daemon@*" 69 | color index brightblack default "~D" # Deleted 70 | -------------------------------------------------------------------------------- /.mutt/themes/trans-gen: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script is total bollocks, just meant to amuse myself and Jochem. 4 | # But maybe someday it will deliver decent themes. Whaahaha a theming 5 | # engine for mutt. 6 | 7 | C0=black #BLACK 8 | C1=brightblack #VERYDARK 9 | C2=blue #DARK 10 | C3=brightblue #MEDIUM 11 | C4=cyan #LIGHTMEDIUM 12 | C5=brightcyan #LIGHT 13 | C6=white #BRIGHT 14 | C7=brightwhite #Brightest 15 | 16 | NAME=blah 17 | 18 | cat README > $NAME 19 | 20 | echo "color normal $C6 $C0 " >> $NAME 21 | echo "color attachment $C1 $C0 " >> $NAME 22 | echo "color bold $C7 $C0 " >> $NAME 23 | echo "color underline $C0 $C3 " >> $NAME 24 | echo "color error $C6 $C0 " >> $NAME 25 | echo "color indicator $C4 $C2 " >> $NAME 26 | echo "color message $C6 $C0 " >> $NAME 27 | echo "color status $C0 $C2 " >> $NAME 28 | 29 | echo "color quoted $C5 $C0 " >> $NAME 30 | echo "color quoted1 $C4 $C0 " >> $NAME 31 | echo "color quoted2 $C3 $C0 " >> $NAME 32 | echo "color quoted3 $C2 $C0 " >> $NAME 33 | echo "color quoted4 $C1 $C0 " >> $NAME 34 | echo "color quoted5 $C1 $C0 " >> $NAME 35 | echo "color signature $C1 $C0 " >> $NAME 36 | echo "color tilde $C1 $C0 " >> $NAME 37 | echo "color tree $C1 $C0 " >> $NAME 38 | 39 | echo "color hdrdefault $C0 $C3 " >> $NAME 40 | echo "color header $C5 $C0 " '"^date: *"' >> $NAME 41 | echo "color header $C4 $C0 " '"^from: *"' >> $NAME 42 | echo "color header $C3 $C0 " '"^subject: *"' >> $NAME 43 | echo "color header $C2 $C0 " '"^to: *"' >>$NAME 44 | echo "color header $C1 $C0 " '"^delivered-to: *"' >> $NAME 45 | echo "color header $C3 $C0 " '"^cc: *"' >>$NAME 46 | echo "color header $C3 $C0 " '"^bcc: *"' >> $NAME 47 | echo "color header $C4 $C0 " '"^reply-to: *" ' >> $NAME 48 | echo "color header $C4 $C0 " '"^mail-followup-to: *" ' >> $NAME 49 | echo "color header $C4 $C0 " '"^old-return-path: *" ' >> $NAME 50 | echo "color header $C1 $C0 " '"^x-mailer: *" ' >> $NAME 51 | echo "color header $C1 $C0 " '"^user-agent: *" ' >> $NAME 52 | echo "color header $C1 $C0 " '"^x-operating-system: *" ' >> $NAME 53 | echo "color header $C4 $C0 " '"^x-mailing-list: *" ' >> $NAME 54 | echo "color header $C3 $C0 " '"^in-reply-to: *" ' >> $NAME 55 | echo "color body $C0 $C3 " '"[^ <]*:\/\/[^ >]*" #for URLs ' >> $NAME 56 | echo "color body $C0 $C3 " '"[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" ' >> $NAME 57 | 58 | echo "color index $C3 $C0 '"~O"' # Unread " >>$NAME 59 | echo "color index $C4 $C0 '"~N"' # New " >> $NAME 60 | echo "color index $C5 $C0 '"~g"' # gpg signed " >> $NAME 61 | echo "color index $C6 $C0 '"~G"' # gpg encrypted" >> $NAME 62 | echo "color index $C7 $C0 '"~F"' # Flagged " >> $NAME 63 | echo "color index $C7 $C0 '"~T"' # Tagged " >> $NAME 64 | echo "color index $C7 $C0 '"~f MAILER-DAEMON@*"' " >> $NAME 65 | echo "color index $C7 $C0 '"~f Mailer-Daemon@*"' " >> $NAME 66 | echo "color index $C1 $C0 '"~D"' # Deleted " >> $NAME 67 | -------------------------------------------------------------------------------- /.mutt/themes/trans-green: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'Cyan' --*- 3 | # By Jochem Kossen 4 | # And 5 | # Han Boetes 6 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 7 | 8 | # 9 | # Colors you can use: 10 | # 11 | # white - brightwhite 12 | # yellow - brightyellow 13 | # green - brightgreen 14 | # magenta - brightmagenta 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal white default 21 | color attachment green default 22 | color bold brightwhite default 23 | color underline default green 24 | color error brightwhite default 25 | color indicator black green 26 | color message brightgreen default 27 | color status brightgreen green 28 | 29 | color hdrdefault green default 30 | #color header brightgreen default "^date: *" 31 | color header brightgreen default "^from: *" 32 | color header brightgreen default "^subject: *" 33 | #color header green default "^to: *" 34 | #color header green default "^delivegreen-to: *" 35 | #color header green default "^cc: *" 36 | #color header green default "^bcc: *" 37 | #color header brightgreen default "^reply-to: *" 38 | #color header brightgreen default "^mail-followup-to: *" 39 | #color header brightgreen default "^old-return-path: *" 40 | #color header green default "^x-mailer: *" 41 | #color header green default "^user-agent: *" 42 | #color header green default "^x-operating-system: *" 43 | color header brightgreen default "^x-mailing-list: *" 44 | #color header green default "^in-reply-to: *" 45 | 46 | color body brightgreen default "[^ <]*:\/\/[^ >]*" # for URLs 47 | color body brightgreen default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" 48 | 49 | color quoted green default 50 | color quoted1 brightgreen default 51 | color quoted2 green default 52 | color quoted3 brightgreen default 53 | color quoted4 green default 54 | color quoted5 brightgreen default 55 | 56 | color signature brightblack default 57 | color tilde brightgreen default 58 | color tree green default 59 | color markers brightblack default 60 | color index green default "~O" # Unread 61 | color index brightgreen default "~N" # New 62 | color index blue default "~g" # gpg signed 63 | color index brightblue default "~G" # gpg encrypted 64 | color index brightwhite default "~F" # Flagged 65 | color index brightwhite default "~T" # Tagged 66 | color index brightwhite default "~f MAILER-DAEMON@*" 67 | color index brightwhite default "~f Mailer-Daemon@*" 68 | color index brightblack default "~D" # Deleted 69 | -------------------------------------------------------------------------------- /.mutt/themes/trans-magenta: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'Cyan' --*- 3 | # By Jochem Kossen 4 | # And 5 | # Han Boetes 6 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 7 | 8 | # 9 | # Colors you can use: 10 | # 11 | # white - brightwhite 12 | # yellow - brightyellow 13 | # magenta - brightmagenta 14 | # magenta - brightmagenta 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal white default 21 | color attachment magenta default 22 | color bold brightwhite default 23 | color underline default magenta 24 | color error brightwhite default 25 | color indicator black magenta 26 | color message brightmagenta default 27 | color status brightmagenta magenta 28 | 29 | color hdrdefault magenta default 30 | #color header brightmagenta default "^date: *" 31 | color header brightmagenta default "^from: *" 32 | color header brightmagenta default "^subject: *" 33 | #color header magenta default "^to: *" 34 | #color header magenta default "^delivemagenta-to: *" 35 | #color header magenta default "^cc: *" 36 | #color header magenta default "^bcc: *" 37 | #color header brightmagenta default "^reply-to: *" 38 | #color header brightmagenta default "^mail-followup-to: *" 39 | #color header brightmagenta default "^old-return-path: *" 40 | #color header magenta default "^x-mailer: *" 41 | #color header magenta default "^user-agent: *" 42 | #color header magenta default "^x-operating-system: *" 43 | color header brightmagenta default "^x-mailing-list: *" 44 | #color header magenta default "^in-reply-to: *" 45 | 46 | color body brightmagenta default "[^ <]*:\/\/[^ >]*" # for URLs 47 | color body brightmagenta default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" 48 | 49 | color quoted magenta default 50 | color quoted1 brightmagenta default 51 | color quoted2 magenta default 52 | color quoted3 brightmagenta default 53 | color quoted4 magenta default 54 | color quoted5 brightmagenta default 55 | 56 | color signature brightblack default 57 | color tilde brightmagenta default 58 | color tree magenta default 59 | color markers brightblack default 60 | color index magenta default "~O" # Unread 61 | color index brightmagenta default "~N" # New 62 | color index blue default "~g" # gpg signed 63 | color index brightblue default "~G" # gpg encrypted 64 | color index brightwhite default "~F" # Flagged 65 | color index brightwhite default "~T" # Tagged 66 | color index brightwhite default "~f MAILER-DAEMON@*" 67 | color index brightwhite default "~f Mailer-Daemon@*" 68 | color index brightblack default "~D" # Deleted 69 | -------------------------------------------------------------------------------- /.mutt/themes/trans-red: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'Cyan' --*- 3 | # By Jochem Kossen 4 | # And 5 | # Han Boetes 6 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 7 | 8 | # 9 | # Colors you can use: 10 | # 11 | # white - brightwhite 12 | # brightblack - brightbrightblack 13 | # red - brightred 14 | # magenta - brightmagenta 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal white default 21 | color attachment red default 22 | color bold brightwhite default 23 | color underline default red 24 | color error brightwhite default 25 | color indicator default red 26 | color message brightred default 27 | color status black red 28 | 29 | color hdrdefault red default 30 | #color header brightred default "^date: *" 31 | color header brightred default "^from: *" 32 | color header brightred default "^subject: *" 33 | #color header red default "^to: *" 34 | #color header red default "^delivered-to: *" 35 | #color header red default "^cc: *" 36 | #color header red default "^bcc: *" 37 | #color header brightred default "^reply-to: *" 38 | #color header brightred default "^mail-followup-to: *" 39 | #color header brightred default "^old-return-path: *" 40 | #color header red default "^x-mailer: *" 41 | #color header red default "^user-agent: *" 42 | #color header red default "^x-operating-system: *" 43 | color header brightred default "^x-mailing-list: *" 44 | #color header red default "^in-reply-to: *" 45 | 46 | color body brightred default "[^ <]*:\/\/[^ >]*" # for URLs 47 | color body brightred default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" 48 | 49 | color quoted red default 50 | color quoted1 brightred default 51 | color quoted2 red default 52 | color quoted3 brightred default 53 | color quoted4 red default 54 | color quoted5 brightred default 55 | 56 | color signature brightblack default 57 | color tilde brightred default 58 | color tree red default 59 | color markers brightblack default 60 | color index red default "~O" # Unread 61 | color index brightred default "~N" # New 62 | color index red default "~g" # gpg signed 63 | color index brightred default "~G" # gpg encrypted 64 | color index brightwhite default "~F" # Flagged 65 | color index brightwhite default "~T" # Tagged 66 | color index brightwhite default "~f MAILER-DAEMON@*" 67 | color index brightwhite default "~f Mailer-Daemon@*" 68 | color index brightblack default "~D" # Deleted 69 | -------------------------------------------------------------------------------- /.mutt/themes/trans-yellow: -------------------------------------------------------------------------------- 1 | # 2 | # -*-- Mutt Theme 'Cyan' --*- 3 | # By Jochem Kossen 4 | # And 5 | # Han Boetes 6 | # Absolutely NO copyright (c) 2001 (Do with it whatever you like) 7 | 8 | # 9 | # Colors you can use: 10 | # 11 | # white - brightwhite 12 | # yellow - brightyellow 13 | # yellow - brightyellow 14 | # magenta - brightmagenta 15 | # blue - brightblue 16 | # green - brightgreen 17 | # black - brightblack 18 | 19 | 20 | color normal white default 21 | color attachment yellow default 22 | color bold brightwhite default 23 | color underline default yellow 24 | color error brightwhite default 25 | color indicator black yellow 26 | color message brightyellow default 27 | color status brightyellow yellow 28 | 29 | color hdrdefault yellow default 30 | #color header brightyellow default "^date: *" 31 | color header brightyellow default "^from: *" 32 | color header brightyellow default "^subject: *" 33 | #color header yellow default "^to: *" 34 | #color header yellow default "^deliveyellow-to: *" 35 | #color header yellow default "^cc: *" 36 | #color header yellow default "^bcc: *" 37 | #color header brightyellow default "^reply-to: *" 38 | #color header brightyellow default "^mail-followup-to: *" 39 | #color header brightyellow default "^old-return-path: *" 40 | #color header yellow default "^x-mailer: *" 41 | #color header yellow default "^user-agent: *" 42 | #color header yellow default "^x-operating-system: *" 43 | color header brightyellow default "^x-mailing-list: *" 44 | #color header yellow default "^in-reply-to: *" 45 | 46 | color body brightyellow default "[^ <]*:\/\/[^ >]*" # for URLs 47 | color body brightyellow default "[A-Za-z0-9_\.\-]+@[A-Za-z0-9_\.\-]*[A-Za-z0-9_\.\-]+" 48 | 49 | color quoted yellow default 50 | color quoted1 brightyellow default 51 | color quoted2 yellow default 52 | color quoted3 brightyellow default 53 | color quoted4 yellow default 54 | color quoted5 brightyellow default 55 | 56 | color signature brightblack default 57 | color tilde brightyellow default 58 | color tree yellow default 59 | color markers brightblack default 60 | color index yellow default "~O" # Unread 61 | color index brightyellow default "~N" # New 62 | color index blue default "~g" # gpg signed 63 | color index brightblue default "~G" # gpg encrypted 64 | color index brightwhite default "~F" # Flagged 65 | color index brightwhite default "~T" # Tagged 66 | color index brightwhite default "~f MAILER-DAEMON@*" 67 | color index brightwhite default "~f Mailer-Daemon@*" 68 | color index brightblack default "~D" # Deleted 69 | -------------------------------------------------------------------------------- /.mutt/themes/white: -------------------------------------------------------------------------------- 1 | # -*- muttrc -*- 2 | # 3 | # Colour settings for mutt. 4 | # 5 | 6 | # Default colour definitions 7 | color hdrdefault black cyan 8 | color quoted red white 9 | color signature brightblack white 10 | color indicator brightwhite red 11 | color attachment black green 12 | color error red white 13 | color message blue white 14 | color search brightwhite magenta 15 | color status brightyellow blue 16 | color tree red white 17 | color normal blue white 18 | color tilde green white 19 | color bold brightyellow white 20 | color markers red white 21 | 22 | # Colour definitions when on a mono screen 23 | mono bold bold 24 | mono underline underline 25 | mono indicator reverse 26 | 27 | # Colours for items in the reader 28 | color header black cyan ".*" 29 | color header brightwhite cyan "^(From|Subject):" 30 | color header red cyan "^X-Junked-Because: " 31 | color header red cyan "^X-Virus-hagbard: .* FOUND" 32 | mono header bold "^(From|Subject|X-Junked-Because|X-Virus-hagbard):" 33 | 34 | # Colours for items in the index 35 | color index brightblue white ~N 36 | # color index brightgreen white "~N (~x (refinery|twat\.com\.ar\) | ~h \"^In-[Rr]eply-[Tt]o: .*(refinery|twat\.com\.ar\)")" 37 | # 38 | # Works, but grabs whole message 39 | # color index brightcyan white '~N ( ~h "^In-[Rr]eply-[Tt]o: .*(refinery|twat\.com\.ar)" | ~x ".*(refinery|twat\.com\.ar)" )' 40 | # Changed to ~P 41 | #color index cyan white '~x ".*(refinery|twat\.com\.ar)" | ~i ".*(refinery|twat\.com\.ar)"' 42 | color index cyan white '~P | ~x ".*(refinery|twat\.com\.ar)"' 43 | color index brightcyan white '~N ( ~P | ~x ".*(refinery|twat\.com\.ar)" )' 44 | color index red white ~F 45 | color index black green ~T 46 | color index brightwhite black ~D 47 | mono index bold ~N 48 | mono index bold ~F 49 | mono index bold ~T 50 | mono index bold ~D 51 | 52 | # Highlights inside the body of a message. 53 | 54 | # URLs 55 | color body brightblue white "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" 56 | color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" 57 | color body brightblue white "news:[^ \">\t\r\n]*" 58 | mono body bold "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" 59 | mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" 60 | mono body bold "news:[^ \">\t\r\n]*" 61 | 62 | # email addresses 63 | color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" 64 | mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" 65 | 66 | # Various smilies and the like 67 | color body brightgreen white "<[Gg]>" # 68 | color body brightgreen white "<[Bb][Gg]>" # 69 | color body brightgreen white " [;:]-*[)>(<|]" # :-) etc... 70 | color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text. 71 | color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text. 72 | color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text. 73 | -------------------------------------------------------------------------------- /.mutt/vim/commands: -------------------------------------------------------------------------------- 1 | :1 2 | /^$ 3 | :nohlsearch 4 | /^-- 5 | O 6 | --------------------------------------------------------------------------------