Re: choices on reading HTML emails

2018-04-10 Thread Omen Wild
Quoting Chris Green  on Tue, Apr 10 09:44:
>
> The muttfox script just calls a local or remote firefox it's only
> necessary because I run mutt via ssh remotely someetimes.  For normal
> use you can just call firefox directly.

Can you share this script? I have the same issue, but have been manually
working around it over SSH.

-- 
If everyone were happy all the time, musicians would be out of a job.


smime.p7s
Description: S/MIME cryptographic signature


Re: Viewing HTML in a real browser

2013-12-14 Thread Omen Wild
Quoting Chris Down ch...@chrisdown.name on Sat, Dec 14 20:27:

 Occasionally I get complex HTML e-mails that don't quite work in w3m
 (which is what I have in my mailcap to view text/html). In these
 instances, I would like to be able to somehow view these in my browser.
 Right now my procedure is this:

muttils http://www.blacktrash.org/hg/muttils/ has a viewhtmlmsg
program designed exactly for this.

macro index,pager V |viewhtmlmsg\n View HTML msg in browser

-- 
Afternoon, n.: That part of the day we spend
worrying about how we wasted the morning.


smime.p7s
Description: S/MIME cryptographic signature


Re: mairix search

2011-05-05 Thread Omen Wild
Quoting Tim Gray lists+m...@protozoic.com on Fri, May 06 00:12:

 Correct me if I'm wrong, but don't mu and/or mairix require to use a
 from: of f: tag and only match on complete addresses?

By default all matches are exact, which is nice for subject or body
searches, but not so nice for addresses.  You can do a substring match
with =, i.e. `f:omen=' would find all message with the string omen in
the from header.  You can anchor to the start of a word with ^,
`f:^omen='.

-- 
As of next week, passwords will be entered in Morse code.


smime.p7s
Description: S/MIME cryptographic signature


Re: mairix search

2011-05-02 Thread Omen Wild
Quoting Ed Blackman e...@edgewood.to on Mon, May 02 18:00:

 That sounds really interesting.  Any chance you would be willing to
 share it?

 Sure.  I've attached it.

Thanks!

 Patches and suggestions welcome.  If there are people interested in  
 hacking on it, I'd be happy to start a little github project.

I'll start looking at it in the next couple days.

-- 
The soul would have no rainbow had the eyes no tears.


signature.asc
Description: Digital signature


Re: what hours correspondent is most active in?

2010-08-09 Thread Omen Wild
On 10-Aug-10 01:15, Chip Camden wrote:
 Is there any plugin or script which is able to collect time stamps of
 all emails from some specific email address and to draw a statistical
 chart answering to question: what hours correspondent is most active in?

I went for the simple shell only command:
egrep -h ^Delivery-date:  ~/Maildir/inbox/cur/* | cut -d: -f2 | cut -d  
-f6| sort | uniq -c | sort -n -k2

Delivery-date may be Exim4 specific, adjust to suite your MTA.  Should
work for both Maildir and mbox by adjusting which file(s) the egrep
runs against.  It doesn't actually graph, but it shows the number of
emails delivered by hour (00 - 23).

-- 
Blessed is the man who is too busy to worry in
the daytime and too sleepy to worry at night.


signature.asc
Description: Digital signature


Re: Occasional Stale NFS file handle messages from mutt

2010-07-27 Thread Omen Wild
Quoting Chris G c...@isbd.net on Tue, Jul 27 22:10:

 I use my home brew python delivery program because it (for me) is much
 better than procmail or similar.  In particular I can add a mailing
 list entry to a *single* configuration file and everything
 automagically works - mutt gets its Lists/Subscribe entries, the maill
 gets delivered to the right mailboxes, etc.

That sounds really slick, any chance you could share?

-- 
According to the latest official figures, 43% of all statistics are
totally worthless.


smime.p7s
Description: S/MIME cryptographic signature


Re: SSL encrypts for recipients only

2009-07-17 Thread Omen Wild
Quoting Bertram Scharpf li...@bertram-scharpf.de on Fri, Jul 17 00:24:

 I'm just beginning to understand SSL encryption but so far
 everything works well. Yet, there's one thing I miss: When given
 an Fcc field, this recipient (myself) will not be included in the
 list handed over to openssl.

I created a patch for this back in 2002 that adds a quad-option called
smime_encrypt_self that enables mutt to encrypt to your default S/MIME
key too.  Patch is available from http://www.mandarb.com/mutt/, named
`patch-1.5.19-ow.smime-encrypt-self.1'.

Omen

-- 
A professor is one who talks in someone else's sleep.


smime.p7s
Description: S/MIME cryptographic signature


Re: S/MIME encrypt-to functionality as in GnuPG

2002-09-26 Thread Omen Wild

Quoting Omen Wild [EMAIL PROTECTED] on Wed, Sep 25 10:37:

 I'll look into this.  If that's the cause, then the problem is between
 my keyboard and chair, not yours.  ;-)

For anyone following this, the problem was indeed on my end.  I have an
updated patch, available from
http://descolada.dartmouth.edu/mutt/patch-1.5.1-ow.smime-encrypt-self.2
for anyone interested.

Omen

-- 
Too much of a good thing is WONDERFUL.



smime.p7s
Description: application/pkcs7-signature


Re: S/MIME encrypt-to functionality as in GnuPG

2002-09-25 Thread Omen Wild

Quoting Ren? Clerc [EMAIL PROTECTED] on Wed, Sep 25 15:01:
 
 Typically PEBCAK. The segfault was a result of not setting this
 variable. Strange side-effect, of course, but it works now!

I'll look into this.  If that's the cause, then the problem is between
my keyboard and chair, not yours.  ;-)

Omen

-- 
Hlade's Law:  If you have a difficult task, give it to
a lazy person -- they will find an easier way to do it.



smime.p7s
Description: application/pkcs7-signature


Re: S/MIME encrypt-to functionality as in GnuPG

2002-09-24 Thread Omen Wild

Quoting Ren? Clerc [EMAIL PROTECTED] on Tue, Sep 24 19:08:

 I'm looking for the S/MIME equivalent of the GnuPG option:
 
 encrypt-to key-id

As far as I could tell, it doesn't exist.  This patch add that
functionality.  Set $smime_encrypt_self to true and S/MIME encrypted
messages you send will also be encrypted to $smime_default_key.

Omen

-- 
Disclaimer: These opinions are my own,
though for a small fee they be yours too.


? .command.sh
? .config
? ^
? patch-1.5.1-ow.smime-encrypt-self.1
? patchlist.c
? pgpewrap
? smime_keys
Index: crypt.c
===
RCS file: /home/roessler/cvs/mutt/crypt.c,v
retrieving revision 3.8
diff -u -d -b -B -r3.8 crypt.c
--- crypt.c 26 Mar 2002 22:23:57 -  3.8
+++ crypt.c 28 Aug 2002 21:57:19 -
@@ -243,6 +243,13 @@
 #ifdef HAVE_SMIME
 if (msg-security  APPLICATION_SMIME)
 {
+  if (OPTSMIMEENCRYPTSELF  SmimeDefaultKey) {
+ int keylist_size;
+
+ keylist_size = mutt_strlen(keylist) + mutt_strlen (SmimeDefaultKey) 
++ 1;
+ safe_realloc ((void **)keylist, keylist_size);
+ sprintf (keylist +  mutt_strlen(keylist), %s\n, SmimeDefaultKey);  
+ /* __SPRINTF_CHECKED__ */
+  }
   if (!(tmp_pbody = smime_build_smime_entity (tmp_smime_pbody, keylist)))
   {
/* signed ? free it! */
Index: init.h
===
RCS file: /home/roessler/cvs/mutt/init.h,v
retrieving revision 3.20
diff -u -d -b -B -r3.20 init.h
--- init.h  9 Aug 2002 06:58:35 -   3.20
+++ init.h  28 Aug 2002 21:57:20 -
@@ -1508,6 +1508,11 @@
 #endif /* HAVE_PGP */
   
 #ifdef HAVE_SMIME
+  { smime_encrypt_self,  DT_BOOL, R_NONE, OPTSMIMEENCRYPTSELF, 
+1 },
+  /*
+  ** .pp
+  ** Encrypt the message to smime_default_key too.
+  */
   { smime_timeout,   DT_NUM,  R_NONE, UL SmimeTimeout, 300 },
   /*
   ** .pp
Index: mutt.h
===
RCS file: /home/roessler/cvs/mutt/mutt.h,v
retrieving revision 3.10
diff -u -d -b -B -r3.10 mutt.h
--- mutt.h  24 Jul 2002 09:46:50 -  3.10
+++ mutt.h  28 Aug 2002 21:57:20 -
@@ -437,6 +437,7 @@
   OPTCRYPTREPLYSIGNENCRYPTED,
   OPTCRYPTTIMESTAMP,
 #ifdef HAVE_SMIME
+  OPTSMIMEENCRYPTSELF,
   OPTSMIMEISDEFAULT,
   OPTASKCERTLABEL,
   OPTSDEFAULTDECRYPTKEY,
Index: PATCHES
===
--- PATCHES~Tue Nov  6 19:59:33 2001
+++ PATCHES Tue Nov  6 19:59:42 2001
@@ -1,0 +1 @@
+patch-1.5.1-ow.smime-encrypt-self.1



smime.p7s
Description: application/pkcs7-signature


Re: mutt and exchange

2002-09-04 Thread Omen Wild

Quoting Gregory Seidman [EMAIL PROTECTED] on Wed, Sep 04 15:21:

 Unfortunately, the job I now have uses MS Exchange for email and I
 can't seem to get mutt talking to it.

At my previous job it took me a while to get fetchmail working with
Exchange.  It has been a while, but I seem to remember that my username
included the Windows Workgroup in it: \\WORKGROUP\USERNAME.  Or maybe
after escaping the backslashes it was this: WORKGROUP\\USERNAME .
Try something like that.

Omen

-- 
Remember, UNIX spelled backwards is XINU.



smime.p7s
Description: application/pkcs7-signature


[patch 1.5.1] have S/MIME check the from for a keyid

2002-06-24 Thread Omen Wild

I have been looking into the mailing list software sympa and one of its
features is that when you send an S/MIME mail encrypted to the list, it
will re-encrypt for each recipient.  The problem is that the mail shows
as being from me and to the list, so S/MIME was unable to find a key to
use to decrypt it.  I have patched smime.c:smime_getkeys so it checks
if there is a key that matches the From: and tries to use that. I can
now read encrypted emails that are sent to me by sympa.

Omen

-- 
Acid absorbs 47 times it's weight in excess Reality.


--- PATCHES~Tue Nov  6 19:59:33 2001
+++ PATCHES Tue Nov  6 19:59:42 2001
 -1,0 +1 
+patch-1.5.1.ow.smime_from.1
Index: smime.c
===
RCS file: /home/roessler/cvs/mutt/smime.c,v
retrieving revision 3.23
diff -u -d -b -B -U8 -r3.23 smime.c
--- smime.c 1 May 2002 23:21:10 -   3.23
+++ smime.c 24 Jun 2002 21:21:08 -
 -781,16 +781,22 
 
   for (t = env-to; !found  t; t = t-next)
 if (mutt_addr_is_user (t))
 {
   found = 1;
   _smime_getkeys (t-mailbox);
 }
   for (t = env-cc; !found  t; t = t-next)
+if (mutt_addr_is_user (t))
+{
+  found = 1;
+  _smime_getkeys (t-mailbox);
+}
+  for (t = env-from; !found  t; t = t-next)
 if (mutt_addr_is_user (t))
 {
   found = 1;
   _smime_getkeys (t-mailbox);
 }
   if (!found  (t = mutt_default_from()))
   {
 _smime_getkeys (t-mailbox);



Re: People who don't wrap their lines

2002-02-09 Thread Omen Wild

Quoting Peter Whiting [EMAIL PROTECTED] on Fri, Feb 08 14:01:
 On Fri, Feb 08, 2002 at 02:35:27PM -0500, Omen Wild wrote:
  
  # Wrap long lines
  macro pager ~@won enter-commandset display_filter=\par 73qe\; macro pager 
\\cw ~@woff\ndisplay-toggle-weeddisplay-toggle-weed
  macro pager ~@woff enter-commandset display_filter=''; macro pager \\cw 
~@won\ndisplay-toggle-weeddisplay-toggle-weed
  macro pager \cw ~@won Toggle line wrapping

[ snip ]

 trick is to store the file so you can pump it twice through (sed|formail)
 and then recombine the output.

I wanted to try this so I whipped up the attached perl script.  It
reads in the message from stdin, writes the body to a file, has par
reformat the body, and then prints out the headers (unchanged) and the
body.  par does nasty things to the GPG verification lines, but at
least the headers are untouched.  ;-)

Omen

-- 
What is this talk of 'release'?  Klingons do not make software
'releases'.  Our software 'escapes,' leaving a bloody trail of
designers and quality assurance people in its wake. 


#! /usr/local/bin/perl -w

use strict;

use Data::Dumper;
use POSIX qw/tmpnam/;

my $PROGRAM = ($0 =~ /^(.*\/){0,1}(.+)/)[1];

my $name = tmpnam();

END {
  if ( -f $name) {
unlink($name);
  }
}


my @headers;
my @body;

while (my $line = ) {
  if(! @body  $line !~ m/^$/) {
push(@headers, $line);
  } else {
push(@body, $line);
  }
}

open(BODY, $name) or die $PROGRAM: unable to open tmpfile '$name': $!\n;
print BODY @body;
close(BODY);

my $fmt = `cat $name | par 72qe`;

print @headers, \n, $fmt;



msg24374/pgp0.pgp
Description: PGP signature


Re: People who don't wrap their lines

2002-02-08 Thread Omen Wild

Quoting Will Yardley [EMAIL PROTECTED] on Fri, Feb 08 09:48:
 
 i think the original poster's problem wasn't editing the message, but
 viewing it in mutt's internal pager.

You can do something like this (shamelessly copied from some rot13
macros previously posted):

# Wrap long lines
macro pager ~@won enter-commandset display_filter=\par 73qe\; macro pager \\cw 
~@woff\ndisplay-toggle-weeddisplay-toggle-weed
macro pager ~@woff enter-commandset display_filter=''; macro pager \\cw 
~@won\ndisplay-toggle-weeddisplay-toggle-weed
macro pager \cw ~@won Toggle line wrapping

Someone who knows par could probably make the command a little smarter.
That was what I gleaned from a 10 minute browse of the manual.

Also, it munges the headers as well.  I don't know how to get par to
skip the headers, and mutt doesn't seem to have a way to only filter
the body.

-- 
What is this talk of 'release'?  Klingons do not make software
'releases'.  Our software 'escapes,' leaving a bloody trail of
designers and quality assurance people in its wake. 



msg24330/pgp0.pgp
Description: PGP signature


Re: How to discern underlying threads

2000-06-07 Thread Omen Wild

Date: Wed, Jun 07 16:12
Quoting Yip Weng ([EMAIL PROTECTED]):
 By default, my .muttrc collapses all threads. I find it difficult to
 distinguish between (i) mail with underlying threads, and (ii)
 singular mail.

Try something like this in your .muttrc:
set index_format="%3C %Z %[%a, %b %e %H:%M] %-15.15F %?M?(#%3M)(%4c)? %s"

The key part is '%?M?(#%3M)(%4c)?'.  This will show up like this in the 
index:
  8 Tue, May  9 11:42 Thomas Roessler (1.4k) [Announce] mutt-1.2 is out.
  9 Wed, Jun  7 12:12 Yip Weng(#  2) How to discern underlying threads

That is, collapsed thread will have (# NUM) in them.

Omen