Re: [Nmh-workers] SMTP/IMAP/POP Support
Thus spake Paul Fox: joel wrote: My intended application is that I'd like to have access to my mail when I'm using a smartphone. i'll remind the list of this thread again: http://www.mail-archive.com/nmh-workers@nongnu.org/msg01528.html i admit up front that i've never used it. that's mainly because i don't _own_ a smartphone. :-) the only devices i go on the road with are quite ssh-capable, so i just log into a home server to read my mail. I *could* use ssh on my phone, but it's not terribly ergonomic. if i had a real need, i'd definitely give chris' script try. I wonder how that script would perform when you have 380k messages? -- J. ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
Ken == Ken Hornstein k...@pobox.com writes: I will look at slocal again for inteface to fetchmail and try to write a FAQ on this --- I'm in favour of removing as much as possible in the POP/IMAP/SMTP side of nmh, but I also want the nmh-over-fuse-does-IMAP to work in someway. Ken Let me try a different tactic: Why do you want to mess with my Ken shit? Ken I mean, fine, you have post send your email to the Ken /usr/sbin/sendmail program/API; that doesn't bother me. It Ken works fine for you, and it doesn't really affect me. I'm all Ken for keeping functionality people find useful in nmh. But you Ken want to REMOVE functionality that I USE; you're messing with my Ken shit, and I don't really understand why. If you don't use the Ken current POP/SMTP functionality in nmh, I don't see how keeping Ken it really affects you. woe... I said, as much as possible --- I mean, let's remove things that truly *NOBODY* uses. I *WANT* POP support in inc --- but I'm cool if we get modern POP interface by having inc popen(3) fetchmail, or link against it's library, if that's more sane than fixing the code that's there to do stuff like POP/SSL. -- ] He who is tired of Weird Al is tired of life! | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] m...@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ Kyoto Plus: watch the video http://www.youtube.com/watch?v=kzx1ycLXQSE then sign the petition. ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
Thus spake Ken Hornstein: What do we need to do to make this happen? I might be willing to kick in some dev time for both of these. Which one are you interested in? The first one? (Accessing an IMAP mailstor e via nmh?) I have some ideas there. The second one, I'm not sure that's within the scope of nmh, but I believe that UW-imap has the ability to serve up MH mailboxes; if you ran one of those servers on your laptop, that could work. The details might be tricky, though. Mike, would that do what you want? Or if you want nmh to help out with that, what did you have in mind? Presenty, I'm not sure what the implications of doing the first or the second are. My intended application is that I'd like to have access to my mail when I'm using a smartphone. -- J. ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
joel wrote: My intended application is that I'd like to have access to my mail when I'm using a smartphone. i'll remind the list of this thread again: http://www.mail-archive.com/nmh-workers@nongnu.org/msg01528.html i admit up front that i've never used it. that's mainly because i don't _own_ a smartphone. :-) the only devices i go on the road with are quite ssh-capable, so i just log into a home server to read my mail. if i had a real need, i'd definitely give chris' script try. paul =- paul fox, p...@foxharp.boston.ma.us (arlington, ma, where it's 31.5 degrees) ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
/usr/sbin/sendmail is an API, not a program. ... you know what? I'm not even going to argue with you on this point, because it doesn't really matter. And I don't think me explaining my nmh usage for the Nth time is really going to convice you either. I will look at slocal again for inteface to fetchmail and try to write a FAQ on this --- I'm in favour of removing as much as possible in the POP/IMAP/SMTP side of nmh, but I also want the nmh-over-fuse-does-IMAP to work in someway. Let me try a different tactic: Why do you want to mess with my shit? I mean, fine, you have post send your email to the /usr/sbin/sendmail program/API; that doesn't bother me. It works fine for you, and it doesn't really affect me. I'm all for keeping functionality people find useful in nmh. But you want to REMOVE functionality that I USE; you're messing with my shit, and I don't really understand why. If you don't use the current POP/SMTP functionality in nmh, I don't see how keeping it really affects you. --Ken ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
On Dec 5, 2010, at 6:52 PM, Earl Hood wrote: I do something like the following: fetchmail -m '/usr/bin/procmail -d %T' This bypasses the local SMTP server and delivers directly to my mail spool file, which I can then just use 'inc' to incorporate. In sum, since many MTAs use procmail for local delivery, just call it yourself via fetchmail, and use whatever options you want. --ewh I used to do this, and have procmail do crude spam filtering. I eventually took it out of the loop because mail spool was not a reliable concept in my (relatively highly distributed) world. I'm curious if it gives any benefits today; I would expect machines without working mail spools to be even more common, but I haven't looked in forever. *Chad ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
On Sun, Dec 5, 2010 at 9:34 PM, chad wrote: On Dec 5, 2010, at 6:52 PM, Earl Hood wrote: I do something like the following: fetchmail -m '/usr/bin/procmail -d %T' I used to do this, and have procmail do crude spam filtering. I eventually took it out of the loop because mail spool was not a reliable concept in my (relatively highly distributed) world. I'm curious if it gives any benefits today; I would expect machines without working mail spools to be even more common, but I haven't looked in forever. In your procmailrc you can specify any pathname to by the spool file if you are on a system that does not have one. Then just set default options to 'inc' in your .mh_profile to use whatever pathname you choose (and to truncate it since inc only auto-truncates the system mail spool file). --ewh ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
Thus spake Michael Richardson: Others would like to access an IMAP server using nmh. I concur with this use, but I'd also like to do the reverse: access the email on my laptop via IMAP from *insert-favorite-mobile-device*. (that's what end-to-end networking is about...) Not just my inbox, but in fact all my email archives, the first ten years of which is not on my laptop at all. What do we need to do to make this happen? I might be willing to kick in some dev time for both of these. -- J. ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
Others would like to access an IMAP server using nmh. I concur with this use, but I'd also like to do the reverse: access the email on my laptop via IMAP from *insert-favorite-mobile-device*. (that's what end-to-end networking is about...) Not just my inbox, but in fact all my email archives, the first ten years of which is not on my laptop at all. What do we need to do to make this happen? I might be willing to kick in some dev time for both of these. Which one are you interested in? The first one? (Accessing an IMAP mailstore via nmh?) I have some ideas there. The second one, I'm not sure that's within the scope of nmh, but I believe that UW-imap has the ability to serve up MH mailboxes; if you ran one of those servers on your laptop, that could work. The details might be tricky, though. Mike, would that do what you want? Or if you want nmh to help out with that, what did you have in mind? --Ken ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
The first one? (Accessing an IMAP mailstore via nmh?) I have some ideas there. Me too. I did a crude proof-of-concept implementation of an IMAP backend about 10 years ago. It's certainly doable, but there are a lot of subtleties, and doing it *right* is not going to be trivial. Done properly, though, we have the potential to create an incredibly powerful tool for manipulating IMAP message stores. --lyndon ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken == Ken Hornstein k...@pobox.com writes: Ken So if /usr/sbin/sendmail works for you out of the box, okay, Ken it's probably equivalent to setting up nmh to connect to your /usr/sbin/sendmail is an API, not a program. I run postfix locally, delivering to my mail relay on port 26 (because port 25 is too frequently blocked, and even 587 is sometimes forced proxy'ied), and anyway, I try port 26 over IPsec or IPv6 if possible, and postfix takes care of all this thinking for me... Too often with submit to localhost, if my DNS is messed up or very slow (such as on dialup at the cottage) I've had my submissions rejected due to timeouts, rather than queued. Yes, it can be fixed for submissions from localhost, but /usr/sbin/sendmail API doesn't suffer from this problem I will look at slocal again for inteface to fetchmail and try to write a FAQ on this --- I'm in favour of removing as much as possible in the POP/IMAP/SMTP side of nmh, but I also want the nmh-over-fuse-does-IMAP to work in someway. - -- ] He who is tired of Weird Al is tired of life! | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] m...@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ Kyoto Plus: watch the video http://www.youtube.com/watch?v=kzx1ycLXQSE then sign the petition. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Finger me for keys iQEVAwUBTPsZkICLcPvd0N1lAQImQggAv1dR5zoyss7gyrYuLxFMbenBEMb7wm/R 2vZ8NJ5o42garKG0mrC5PQ09jBDrlzsc3Xn+dowMLibbxGHIiMSTeQ1IhmGeHLhy 0IFL3us3fffOu3RqGbPIkYkv9Co71eeVLPl8AbbWtZ2Kb5EUqWmMh23hx7XwEfRG G3nmw+mL7bjIRnsr5/j81Gvtass5F2mPPVR5qLPDXd9Y6lNLK6bDiCABuGpJtuQt 0smAD9pRrtKX9uEhn0o+kHCnJSKhBBmTABCe184hdC9zzsmkO3hHUC96kaMXdECg OydTJFq6JVKarfTM+5upjvJs1rcha0d3VINdnPfEwuhq7O9TCL1pQA== =c69v -END PGP SIGNATURE- ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken == Ken Hornstein k...@pobox.com writes: Ken Which one are you interested in? The first one? (Accessing an Ken IMAP mailstore via nmh?) I have some ideas there. Ken The second one, I'm not sure that's within the scope of nmh, Ken but I believe that UW-imap has the ability to serve up MH Ken mailboxes; if you ran one of those servers on your laptop, that I haven't tried it, I'd be willing to try it out and see. I just want the whole thing to ideally run with sensible security, which means, for me, using ssh-agent. Running an imapd via ssh would be ideal. - -- ] He who is tired of Weird Al is tired of life! | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] m...@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ Kyoto Plus: watch the video http://www.youtube.com/watch?v=kzx1ycLXQSE then sign the petition. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Finger me for keys iQEVAwUBTPsZ5YCLcPvd0N1lAQI1iQf/fCK+UMGD0M9iPrdGpwBDqNQOHaszTAwd 84bWLroNxiYSZsbCxPHo0dc+xHtlvULH+9KmUIciIXVTO9sGkuDgE02gBzQJ0yiM J4S640SRaW2voMYJNBpEcXSMeEGFXDEtfMNJC/ZVRuoACWqdkFo++2wkMCCiRdCi G47hKYHB4Ev40LqZwyxe9SjqJo4ZOe8aVk3xKZbX3h1kRRVKHNALGeYV9yZ3+mCt YvhEgTCdTaXDZxuxFePTaufjxsF9kMp3pNHFxMar4bxa12Xs7hendaSnJJZDN5is 7mhry59GMDzf2VpvDqXjBo1+uIeqh4c5sCkODcXZpC+E23VihI7pEg== =jvAX -END PGP SIGNATURE- ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
[Nmh-workers] SMTP/IMAP/POP Support
What do people use SMTP/IMAP/POP features for? Don't fetchmail and sendmail cover this? ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
Thus spake ben+...@benjaminsummers.net: What do people use SMTP/IMAP/POP features for? Don't fetchmail and sendmail cover this? I can tell you what I'd *like* to use IMAP for: I'd like to be able to read my mail on my phone using its mail reader, and use nmh when I'm at a computer with a real keyboard. This could take the form of either (a) an IMAP server which uses nmh as storage, or (b) nmh using IMAP as storage, or (c) something I'm not thinking of. I would be thrilled to have any one of these. -- J. ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
[2010-12-03 09:09] ben+...@benjaminsummers.net What do people use SMTP/IMAP/POP features for? Don't fetchmail and sendmail cover this? You probably want to read this thread: http://www.mhonarc.org/archive/html/nmh-workers/2010-01/msg00055.html It explains the common thinking on the topic. meillo ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
ben == ben ben+...@benjaminsummers.net writes: ben What do people use SMTP/IMAP/POP features for? Don't fetchmail ben and sendmail cover this? I have little use for SMTP except to localhost, and I never understood why /usr/sbin/sendmail for submit wasn't good enough. yeah, in the olden days of 8Mbyte sun3s, running a local MTA was expensive... As for incoming POP, I never really used it. For along time I had a hack to inc/spopd such that inc would run ssh mailserver spopd --stdin, but this was in the day before SSL for POP and IMAP. fetchmail is okay, and I use it like: fetchmail --proto POP3 --mda /usr/lib/mh/rcvstore -sequence novavision +inbox --logfile /var/tmp/nvmail.log mail.novavision.ca but, I'd rather that this was a little more integrated. Perhaps patches to both NMH and fetchmail. (In particular, I'd like to run all my mail fetches in parallel, and I think that recvstore does not do any locking) Others would like to access an IMAP server using nmh. I concur with this use, but I'd also like to do the reverse: access the email on my laptop via IMAP from *insert-favorite-mobile-device*. (that's what end-to-end networking is about...) Not just my inbox, but in fact all my email archives, the first ten years of which is not on my laptop at all. -- ] He who is tired of Weird Al is tired of life! | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[ ] m...@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ Kyoto Plus: watch the video http://www.youtube.com/watch?v=kzx1ycLXQSE then sign the petition. ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
On Dec 3, 2010, at 6:03 PM, Michael Richardson wrote: fetchmail --proto POP3 --mda /usr/lib/mh/rcvstore -sequence novavision +inbox --logfile /var/tmp/nvmail.log mail.novavision.ca I believe when I used to do something similar, I used slocal instead of rcvstore. I'm sorry to say that I don't remember what made me switch, and I might have switched the other way. If you have a second to look at slocal, it might be better for you. Sorry I can't be more help. Others would like to access an IMAP server using nmh. I concur with this use, but I'd also like to do the reverse: access the email on my laptop via IMAP from *insert-favorite-mobile-device*. (that's what end-to-end networking is about...) Not just my inbox, but in fact all my email archives, the first ten years of which is not on my laptop at all. This is basically what I used to do with nmh+fetchmail -- I pulled mail down from kpop/imap sources with fetchmail into nmh for normal reading with mh-e, and occasionally used a webmail client against the original imap/kpop source for those special cases. It didn't handle all the corner-cases correctly, but it wasn't too bad. A version of MH that could speak IMAP natively seemed possible at the time, and I remember brainstorming some hacks around the `anno' problem, but nothing ever came of it, of course. I switched away from mh-e/nmh a while ago when I suddenly needed to care more about Word attachments, formatted email, and the like. The built-in spam system was also a big incentive at the time. Hope that helps, *Chad ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] SMTP/IMAP/POP Support
I have little use for SMTP except to localhost, and I never understood why /usr/sbin/sendmail for submit wasn't good enough. yeah, in the olden days of 8Mbyte sun3s, running a local MTA was expensive... It's one more thing to configure. I just tried this out on my MacOS X system that I'm sending this email from (via exmh, which uses send/post to submit this email via SMTP AUTH to the mail server directly). Apparantly MacOS X ships with Postfix, but it is disabled by default. Some quick Googling leads me to believe that this isn't hard to get running, but setting up nmh was just easier. I believe in my situation (outgoing port 25 is blocked by my ISP so I cannot do final delivery myself, I have to send all email via the submission port to a mail server), I would have to do some extra configuration, and a quick glance at the postfix configuration file tells me all I need to know; it's a LOT more complicated than setting up nmh to do it. So if /usr/sbin/sendmail works for you out of the box, okay, it's probably equivalent to setting up nmh to connect to your SMTP server directly. But that's not true for everybody. Note that I think it's perfectly fine that people choose to use the Sendmail MTA; I just don't think it's the best choice for everyone. --Ken ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers