Re: [Nmh-workers] nmh's future versus mailutils-mh?

2003-10-22 Thread Ralph Corderoy
Hi Peter, mailutils-mh is clearly not a mature project yet, since given that it rides on top on GNU mailutils once it fully works it should provide lots of functionality (POP, IMAP, etc). This is not meant to be flamebait, so please don't see it as such. I'm just wondering about the

Re: [Nmh-workers] Getting mhbuild to attach a directory

2003-11-14 Thread Ralph Corderoy
Hi Norman, I wonder if somebody could answer two questions for me. How can I attach a directory (preferably compressed) and, recursively, its contents to a message? How could I have answered this question for myself? Neither man mhbuild nor 'cat /etc/nmh/mhn.defaults' helped.

Re: [Nmh-workers] Alternative list archive at mhonarc.org

2004-07-29 Thread Ralph Corderoy
Hi Bill, For me at least, the damage has been done long, long ago. I'm generally against obfuscation since the spammers will get your address one way or another anyway, and it only makes it harder for legitimate people to contact one another. Agreed. Windows viruses will soon be sending

Re: [Nmh-workers] Nmh status - working on nmh (mailutils)

2004-09-18 Thread Ralph Corderoy
Hi Jon, I seem to recall (an I may be wrong here), that mailutils did a one-folder-per-file thing, instead on nmh's one-message-per-file. I don't want to lose one-message-per-file, it's one of nmh's great strengths. I thought it had separated back-end storage from front end commands, e.g.

Re: [Nmh-workers] nmh updates

2004-10-13 Thread Ralph Corderoy
Hi, IMHO... Not only does leaving out those files require one to have autoconf, etrc, it also requires one to have the right version of autoconf, they all tend to be just a bit different, and if someone has a different version than the one the package assumes, very odd effects can

[Nmh-workers] Wishlist: Extracting Attachments from Email.

2004-11-23 Thread Ralph Corderoy
Hi, Here's a wishlist item. Not because I think there's someone with the time to work on it, but because I thought it worth making public; perhaps someone knows how to already do this. I keep lots of old emails. Some of those come with attachments, some large ones. MIME-encoding isn't a

Re: [Nmh-workers] Wishlist: Extracting Attachments from Email.

2004-11-23 Thread Ralph Corderoy
Hi, Ken wrote: Is this 1.1RC3, or something different (such as 1.1 final)? Look at the download area (http://savannah.nongnu.org/download/nmh/); it should be obvious. For the aid of those without ready Internet access whilst reading their email the above URL has nmh-1.1-RC3.tar.gz

Re: [Nmh-workers] Bug? mhstore Will Use Same File.

2004-11-24 Thread Ralph Corderoy
Hi Valdis, Also, if we're extending the functionality, we should include the following checks: 1) Filter the pathname for .. and absolute pathnames - or possibly totally ignore all path information and save the base filename in Mail/ Have you seen mhstore(1)'s nmh-storage option? That

Re: [Nmh-workers] show's checkmime

2005-01-22 Thread Ralph Corderoy
Hi Valdis, Seems sane, except for one little detail. There's the corner case where (for instance) the $LANG is set to something like fr_FR.UTF-8 (which means that the system understands UTF-8, but it's quite possible that for actual display, we can't be sure that we have all UTF-8

Re: [Nmh-workers] Question on compath() in sbr/path.c

2005-01-31 Thread Ralph Corderoy
Hi, Scott wrote: The /bin/pwd command is an external command that doesn't necessarily know how the user got to the current directory. It probably just has something stored in the process describing the real on-disk directory and uses that without knowing how the process actually got to that

Re: [Nmh-workers] tempfile creation

2005-04-28 Thread Ralph Corderoy
Hi mo, the reference-count semantics are immensely useful, but not without cost. it complicates the design of NFS no small amount and is why hard links cannot cross demountable volumes. however, doing without those semantics is very difficult to imagine. What you say is true, but it may

Re: [Nmh-workers] sorting on X-Spam headers

2005-04-28 Thread Ralph Corderoy
Hi Jerry, You could do it with a short script. Feed the script a list of message numbers and X-Spam-Status header fields with this: scan -format '%(msg) %{x-spam-status}' The output of that will look like this: 1 No, hits=-31.6 2 Yes, hits=23.2 3 No, hits=1.3 ... Some fix-up

Re: [Nmh-workers] nmh current development

2005-05-12 Thread Ralph Corderoy
Hi Paul, though. I'll even stop whining about putting autoconf-generated in CVS (I'll still think that it's a huge mistake, I just won't say anything about it :-) ). do you think it's a mistake even if they're commited under non-standard names? i agree that they probably shouldn't be

Re: [Nmh-workers] Inconsistencies in Checking if a Folder is Empty.

2005-05-19 Thread Ralph Corderoy
Hi Jon, Funny, I just ran into this in a slightly different way and was thinking about adding a -real option to mhpath. I wanted to find the current folder, which should be a simple mhpath invocation Isn't mhpath for showing the path nehind the scenes. `folder -fast' may have been more

Re: [Nmh-workers] Proposed solution to Debian Bug#143485

2005-08-26 Thread Ralph Corderoy
Hi Harald, execlp (mhlproc, mhl, -form, filter, -noclear, NULL); - fprintf (stderr, unable to exec ); - perror (mhlproc); + write(2, unable to exec , 15); Reminds me of Hollerith constants, i.e. having to manually count the length of a string literal. Can't

Re: [Nmh-workers] Proposed solution to Debian Bug#143485

2005-08-26 Thread Ralph Corderoy
Hi Harald, Hm, I think if write(2, ...) fails, then we are out of luck anyway. We can't give an error message about being unable to give an error message. I thought that a successful call of write won't manipulate errno, but after rereading the documentation of errno it seems that one

Re: [Nmh-workers] nmh on Ubuntu

2006-04-22 Thread Ralph Corderoy
Hi, I'm getting the error post: can't exec no: No such file or directory when trying to send a message with nmh. I'm running Ubuntu Breezy with Linux Kernel 2.6.12-10-amd64-generic. My MTA is exim 3.36--it is fully configured and works. I installed nmh 1.1-release-3 from the

Re: [Nmh-workers] showproc with less -E

2006-05-08 Thread Ralph Corderoy
Hi Matthias, I don't like the '(END)' question from less and try to use 'less -E' with nmh show. I add 'showproc: less -E' to my .mh_profile but nothing changes. Nothing? I'd expect it to complain it can't exec `less -E'. Do I misunderstand the docs? They may not be clear. I think it's

Re: [Nmh-workers] whatnow attach usage

2006-07-15 Thread Ralph Corderoy
Hi Philipp, I wonder how I'd use the 'attach' option on the 'What now?' prompt. Whenever I use it I get whatnow: can't attach because no header field name was given. As a side note, whatnow(1) mentions -attach header-field-name in SYNOPSIS, but doesn't describe its use in DESCRIPTION.

Re: [Nmh-workers] [NEWBIE]: fetchmail/procmail and inc

2007-01-13 Thread Ralph Corderoy
Hi Xavier, Fetchmail is used to retrieve my mails. It then passes them to procmail which stores them into my mail spool. procmail can also store into MH folders, e.g. ~/mail/inbox, IIRC, removing the need for the inc stage. The problem of retrieving mail is the same in either case,

Re: [Nmh-workers] [NEWBIE]: fetchmail/procmail and inc

2007-01-13 Thread Ralph Corderoy
Hi Xavier, procmail can also store into MH folders, e.g. ~/mail/inbox, IIRC, removing the need for the inc stage. Hum, but then, how MH knows about new messages ? I think I am missing something. Does inc just store messages and nothing else or does it do some other stuff (such as

Re: [Nmh-workers] 1.3 release and Dcc/Bcc behaviour

2007-03-30 Thread Ralph Corderoy
Hi Paul, joel wrote: 1) Some people have commented on the comp.mail.mh newsgroup that Bcc and Dcc headers should not be removed before Fcc is processed, so that the Fcc copy contains them. Since the default components has Fcc: +outbox in it I'm inclined to agree. Does anyone disagree?

Re: [Nmh-workers] 1.3 release and Dcc/Bcc behaviour

2007-03-30 Thread Ralph Corderoy
Hi Jerrad, Besides, I've always found fcc useless. It doesn't expand local user names, e.g. `to: ralph' stays like that instead of becoming `to: [EMAIL PROTECTED]', and there's no message-id which is vital for Erm, it's not at all useless, you're misusing it. Fcc is for filing a

Re: [Nmh-workers] 1.3 release and Dcc/Bcc behaviour

2007-03-30 Thread Ralph Corderoy
Hi Jerrad, Perhaps I wasn't clear. If I have Indeed. Actually, I was just being polite. My second message merely repeated the information that was in the first. The former isn't very helpful if I ever wish to dist or forw the email on. No message-id is a killer. Meh, it saves a

Re: [Nmh-workers] 1.3 release and Dcc/Bcc behaviour

2007-03-31 Thread Ralph Corderoy
Hi Neil, Besides, I've always found fcc useless. It doesn't expand local user names, e.g. `to: ralph' stays like that instead of becoming `to: [EMAIL PROTECTED]', and there's no message-id which is vital for referring someone back to an earlier email. I dcc myself and file that

[Nmh-workers] repl(1) Insists on Creating ./@.

2010-06-07 Thread Ralph Corderoy
Hi, repl(1), or rather whatnow(1), insists on creating ./@ as a hard link to the email being replied to, falling back on a symlink if that fails. This alters the email's inode's ctime and that can trigger an incremental backup, e.g. GNU tar, to back up the file again. On large emails this is a

Re: [Nmh-workers] Fixing decoding of quoted messages in replies

2010-10-31 Thread Ralph Corderoy
Hi meillo, Using nmh though is currently pretty tough. ;-) Agreed, in this modern world. I persist with it but that's because it's what I know. I occasionally have flights of fancy about gradually replacing some of its commands with Python ones. Am I the only one? The C code base of nmh

Re: [Nmh-workers] Pick getting all addressees/senders

2010-11-13 Thread Ralph Corderoy
Hi belg4mit, addressee: -to %1 -or -from %1 -or -cc %1 -or -bcc %1 That wouldn't let me do pick -addressee foo -o -addressee bar though. Cheers, Ralph. ___ Nmh-workers mailing list Nmh-workers@nongnu.org

Re: [Nmh-workers] Pick getting all addressees/senders

2010-11-14 Thread Ralph Corderoy
Hi Norman, Here is my list of possible recipients: I can't think of any others. I've had ~/bin/tocc for a while now that expands to a bunch of pick(1) arguments suitable for slotting in with backticks, but it's not as good as the real thing. Something else I'd often like is for pick's

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-03 Thread Ralph Corderoy
markus schnalke wrote: (4) no attachments non-ASCII - no MIME; the message contains non-ASCII chars; the recipient can not know which charset the non-ASCII chars had been. To cover case 4, one needs to run mime at the whatnow prompt manually. Yes, and I find that annoying. Most of

Re: [Nmh-workers] Understanding nmh (aka. What's the goal)

2010-12-03 Thread Ralph Corderoy
John Romine wrote: ...I dist the message to my Gmail account. (Before Gmail, I was dist'ing to another mailbox that I POP'd with Thunderbird on a Windows PC.) I haven't found a dist command in Gmail or Thunderbird; if you know of one, let me know. No, I don't know of one but have you found

Re: [Nmh-workers] Minor git nits, and autotools junk

2010-12-03 Thread Ralph Corderoy
Ken Hornstein wrote: I'm not much of a fan of automake. I think our current makefiles are fine, personally. Hm, okay, given the above point ... would you object to a git branch with the Makefiles converted over to automake? +1 automake. It does make the autotools stuff much cleaner in

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-07 Thread Ralph Corderoy
Hi, markus schnalke wrote: BTW, I would suggest using isascii() rather than (*p 127 || *p 0). I just kept what you once wrote. ;-P But, yes, you are right. Given it's `char *p' then *p may be unsigned on some systems, e.g. ARM, and a compiler could warn on testing if it's negative so

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-08 Thread Ralph Corderoy
Peter Maydell wrote: (In fact I think we should go ahead and change the behaviour for not-plain-ASCII bodies even if the user didn't pass the -attach switch, but I'm guessing I might get argued down on that.) I agree. I've never used -attach, instead sticking with #-directives, and yet still

Re: [Nmh-workers] whatnowproc tab completion

2010-12-19 Thread Ralph Corderoy
Hi, Jon Steinhart wrote: I'm thinking about adding tab completion for file and directory names for whatnowproc. Is that on anyone's to-do list?? steve Not on my list but it be great. I've no doubt some would find it useful and use it. But I wonder if I'm alone in noticing a move

Re: [Nmh-workers] indexing

2011-02-06 Thread Ralph Corderoy
Lyndon Nerenberg wrote: And as with the existing sequences imlementation, the only way you get 100% consistency is by making the message store a black box, at which point it's no longer MH. Very non-MH in implementation, but perhaps similar in ethos is to have a file server that presents the

Re: [Nmh-workers] indexing

2011-02-07 Thread Ralph Corderoy
Hi belg4mit, (As an aside, I really dislike grep and friends no longer coping well under ~/mail because of base 64 encoding, etc.) I usually use scan `pick -search` for that sort of functionality, but if that's not to your liking you might look at hacking on transparent base64 decoding

Re: fun (was Re: [Nmh-workers] some indexing results)

2011-02-07 Thread Ralph Corderoy
Hi Paul, ok so if there's no disk cache contention and the ~/Mail/inbox/mhindex.db file remains readable in disk cache, scan can finish in less than 1 second. [snip] 0.144u 0.227s 0:00.37 97.2% 147+1426k 0+1io 0pf+0w #nsa:amd64# wc -l /tmp/vix2 3293 /tmp/vix2 Nice to see some

Re: [Nmh-workers] nmh in near, medium, and far-term

2011-12-09 Thread Ralph Corderoy
Hi, Oliver Kiddle wrote: If you're going to do that, you might aswell name the files using an SHA hash. Thoughts I've had over the years... MH was handy because it integrated with the Unix command line and filesystem; I still awk, etc., ~/mail/inbox/* on occasion when nmh's commands don't

Re: [Nmh-workers] nmh in near, medium, and far-term

2011-12-10 Thread Ralph Corderoy
If all textual parts were stored in UTF-8 on disk things would improve once again. Perhaps even a mail/inbox/42 for a UTF-8 summary of the email, headers and the body laid out as text where possible One more thing, the headers would be made simpler to use. I'm particularly thinking

Re: [Nmh-workers] nmh in near, medium, and far-term

2011-12-10 Thread Ralph Corderoy
Hi Yoshi, I thought about breaking up the MIME parts, but I decided that the problem with that was that I believe there is value to still having the original message around. You're right, there is. In regurgitating long ago thoughts I ommitted that bit. It could be available

Re: [Nmh-workers] nmh in near, medium, and far-term

2011-12-11 Thread Ralph Corderoy
Hi Valdis, One more thing, the headers would be made simpler to use. I'm particularly thinking of having one physical line per header, no continuation. procmail to the rescue: :0 hwf | formail -c There ya go. Thanks. And it seems http://tools.ietf.org/html/rfc5322#section-2.2.3

Re: [Nmh-workers] parts is parts

2011-12-12 Thread Ralph Corderoy
Hi Paul, i think anno is wrong-headed, and inconsistent with the rest of the MH philosophy. i believe that once a message has been stored it should never be modified. I've wavered back and forth on this over the decades. :-) it's not as if other Maildir-reading mail systems (whether imap

Re: [Nmh-workers] nmh post doesn't read profile, fileproc ignored

2012-01-03 Thread Ralph Corderoy
Jeffrey Honig wrote: Here's MTR's answer: ``when you run mh commands in a script, you want all the defaults to be what the man page says. when you run a command by hand, then you want your own defaults... /mtr'' So scan(1), etc., in a script should ignore ~/.mh_profile? Cheers, Ralph.

Re: [Nmh-workers] Dealing with missing From: header during send.

2012-01-10 Thread Ralph Corderoy
Hi Earl, %(lit)%(formataddr %{reply-to}%?{from}%?{sender}%?{return-path}%)\ %(formataddr{to})%(formataddr{cc})%(formataddr(me))\ %(match example1.com)From: e...@example1.com\n\ %?(match example2.com)From: eh...@example2.com\n\ %|From: e...@earlhood.com\n%\ Does this shed any

Re: [Nmh-workers] Minimum autoconf version required to compile nmh

2012-01-13 Thread Ralph Corderoy
Hi, Ken Hornstein wrote: I just looked ... and autoconf 2.59 was released in 2003, autoconf 2.61 was released in 2006. Yikes, I think CentOS is a bit behind here :-) I think quite a few distributions provide version-specific packages of autoconf and friends because different sources demand

Re: [Nmh-workers] Loop support in mh-format?

2012-01-14 Thread Ralph Corderoy
Hi Ken, the idea was that if fmt_scan() returned non-NULL, you'd call fmt_scan() again and you'd pick up after the FT_DONE instruction? That's my understanding. But how would you exit the loop, that's what I don't understand. Me neither. I was hoping a caller that bothered to check for a

Re: [Nmh-workers] repl and mime handling

2012-01-17 Thread Ralph Corderoy
Hi Ken, So, I have some thoughts in this direction, but I'm wondering: what do you want out of repl in terms of better MIME handling? All the text parts turned into UTF-8 and quoted would be a good start. I can then trim down in vi as normal. Cheers, Ralph.

Re: [Nmh-workers] repl and mime handling

2012-01-18 Thread Ralph Corderoy
Hi Ken, - Conversion to Unicode is relatively simple. Conversion from Unicode to some other character set isn't, depending on the character set (although it would seem to me that converting from a non-breaking space to a regular space is a no-brainer, but whatever). I assumed nmh

Re: [Nmh-workers] repl and mime handling

2012-01-18 Thread Ralph Corderoy
Hi Aleksander, For English-speaking countries UTF-8, in majority, means ASCII, they can see no difference. I don't think that's the case. Even North Americans, who have $ in ASCII, still find ‘ ’ “ ” and … cropping up, especially when services automatically convert ` ' and And then

Re: [Nmh-workers] extraneous header lines

2012-01-25 Thread Ralph Corderoy
Hi Ken, 2) allow for globs like ignores=X-* and ignores=List-* Catching up on old messages ... Can't you achieve this by simply removing the extras line from the mhl format file? (Just checked ... yes, that makes it so everything not explicitly matched doesn't get displayed). I guess

Re: [Nmh-workers] Line wrapping in mhl

2012-01-25 Thread Ralph Corderoy
Hi, As an aside, I use repl's -format, i.e. each line prefixed with ` ' with no wrapping and so no issues, and then use vim's normal built-in formatting to handle getting the line length down once I've done by trimming of the quoted text to just what's pertinent. I have to format my text anyway

Re: [Nmh-workers] Line wrapping in mhl

2012-01-25 Thread Ralph Corderoy
Hi Ken, My replgroupcomps is broadly similar to the system one. I think it's the -format that stops the wrapping; repl(1): No, definitely not. I just tried that on a message with long lines and it did the same crappy line wrapping. And I've been inside of that code today and I can't

[Nmh-workers] An Old MH Rival; mailx.

2012-01-28 Thread Ralph Corderoy
Hi, I still use mail(1) for sending one-line emails or in pipes. It's provided here by the heirloom-mailx package, derived from Berkeley Mail 8.1 but brought up to date. A concise list of features, http://heirloom.sourceforge.net/mailx.html Not trying to persuade you to jump ship, just thought

Re: [Nmh-workers] mailxi and attachements

2012-01-30 Thread Ralph Corderoy
Hi Aleksander, I still use mail(1) for sending one-line emails or in pipes. More imporant (for me) is the possibility to send only file(s) as attachements. echo Enclosed | nail -a some.file some...@somewhere.net Similar functionality has mutt, switch -a. I can't do it via nmh.

[Nmh-workers] Sequences have no Zero.

2012-01-30 Thread Ralph Corderoy
Hi, I was bitten the other day by $ pick -list -sub foo last | cat; echo exit $? pick: no messages match specification 0 exit 0 $ Namely, as described in pick(1)'s BUGS, if stdout isn't a tty then pick lists the illegal message number 0 to cause errors to propogate, e.g.

[Nmh-workers] Is Pick Antiquated?

2012-02-04 Thread Ralph Corderoy
Hi, I've a fan of the Unix philosophy, many small programs doing one thing each and doing it well, with the whole being greater than the sum of the parts, but I wonder if these days pick(1) wouldn't be a separate program. What if scan, refile, etc., all accepted the same expression grammar for

Re: [Nmh-workers] Is Pick Antiquated?

2012-02-04 Thread Ralph Corderoy
Hi Joel, I'm not sure if I was starting now I'd have pick(1). If mark(1) took an expression then it alters the sequence/set. scan with a format does pick's -list of the message numbers. Having other nmh command understand pick syntax might be uesful. But removing pick would not be.

Re: [Nmh-workers] exciting new stuff for 2.0

2012-02-08 Thread Ralph Corderoy
P. Maydell wrote: 441 12/18 Joel Uckelman o [Nmh-workers] mhshow: invalid QUO 442 12/18 Josh Bressers +oRe: [Nmh-workers] mhshow: invalid 443 12/18 Paul Fox +oRe: [Nmh-workers] mhshow: invalid 444 12/18 Joel Uckelman |+o Re: [Nmh-workers] mhshow: invalid 448 12/19

Re: [Nmh-workers] exciting new stuff for 2.0

2012-02-08 Thread Ralph Corderoy
Hi Ken, You know, I was wondering why I didn't remember the original message ... and that was because it was from 7 years ago! Yes, I was tackling my large backlog of nmh reading and at some point switched from my recent large backlog to my old large backlog, I too was confused about the

Re: [Nmh-workers] exciting new stuff for 2.0

2012-02-08 Thread Ralph Corderoy
Hi Paul, (My ~/bin/readlp abuses lesskey(1) so little-used keys in less for reading email, e.g. D, do quit ^@, and this is picked up by the script which then adds it to the delete sequence and moves onto the next email to show. N - next, P - previous, S - spam, etc.) okay, that's

Re: [Nmh-workers] Request For New Feature: Unadorned Plus Sign

2012-02-10 Thread Ralph Corderoy
Hi Norm, Folder name completion was what I wanted for. I guess that it's not to be. I did work out the tcsh(1) spell for that in another millenium, these days I use bash as it's what to hand. I've had a go at what you requested and it seems to work; I don't use it myself and haven't tried to

Re: [Nmh-workers] Request For New Feature: Unadorned Plus Sign

2012-02-11 Thread Ralph Corderoy
Hi Jon, folders -fast | If you have the sort of folder structure I do, that wants to be folders -fast -recurse | Apologies, it needs to be that for my folders too but I have had $ g -w folders ~/.mh_profile folders: -recurse $ for years so had

Re: [Nmh-workers] Request For New Feature: Unadorned Plus Sign

2012-02-11 Thread Ralph Corderoy
Hi Ken, I did work out the tcsh(1) spell for that in another millenium, these days I use bash as it's what to hand. Note that in docs there is also COMPLETION-TCSH and COMPLETION-ZSH. Might be worth putting this snippet in there as well. If you mean the bash one, sure, go ahead, with the

Re: [Nmh-workers] Request For New Feature: Unadorned Plus Sign

2012-02-11 Thread Ralph Corderoy
Stop the press! complete -P + -F comp_nmh_folder -D This stops the normal /etc/passtab completion working, now only +folder works. The fix seems to be adding -o options so it falls back when comp_nmh_folder() doesn't come up with any possibilities. `bashdefault' makes $HOMtab complete and

Re: [Nmh-workers] Conversion to Automake complete

2012-02-11 Thread Ralph Corderoy
Hi Ken, i have libgdm-dev and libgdm3 installed, and i don't see any other likely *dbm packages available that i should try. Do you mean libgdbm? I admit, I'm not so familiar with the right dbm packages on Linux. gdbm doesn't provide ndbm compatibility unless built with a particular

Re: [Nmh-workers] Conversion to Automake complete

2012-02-11 Thread Ralph Corderoy
Hi Ken, gdbm doesn't provide ndbm compatibility unless built with a particular switch. FWIW, we seem to have a db-devel package on our Linux systems that does the right thing. Is that Berkeley DB? We have libdb-dev but I'm not sure it helps here. Cheers, Ralph.

Re: [Nmh-workers] Conversion to Automake complete

2012-02-11 Thread Ralph Corderoy
Hi Ken, gdbm doesn't provide ndbm compatibility unless built with a particular switch. FWIW, we seem to have a db-devel package on our Linux systems that does the right thing. Ah, I see what you mean. slocal is happy with Berkeley DB and ./configure checks for that so libdb-dev

Re: [Nmh-workers] Implementation question: function or component for local mailbox?

2012-02-16 Thread Ralph Corderoy
Hi Ken, As for the cheesiness of the names ... well, I went with the flow of existing names. username is a bit ambiguous ... does that mean kenh or Ken Hornstein? I expect you can have a username of Ken Hornstein these days but to me, and I expect most willing to use nmh, that's more of a

Re: [Nmh-workers] I need help configuring nmh 1.4

2012-02-17 Thread Ralph Corderoy
Hi, Ken wrote: I think to make it do exactly what you want you'll have to modify your sendmail/postfix/whatever-mta configuration to deliver local email locally and then punt all other email to your ISPs SMTP server. That's what I do. Have Postfix punt everything non-local to the ISP's smart

Re: [Nmh-workers] NMH long lines

2012-02-20 Thread Ralph Corderoy
Hi, Ken wrote: - Are you sure nmh is generating the exclamation marks as the line delimiters? sendmail(8) can split lines that are too long in this manner. The L= parameter in the mailer definition can be altered to lengthen it but that's not wise; it's only *your* sendmail that's being

Re: [Nmh-workers] nmh User's Manual?

2012-03-01 Thread Ralph Corderoy
Hi Paul, and i'd also propose that we feel free to use groff extensions; nobody's going to build this on a DWB system again. Might be nice to stick within the large set of groff that's also Heirloom troff. Can't think of any obvious reason to step outside of that for simple documentation.

Re: [Nmh-workers] Changes to post

2012-03-12 Thread Ralph Corderoy
Hi, Lyndon Nerenberg wrote: I would prefer to build these non-822 directives using a syntax that can't be confused with a valid 822 header. I suggest the format: metahead = . directive *(SP params) directive = LETTER *(LETTER / DIGIT / -) params = ; free-form text to the end of

Re: [Nmh-workers] temporary files

2012-03-15 Thread Ralph Corderoy
Hi Jon, I guess that I avoid multiple concurrent compositions of all sorts because it's painful because of the shared draft file unless one uses long options. I use them all the time and see no pain or need of long options? $ grep draft ~/.mh_profile draft-folder: drafts $

Re: [Nmh-workers] temporary files

2012-03-16 Thread Ralph Corderoy
Hi, Jerrad Pierce wrote: Rather than proliferate switches, why not begin deprecating it, by first making it something that must be explicitly enabled in build? I've known of ./@ for many years and have only rarely used it, and it does make other users ask why they can see a file called ./@.

Re: [Nmh-workers] scan %{body} bug?

2012-03-16 Thread Ralph Corderoy
Hi Ken, Thoughts? Punt until the m_getfld() re-write. It's annoyed me for years, it can continue a while longer. Cheers, Ralph. ___ Nmh-workers mailing list Nmh-workers@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-workers

Re: [Nmh-workers] whatnow: can't attach because no header field name was given.

2012-03-26 Thread Ralph Corderoy
Hi, Deprecating Use of the X- Prefix in Application Protocols http://tools.ietf.org/id/draft-ietf-appsawg-xdash-03.html Cheers, Ralph. ___ Nmh-workers mailing list Nmh-workers@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-workers

Re: [Nmh-workers] 1.5 release and better repl/MIME handling

2012-04-01 Thread Ralph Corderoy
Hi, Tet writes: I'd rather not have a perl dependency in nmh. I agree, but having Ken's script be in a contrib, e.g. under /usr/share/doc/nmh after installation, would mean no package dependency is required as it's not intended to be in a user's PATH? Cheers, Ralph.

Re: [Nmh-workers] 1.5 release and better repl/MIME handling

2012-04-02 Thread Ralph Corderoy
Hi Ken, As a side note ... my last message went out as quoted-printable, but I guess the mailing list software re-encoded it as base64. Go figure. Yes, I think it does that. Bit annoying. Would be nice if it picked the one that shipped the least bytes. Cheers, Ralph.

Re: [Nmh-workers] 1.5 release and better repl/MIME handling

2012-04-02 Thread Ralph Corderoy
Hi Jerrad, Yes, I think it does that. Bit annoying. Would be nice if it picked the one that shipped the least bytes. Bytes schmytes, pick the one that's maximally human readable. That's probably the same thing? Base64 is more than 8/6ths the original, if quoted printable was bigger than

Re: [Nmh-workers] Handling non-ASCII

2012-04-16 Thread Ralph Corderoy
Hi Ken, what should we do if the text is outside of us-ascii? Copy `cat -A'? seq 0 255 | sed 's/$/P/' | dc | cat -A Or some other similar escaping; \x1b. It does mean one wouldn't be able to discern a subject with cat -A-looking output from binary. Cheers, Ralph.

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-04-26 Thread Ralph Corderoy
Hi, David Levine wrote: Would a don't-modify-any-internal-nmh-state switch to pick would have solved that problem? Do the MH, MHCONTEXT, and $MH's mh-sequences entry help solve some of the problems by having the cron jobs set up their own environment, or use one pre-set up for them, if their

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-05-01 Thread Ralph Corderoy
Hi Ken, Well, it's just as complicated as it needs to be. The issue is that the sequences files and context files get modified a lot, so those need to be locked. Out of interest, what form of locking does nmh use? It looks like hard links to ~/mail/inbox/.mh_sequences.lock for one of them.

Re: [Nmh-workers] [exmh-workers] Second release candidate for nmh 1.5 is now available

2012-05-07 Thread Ralph Corderoy
Hi Kevin, Ken wrote: Kevin wrote: Impossible for me to tell after the 'inc' as the spool file is empty. When my email notifier (xlbiff*) pops up I'll have a look at the spool prior to 'inc'. Perhaps you could have a new `inc' earlier in PATH that copies the mail spool file to somewhere

Re: [Nmh-workers] Portability issues in nmh 1.5-RC2

2012-05-07 Thread Ralph Corderoy
Hi David, Tom wrote: Another problem I ran into is that the regression test scripts use some shell features that the bare-bones /bin/sh on this machine doesn't recognize. I would be interested to know what shell incompatibilities you ran into so we could fix them. I tested with

[Nmh-workers] Quiting mhshow(1) Early Doesn't Set Current Message.

2012-05-21 Thread Ralph Corderoy
Hi, On an old nmh, so apologies if it's already fixed, doing `mhshow 42' where 42 isn't the current message and then getting bored with the needless emailed images and entering `q' at the `press to show content' prompt seems to fail to make 42 the current message, as show(1) would, even though $?

Re: [Nmh-workers] Quiting mhshow(1) Early Doesn't Set Current Message.

2012-05-21 Thread Ralph Corderoy
Hi David, show(1) doesn't quite do the right thing either. Quitting before the last message of many has a different but equally disturbing effect: the current message is set to the last selected message, even though it was never shown. I'd forgotten that, but have been bitten. Does anyone

Re: [Nmh-workers] Help!

2012-05-24 Thread Ralph Corderoy
Hi David, Date: Wed, 23 May 2012 05:50:36 -0700 (PDT) From: mailer-dae...@jad.dad.org (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: n...@dad.org Message-Id: 20120523125036.e2663124...@jad.dad.org This is the mail system at host jad.dad.org. That bounce

Re: [Nmh-workers] Help!

2012-05-24 Thread Ralph Corderoy
Hi Ken, That's what I do now. I only use 'send -server localhost', for messages addressed to plain 'norm' and nobody else. If I inadvertently attempt to use plain 'send' to send a message addressed to plain 'norm', I get an error message. All this had worked well, from February, sending

Re: [Nmh-workers] Help!

2012-05-25 Thread Ralph Corderoy
Hi Norm, The Email you analyzied was not sent from the computer suffering the bouncing problem. But this Email will be so sent. Do you have trouble following the Received headers, bottom to top? :-) Received: from jad.dad.org (unknown [198.144.207.170]) by mailwash26.pair.com

Re: [Nmh-workers] Help!

2012-05-25 Thread Ralph Corderoy
Hi Norm, It is: servers: localhost Exactly! You are running an SMTP server on localhost, that machine, and it's Postfix. I am here, Ubuntu. Try this: $ sudo lsof -i :25 COMMAND PIDUSER FD TYPE DEVICE SIZE/OFF NODE NAME master 1319root 12u IPv4 8455

Re: [Nmh-workers] Help!

2012-05-25 Thread Ralph Corderoy
Hi David, You wrote off-list in a plane: change your servers: localhost line in mts.conf to servers: smtp.tsoft.net (without quotes). If they require authentication, you'll find out when you try to send. That alone is probably insufficient since Norm had that in the past and found that

Re: [Nmh-workers] UTF-8 message bodies

2012-05-28 Thread Ralph Corderoy
Hi Joel, Is there a solution to this with nmh 1.4 or 1.5? I've changed my mail/components, etc., to have these three MIME headers in and then I create a UTF-8 file in vim. I need to delete them if I'm going to `mime' at the whatnow(1) prompt, e.g. for attaching a file, because it quite rightly

Re: [Nmh-workers] UTF-8 message bodies

2012-05-28 Thread Ralph Corderoy
Hi max, Why not set in .mh_profile automimeproc: 1 I like to look over the mime'd draft before sending to check I got the directives right. Cheers, Ralph. ___ Nmh-workers mailing list Nmh-workers@nongnu.org

Re: [Nmh-workers] More than one parameters in .mh_profile

2012-05-29 Thread Ralph Corderoy
Hi Ken, for (s = cmd; *s; s++) { if (*s != ' ' !isALPHA(*s) strchr($*(){}[]'\;\\|?~`\n,*s)) { Seems like that's a pretty good list; if we see one of those characters, it gets sent to /bin/sh -c. Otherwise we split and do it ourselves. No `#'? How about just

Re: [Nmh-workers] More than one parameters in .mh_profile

2012-05-29 Thread Ralph Corderoy
Hi Valdis, No `#'? How about just always send to the user's shell from the password entry with a -c, as distinct from /bin/sh. The problem is that some people (at least in the Elder TImes) would have their login shell set to /bin/csh but they'd want their scripty things done in /bin/sh.

Re: [Nmh-workers] More than one parameters in .mh_profile

2012-05-30 Thread Ralph Corderoy
Hi Paul, i think passing any moreproc entry that contains whitespace to /bin/sh -c '%s', and documenting it as such, would be fine. IOW, system(3). processes aren't nearly as expensive as they used to be. I think Perl goes to lengths to avoid it because you may be doing a lot of them. With

Re: [Nmh-workers] [PATCH] mhbuild: implement #on/#off/#pop, and the -[no]directives switch

2012-05-31 Thread Ralph Corderoy
Hi Paul, +static void directive_onoff(int onoff) +{ +if (directives_index = sizeof(directives_stack)) { + fprintf(stderr, mhbuild: #on/off overflow, continuing\n); + return; +} +directives_stack[++directives_index] = onoff; +} I think the test is wrong. If 31 = 32 is

Re: [Nmh-workers] scan -width behaves oddly in 1.5RC3

2012-06-06 Thread Ralph Corderoy
Paul Vixie wrote: or we could just say, link against some library that provides a reasonable snprintf that follows posix? Perhaps http://www.etalabs.net/musl/ Cheers, Ralph. ___ Nmh-workers mailing list Nmh-workers@nongnu.org

Re: [Nmh-workers] does dist work?

2012-06-18 Thread Ralph Corderoy
Hi, (the other reason is to handle the Resent-* headers). I use dist a lot. Note some email clients, Gmail included at one point though perhaps not any more, *don't* display the resend-* headers which can lead to confusion by recipients. Cheers, Ralph.

  1   2   3   4   5   6   7   8   9   10   >