[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] customizing templates

From: scrumpyjack
Subject: Re: [Nmh-workers] customizing templates
Date: Thu, 15 Sep 2016 15:07:11 +0100

> >I'm at the stage where I'd like to customise the templates a little.
> So, these are written in a kind of strange little language.  It's documented
> relatively completely in mh-format(5).  As of 1.6 we include fmttest(1)
> which you can use to help debug your format script.

Thank you. I have indeed been reading both the man pages and the rand-mh book 
on fs.net
Both are very helpful.

> >How can I change that to: "for From: use the address passed
> >as the -from switch, or use address@hidden
> Local-Mailbox: My Name <address@hidden>


> >%(void(localmbox))%(void(width))%(putaddr From: )
> >
> >How can I change that to: "for From: use the "Delivered-to:"
> >header or address@hidden
> Well, the manual would explain that, but it's pretty dense.  Here's
> something that should work:
> %<{delivered-to}%|%(void(localmbox))%>%(void(width))%(putaddr From: )

I got so close to that, but always with errors. I'll try fmttest next time.

The mhl man page confuses me. It suggests that mhl looks in
"user's nmh directory" for mhl.format. Is that defined by Path: in .mh_profile?

How do I supress all headers in mhl except those i specifically list?
I see that mhl(1) tells me to list those I want to ignore, then I got confused
by three paragraphs explaining it.

thanks for all your help.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]