Re: Why not document dcc:?
Well, really, what we call dcc is what other MUAs implement as bcc. I think that our bcc makes more sense, but it does confuse people.
Re: sorting messages by thread
Sorting by subject almost accomplishes what you want. I'd like to sort by sequence actually :-) ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another Debian GNU/Linux using, kernel hacking, security guy); [
Re: sorting messages by thread
I hadn't thought of just refiling in the order like that. I rather like it, and I think I'll adopt your script. thanks. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another Debian GNU/Linux using, kernel hacking, security guy); [
Re: Wrapping replies
The correct solution is to use text/rich. Then, you just quote the paragraph once, and *THEIR* MUA does the wrapping of the quoted text, or puts it in a different colour, or whatever. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another Debian GNU/Linux using, kernel hacking, security guy); [
Re: locking rcvstore?
Aside from trashing sequences (which I've experienced on occasion, no idea why) I've run into situations where I wind up doing an inc from two difference sources into the same folder. Usually due to impatience on my part. The result was a mess of two processes using the same message numbers! My impression is that inc doesn't do any locking on message numbers, but I could be wrong. Btw, my installed from CVS copy of nmh seems to be ignoring my .mh_profile's Alternate-Mailboxes: [EMAIL PROTECTED], mcr@*, [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] when removing stuff for reply-all. Anyone else have this problem? Is mcr@* still a valid? ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [
Re: config.h.in
Ken == Ken Hornstein [EMAIL PROTECTED] writes: Well, I did: make distclean autoconf ./configure make Ken Errr ... you didn't run autoheader, as far as I can tell. Hmm.. Last time, it got run by make when I edited configure.in. I run it manually and all is well. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [
Re: Questions about nmh 1.1
Something I need to put in is having inc delete messages after X many have been downloaded. That way I can survive a net outages or ^C easier. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [
Re: Questions about nmh 1.1
-BEGIN PGP SIGNED MESSAGE- Ken == Ken Hornstein [EMAIL PROTECTED] writes: Something I need to put in is having inc delete messages after X many have been downloaded. That way I can survive a net outages or ^C easier. Ken You mean via POP? It deletes each message right after it retrieves Ken it, Ken AFAIK. I think that problem is that according to the POP3 spec, Ken unless you Ken get a clean QUIT, you don't make any changes to the mailbox. Hmm. That's probably what I experience. I want to sync the mailbox more often than that. I guess the obvious hack is to disconnect and reconnect again, but I wonder if can come up with something else perhaps I'll hack the server, and maybe it is just time for IMAP :-) ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [ -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 Comment: Finger me for keys iQCVAwUBPSstW4qHRg3pndX9AQGdswP/c8ejx6tuhrZQ4nlN39pGzedRQXCUSK/7 QT9b2fzN0oC180c8eXZKiPhDjw4kYs6Kq0a5LGEa1ERctPnFEDylbGodfHR2X0vQ Ttj6oKOnRRVRP1qf10yliSJF/VeHz7yVdCmuWqZ5aIL4FwMj9cyY/cP8X/5j/v18 e1S82L0EB4A= =07Hh -END PGP SIGNATURE-
Re: Questions about nmh 1.1
-BEGIN PGP SIGNED MESSAGE- Ken == Ken Hornstein [EMAIL PROTECTED] writes: Ken You mean via POP? It deletes each message right after it retrieves Ken it, Ken AFAIK. I think that problem is that according to the POP3 spec, Ken unless you Ken get a clean QUIT, you don't make any changes to the mailbox. Hmm. That's probably what I experience. I want to sync the mailbox more often than that. I guess the obvious hack is to disconnect and reconnect again, but I wonder if can come up with something else perhaps I'll hack the server, and maybe it is just time for IMAP :-) Ken FWIW, there's an option to qpopper that will treat an abort like a Ken clean Well, having inc catch SIG_INT and shut down cleanly might be enough initially. I'd like to have a SYNC or some such extension. I'm running a hacked spopd under SSH... ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [ -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 Comment: Finger me for keys iQCVAwUBPSs+Q4qHRg3pndX9AQHnvwP8Dbj478ndGrIzmxOyO2anjtr6yGZPTUIM 0bBirj1txkwMWKI5I6v9UoeRlzgTqYzr0afi31Y+J3Os7QpZi2gStUucxKIVBQDv lZTAMukgz6ENYnXwKlGe5h4dPd0FQHaFGS7OW9YQTurEHI0nF22DA6F/94R+Vqtx NPxRVQ/3OTY= =Hr1I -END PGP SIGNATURE-
Re: config.h.in
Well, I did: make distclean autoconf ./configure make marajade-[/sandel/src/nmh] mcr 1075 %make CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status creating config.h cat: ./config.h.in: No such file or directory config.h is unchanged ... ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [
first commit from me.
-BEGIN PGP SIGNED MESSAGE- I have just switched to a new hard disk on my notebook, and I'm now dual booting NetBSD and Debian (X/BSD/)GNU/Linux. So, I had to rebuild nmh with the patches that I've used for 5 years - I change pop_init() to popen() SSH to get a connection to a custom POP server that runs as me on my mail server. It is enabled with --enable-sshpop. Do we have a notion if we are using autoconf2.13, or autoconf2.5? The server side is actually spopd, but nmh no longer distributes that piece, so I'm not clear where to put the server stuff. Basically, I run POP protocol over SSH so that I get single-sign on and privacy. The substantive patch is attached below. Any objections? Index: popsbr.c === RCS file: /cvsroot/nmh/nmh/uip/popsbr.c,v retrieving revision 1.7 diff -u -r1.7 popsbr.c - --- popsbr.c7 Jul 2000 03:48:05 - 1.7 +++ popsbr.c2 Jul 2002 16:48:54 - -30,6 +30,8 #include signal.h #include errno.h +#include sys/socket.h + #defineTRM . #defineTRMLEN (sizeof TRM - 1) -465,7 +467,7 int pop_init (char *host, char *user, char *pass, int snoop, int rpop, int kpop, - - int sasl, char *mech) + int sshpop, int sasl, char *mech) { int fd1, fd2; char buffer[BUFSIZ]; -477,6 +479,78 rpop = 0; #endif +#ifdef SSHPOP +if(sshpop) + { + int pid; + int inpipe[2]; /* for reading from the server */ + int outpipe[2];/* for sending to the server */ + + /* for ssh pop, we run ssh to the server and run spopd on the other end */ + + /* first give up any root priveledges we may have for rpop */ + setuid(getuid()); + + pipe(inpipe); + pipe(outpipe); + + pid=fork(); + if(pid==0) + { + char *argv[10]; + char *path; + + /* in child */ + close(0); + close(1); + dup2(outpipe[0],0); /* connect read end of connection to server to ssh */ + dup2(inpipe[1], 1); /* connect write end of connection from server to ssh +*/ + if(inpipe[0]1) close(inpipe[0]); + if(inpipe[1]1) close(inpipe[1]); + if(outpipe[0]1) close(outpipe[0]); + if(outpipe[1]1) close(outpipe[1]); + + /* now start up ssh to server */ + /* we don't use system to avoid DNS name hacking */ + /* we do let ssh be found on the path, but let $POP_SSH be used to overide +*/ + + if((path=getenv(POP_SSH))==NULL) + path=ssh; + + argv[0]=ssh; + argv[1]=host; + argv[2]=-a; /* can't think of a reason why agent should be forwarded */ + argv[3]=-x; /* or why X windows should be forwarded */ + + /* we also let the remote command be overridden */ + if((argv[4]=getenv(SPOPD_SSH))==NULL) + argv[4]=spopd; + + argv[5]=-stdin; + argv[6]=NULL; + + /* become ssh */ + execvp(path,argv); + + perror(path); + close(0); + close(1); + exit(10); + } + + /* okay in the parent we do some stuff */ + close(inpipe[1]); /* child uses this */ + close(outpipe[0]); /* child uses this */ + + /* we read on fd1 */ + fd1=inpipe[0]; + + /* and write on fd2 */ + fd2=outpipe[1]; + } +else + { +#endif /* SSHPOP */ #ifndef NNTP # ifdef KPOP if ( kpop ) { -509,6 +583,10 close (fd1); return NOTOK; } +#ifdef SSHPOP + } /* for else clause above */ +#endif /* SSHPOP */ + #ifndef NNTP if (pop_set (fd1, fd2, snoop) == NOTOK) #else /* NNTP */ -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 Comment: Finger me for keys iQCVAwUBPSHZ+YqHRg3pndX9AQFmzQP/QRCu9C+WMwMNxmiGYMs/YEReYaPTnlpE dZ18VFHjhHO+3aogJlaumh2bqIOgKdI1bt8sZnmPl6D4Ip9r5VCJNepvvVWz53rH 8iRhcrjLMmBXGxF9gpkAyuvq+M/zGFuLYnAH0XWNJmxhMlm4k0kUZinb0KzIrbDx O1DM6/ahKBw= =b4dS -END PGP SIGNATURE-
Re: folder-specific defaults?
-BEGIN PGP SIGNED MESSAGE- Tobias == Tobias Nijweide [EMAIL PROTECTED] writes: Tobias On http://www.neatech.nl/oss/nmh you can find a patch that adds per Tobias maildir component files. This functionality is also in exmh, but I Tobias needed it in nmh proper. I never got any favorable responses to it, Tobias so I never bothered to work out the other changes on that page. This sounds neat. As I like to keep my mess in +inbox, otherwise, I ignore stuff, it won't help me directly, but it would still be nice to have this option. I tried to do the same thing with a complicated components macros - basically if sending to @solidum.com, I wanted to put From: [EMAIL PROTECTED] I attach the macro below - it always resulted NUKING the To: line. I never was able to sufficiently debug this problem. %(lit)%(formataddr %{to}%?{cc}%?{bcc}%)\ %(match solidum)From: [EMAIL PROTECTED] \n%\ %(lit)%(formataddr %{reply-to}%?{from}%?{sender}%?{return-path}%)\ %(nonnull)%(void(width))%(putaddr To: )\n%\ %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ %(nonnull)%(void(width))%(putaddr cc: )\n%\ %{fcc}Fcc: %{fcc}\n%\ %{subject}Subject: Re: %{subject}\n%\ %{date}In-reply-to: Your message of \ %(nodate{date})%{date}%|%(pretty{date})%.%{message-id} %{message-id}%\n%\ - ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [ -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 Comment: Finger me for keys iQCVAwUBPSHan4qHRg3pndX9AQFs9AQAioEkmkZRnM3kJF/w0FOU3ribTpAAfnc7 W9hUHW3fX4DGFPmhYTkkjdamrBKPydzv2X8I7WgNzg6FeiAOGxRosSqK3GkB9izg fjoSgerMp2xBwYfmZJQJRxIcfOQvskBgN/heg7Lv7/W6rzyag0+U8xuH/8WSbO06 Vd8eAdbsDNo= =kNpJ -END PGP SIGNATURE-
Re: first commit from me.
-BEGIN PGP SIGNED MESSAGE- Sean == Sean Kamath [EMAIL PROTECTED] writes: Sean [In a message on Tue, 02 Jul 2002 12:51:08 EDT, Sean the pithy ruminations of Michael Richardson were:] It is enabled with --enable-sshpop. Sean I just noticed that the CVS site has the excellent additions in Sean popsbr.c for SASL authentication. yes, it does. Sean I'd like to ad SSL support, but really don't want to do the work (I've Sean got too much crap going on in my life as it is, and I've got promises Sean out to the exmh group as well. . .), so if someone else has already Sean started down this path, I'd like to not duplicate effort. . . TLS support would be nice. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic(Just another NetBSD/notebook using, kernel hacking, security guy); [ -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 Comment: Finger me for keys iQCVAwUBPSINqYqHRg3pndX9AQFzngQAt73Ulfy9yO0elhTY0bb8kDhXXPnXBe49 C1Rn7E5v1KqOsDQu6EUurox7P7TP5MeKBz/+8iXwtJXWfIybZu5x6MRBGIx26U5u yw/+dsjopqRz0+qn2a4qoE1yvXniSt9YqxgzCA5gRiwP+nHF7VU/bJZwYZnIPits mQFsF7QXYh8= =B51P -END PGP SIGNATURE-