Bill Wohler | 24 Aug 23:00

MH-E 8.1 released

Project home page at: http://mh-e.sourceforge.net/.

* Changes in MH-E 8.1

Version 8.1 fixes some issues with forwarding messages, respects the
MH environment variable, adds the abilities to use aliases with GPG
and show HTML even though it is discouraged. A new hook,
`mh-annotate-msg-hook', has been added.

** New Features in MH-E 8.1

*** Showing HTML When Text Is the Preferred Alternative

The `:' (`mh-show-preferred-alternative') function displays the
message with the default preferred alternative. This is as if
`mm-discouraged-alternatives' was set to nil (closes SF #1777321).

** New Variables in MH-E 8.1

*** mh-annotate-msg-hook

The `mh-annotate-msg-hook' hook is run whenever a message is sent and
after the scan lines and message are annotated. Hook functions can
access the current folder name with `mh-current-folder' and obtain the
message numbers of the annotated messages with `mh-annotate-list'
(closes SF #2032269).

** Bug Fixes in MH-E 8.1

*** Can't Use Aliases with GPG
(Continue reading)

Eric Gillespie | 20 Aug 05:05

BUG in quoted-printable message with PGP-encrypted text

MH-E 8.0.3+cvs

MH-E compilation details:
 Byte compiled:		yes
 Gnus (compile-time):	Gnus v5.13
 Gnus (run-time):	Gnus v5.13

GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, X toolkit)
 of 2008-08-09 on wundagore.diplodocus.org

nmh 1.3-dev
 mh-progs:	/usr/local/nmh/bin
 mh-lib:	/usr/local/nmh/etc
 mh-lib-progs:	/usr/local/nmh/lib

Linux wundagore.diplodocus.org 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

I've attached a message from launchpad.net.  The body is encoded
in quoted-printable, and it contains OpenPGP text.  MH-E offers
to decode it, but fails before asking for a passphrase.  After I
manually copied the text into gpg --decrypt and saw the same
behavior, I noticed the '=3D' at the end.  MH-E has no trouble
decoding other quoted-printable messages, so I guess this is a
bug in the interaction between these two features.

Hmm, actually, I see that MH-E isn't decoding the rest of the
body, either.  If I remove the OpenPGP block from a copy of this
message, MH-E then decodes it correctly.

Gnus is able to decrypt the message with no trouble, via nnmh:inbox.
(Continue reading)

asterix | 1 Aug 12:18

posting messages from a laptop via smtp with tls

Today I solve this problem,

>but I cannot get it to work as a drop in replacement [which it should
>be] for sendmail; in my global mts.conf I have:

>mts: sendmail
>sendmail: /usr/local/bin/msmtp

This is right, to must compile nmh with --whit-nts=sendmail opt,
then you should say to nmh that you want use a msmtp.
To do this you write in ~/.mh_profile the follow line:

postproc: /usr/nmh/lib/spost

(check the path of spost programm, generally is in nmh/lib)

.. and now you can send mail with msmpt client

the problem is that: the post program send mail to your MTA, suppose that is a
demon, and is running on  your system like smtp, while spost send a mail in one
shost, running sendmail and command it to send the mail that its receive in pipe.

daniele

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)

Douglas Alan | 30 Jul 18:17

MH-E with Gnu Mailutils and Gmail

Hey, has anyone gotten MH-E to work with Gnu Mailutils backed by Gmail
using IMAP?  (And had it work well?)  It seems to me that if that
worked, it would be "killa".

|>oug

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Jon Fairbairn | 9 Jul 11:25
X-Face

mail-citation-hook, mail-citation-header


I've been using mh for longer than I can remember¹, and exmh
pretty much since it became available. I've never liked exmh
much and a recent os upgrade to Fedora 9 has made font
selection in exmh unworkable, so I've started using mh-e
instead.  I'm pretty familiar with elisp, so a bit of
tweaking has got it to do more-or-less what I want.

I'm stuck on inserting the appropriate from field when
replying.  I have numerous addresses, and when I reply to a
message sent to one of them, I want to extract that address
from the recipients list of the message being replied to and
put in a From: component. Given the recipients list, getting
the right address is straightforward, but getting hold of
the recipients of the original message escapes me. I've
tried several different methods:

1) define mail-citation-hook. Documentation for
mail-citation-hook says 

   The hook functions can find the header of the cited
   message in the variable `mail-citation-header', whether
   or not this is included in the cited portion of the
   message.

which would be fine, except that mail-citation-header always
seems to be nil when called by mh-reply.

2) Use repl[group]comps to insert an
X-replied-to-message-recipients header, and then put
(Continue reading)

Bill Wohler | 29 Jun 20:55

Re: [gmane.mail.nmh.devel] nmh 1.3 has been released

Bill Wohler <wohler <at> newt.com> wrote:

> <#mml type=message/rfc822 disposition=inline>

Wonder why Gnus didn't Do The Right Thing...

--

-- 
Bill Wohler <wohler <at> newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Stephen Eglen | 29 Jun 14:54

posting messages from a laptop via smtp with tls

Hi,
has anyone got any tips on setting up nmh to send mail from a laptop?
My university allows connections to a smtp server, but TLS
authentication is required, which nmh doesn't have.  I've installed
gnu-tls so have been able to get email sent from the laptop using GNUS
(i.e. M-x message-mail) with a config along the lines of:

  (require 'smtpmail)
  (setq message-send-mail-function 'smtpmail-send-it)
  (setq smtpmail-smtp-server "smtp.hermes.cam.ac.uk")
  (setq smtpmail-smtp-service 587)
  (setq smtpmail-auth-credentials
	'(("smtp.hermes.cam.ac.uk" 587 USERID PASSWD)))

and this works because gnus handles  smtp and tls.

I thought the solution might be to configure sendmail on my laptop (a
mac, running OS X), but that looked too complex, so I tried "msmtp",
http://msmtp.sourceforge.net/, which works ok from the command line:

 $echo foo | msmtp email <at> domain.com

but I cannot get it to work as a drop in replacement [which it should
be] for sendmail; in my global mts.conf I have:

mts: sendmail
sendmail: /usr/local/bin/msmtp

but then when I try sending email via nmh or MH-E I get a broken pipe
error message:
(Continue reading)

Stephen Eglen | 18 Jun 15:00

Patch for mh-show.el


Please find attached a patch against mh-show.el from today's CVS Emacs.
(I've not committed the patch to CVS Emacs, please let me know if you
are happy for this to happen.)

It is a simple change to the doc strings created by the macro
mh-defun-show-buffer so that the original function is quoted using `...'
rather than "..."; this is becasue Emacs automatically checks to see if
text within `...' is either a function or variable name (& if it is,
makes a hyperlink to the doc for that function/variable).

I hope this makes sense -- and if so, I can check elsewhere for similar
usage.

Stephen

*** /tmp/ediff12761ufI	Wed Jun 18 13:57:50 2008
--- /data/notch/PUBLIC/sje30/NOBACKUP/compiles/emacs/lisp/mh-e/mh-show.el	Wed Jun 18 13:57:45 2008
***************
*** 358,364 ****
  If the buffer we start in is still visible and DONT-RETURN is nil
  then switch to it after that."
    `(defun ,function ()
!      ,(format "Calls %s from the message's folder.\n%s\nSee \"%s\" for more info.\n"
                original-function
                (if dont-return ""
                  "When function completes, returns to the show buffer if it is
--- 358,364 ----
  If the buffer we start in is still visible and DONT-RETURN is nil
  then switch to it after that."
(Continue reading)

Pete Phillips | 18 Jun 09:10

wildcard expressions for default folder lists

I deal with people from a number of agencies/organisations. Each time a
new member of staff starts, I end up having to manually add their
mh-default-folder-list entry.

I'd like the ability to set mh-e default folder patterns so that when
they match the domain part of the email address, the default folder name
is generated to my specification, and the full name is appended.  To
clarify:

Email from

    John.Doe <at> whe.wales.nhs.uk

would match a pattern, something like

    whe.wales.nhs.uk  +WHE/

and the email would be filled as 

    +WHE/john.doe

This means that when new staff join these organisations I don't have to
manually set up a new entry in mh-default-folder-list.

As icing on the cake, any patterns which didn't match these, I would
want to be filed under +Contacts by default, so email from

	Jim.Davies <at> ukcorp.com 

would be filed under 
(Continue reading)

Stephen Eglen | 12 Jun 17:21

Adding signatures to mail


As a new switcher to mh-e, I've noted a few small differences between
mh-e and the other emacs mailers.  I thought I'd mention this one in case
the developers are interested in aligning the various mailers a bit more.

In both M-x mail and M-x message-mail, the key for adding signatures is
C-c C-w rather than C-c C-s (although you could argue that C-c C-s does
make more sense).  

Both mail and message by default put the signature at the end of the
buffer, rather than at point.  Would you consider changing
mh-insert-signature to default to putting the text at the end of the
buffer?  (mail-signature and message-insert-signature differ in that
with mail-signature, point is unaffected by adding the signature, which
seems preferrable to moving it to after the sig.)

Thanks, Stephen

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Stephen Eglen | 6 Jun 04:46

Switching from VM to mh-e

Hi,

After using RMAIL for 3 years and VM for about 11 years, I've now
decided its time to switch mailer again.  (VM is starting to show a few
issues with CVS Emacs, and I would prefer a mailer that came bundled
with GNU Emacs...)  I've spent the last week or so trying GNUS for
reading email, but have not yet found it to be what I'm looking for,
and after reading most of the info for mh-e, think it might suit my
needs.  I thought I'd ask a few questions though before diving in:

1. I do like the VM/RMAIL way of keeping mail in mbox format, and am not
sure yet if I'll "like" the switch to the onefile per message format.
In particular, I'm concerned about how it might interfere with my
backup/syncing process.  (I keep my desktop and laptop in sync using
"unison".)  I saw a recent thread on the nmh mailing list noting this as
a concern, and wondered if anyone here had anything to say -- do the
file names change often?  (I'm not sure what the "folder pack" operation
is -- is it renaming of files so that they are in a contiguous
sequence?)  Does mh-e often rename files within a message folder?

http://lists.gnu.org/archive/html/nmh-workers/2008-05/msg00043.html

2. I have many years worth of files in mbox format -- I probably won't
convert most of them, but is there anyway of converting between mbox
and mh format?  (Both ways, in case I decide I don't stick with mh-e?)
I guess Gnus might help here, as it can read both types.

3. I didn't see any mention of parsing ~/.aliases in the manual -- is it
not used?  (I use mailabbrev.el for dynamically expanding aliases, and
assume that could fit into mh-e somehow... I know enough elisp and, like
(Continue reading)


Gmane