Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: What kind of advantages [of nnmaildir] are we talking about? Here is the blurb from the info file: `nnmaildir' stores mail in the maildir format, with each maildir corresponding to a group in Gnus. This format is documented here: `http://cr.yp.to/proto/maildir.html' and here: `http://www.qmail.org/man/man5/maildir.html'. `nnmaildir' also stores extra information in the `.nnmaildir/' directory within a maildir. Maildir format was designed to allow concurrent deliveries and reading, without needing locks. With other back ends, you would have your mail delivered to a spool of some kind, and then you would configure Gnus to split mail from that spool into your groups. You can still do that with `nnmaildir', but the more common configuration is to have your mail delivered directly to the maildirs that appear as group in Gnus. `nnmaildir' is designed to be perfectly reliable: `C-g' will never corrupt its data in memory, and `SIGKILL' will never corrupt its data in the filesystem. `nnmaildir' stores article marks and NOV data in each maildir. So you can copy a whole maildir from one Gnus setup to another, and you will keep your marks. The last paragraph talks about a feature that nnml and nnfolder also have. Regarding the next-to-last paragraph, well I can't recall data corruption with nnml, either, but I never tried to provoke it. I think the concurrent delivery stuff is something you might find useful. (I hope I did mention this possibility -- I tend to forget sometimes.) Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kai Grossjohann [EMAIL PROTECTED] writes: I think the concurrent delivery stuff is something you might find useful. (I hope I did mention this possibility -- I tend to forget sometimes.) Heh, yes, you realize how much I post. But for now, I've set the autorefresh to 15 minutes, which is about how often my news server refreshes anyway. I'm sure once I get a real hang of gnus, I'll really be whipping through mail and news. - -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAW971UzgNqloQMwcRArGpAJ9X24JM6/5SbkL8uhUEwOJunKkl4QCdF/UY 3kzC7sa0HtrbFBYT68E3hG4= =boKl -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: Alright, I got it sorted out. I'm now using the nnml backend. Here's what fixed mail for me... I don't think it's necessary to switch to nnml. Everything should work with nnfolder, too. First, had to tell procmail to spew at another directory. Then, flattened my mail tree to put all the mboxes in the same directory. By flattening, do you mean the ~/procmail directory? I explicitly mentioned this in my previous message... Added this to my .gnus.el (add-to-list 'gnus-secondary-select-methods '(nnml )) (setq mail-sources '((directory :path ~/procmail/ :suffix ))) I think the two biggest things that really should be more clearly highlighted in the gnus docs is you need both statements. Really? It should work with nnfolder, too. Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Kai Grossjohann [EMAIL PROTECTED] writes: Paul Johnson [EMAIL PROTECTED] writes: Alright, I got it sorted out. I'm now using the nnml backend. Here's what fixed mail for me... I don't think it's necessary to switch to nnml. Everything should work with nnfolder, too. Actually, all the docs I have seen have lead me to believe that nnml is the easiest to deal with, and so far that seems to be the case. First, had to tell procmail to spew at another directory. Then, flattened my mail tree to put all the mboxes in the same directory. By flattening, do you mean the ~/procmail directory? I explicitly mentioned this in my previous message... Doh! I'm sorry I missed that... Really? It should work with nnfolder, too. It probably does, but now I've got nnml going and I'm not inclined to change it now that it's working properly. -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com pgp0.pgp Description: PGP signature
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: Kai Grossjohann [EMAIL PROTECTED] writes: Paul Johnson [EMAIL PROTECTED] writes: Alright, I got it sorted out. I'm now using the nnml backend. Here's what fixed mail for me... I don't think it's necessary to switch to nnml. Everything should work with nnfolder, too. Actually, all the docs I have seen have lead me to believe that nnml is the easiest to deal with, and so far that seems to be the case. Yes, nnml seems to be a more popular backend than nnfolder. Another popular backend is nnimap, for those who have this kind of server. And then there is nnmaildir, which has its own advantages. Personally, I use nnimap for some accounts and nnml for others. I've been thinking about migrating to nnmaildir, but somehow the courage is lacking :-| Really? It should work with nnfolder, too. It probably does, but now I've got nnml going and I'm not inclined to change it now that it's working properly. Sure. But in case people find our thread they will see that they don't /need/ to migrate, if they don't want to. That's why I wrote it. Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kai Grossjohann [EMAIL PROTECTED] writes: Paul Johnson [EMAIL PROTECTED] writes: Kai Grossjohann [EMAIL PROTECTED] writes: Paul Johnson [EMAIL PROTECTED] writes: Alright, I got it sorted out. I'm now using the nnml backend. Here's what fixed mail for me... I don't think it's necessary to switch to nnml. Everything should work with nnfolder, too. Actually, all the docs I have seen have lead me to believe that nnml is the easiest to deal with, and so far that seems to be the case. Yes, nnml seems to be a more popular backend than nnfolder. Another popular backend is nnimap, for those who have this kind of server. And then there is nnmaildir, which has its own advantages. Personally, I use nnimap for some accounts and nnml for others. I've been thinking about migrating to nnmaildir, but somehow the courage is lacking :-| What kind of advantages are we talking about? - -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAWo6lUzgNqloQMwcRAttMAKCzXvHdWyu1qjfkuDdXxEpWdNz5DQCglqE6 MqDDx2+Bnt0TIHQKuezYsSQ= =gIGF -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: gnus seems to have this odd habit of at least appearing not to handle incoming mail very well. It warns that the mailbox was changed on disk out from under emacs and asks if I really want to save my changes. If I say no, I can't leave the group. If I say yes, I have this unsure feeling that I could be missing mail. So is gnus doing the right thing, or am I losing mail by saving? /me motions in the direction of gnu.emacs.gnus/[EMAIL PROTECTED] ... You'll need to say what mail backend you're using. I've never seen this problem, but I use the IMAP backend, so... -- You win again, gravity! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: gnus seems to have this odd habit of at least appearing not to handle incoming mail very well. It warns that the mailbox was changed on disk out from under emacs and asks if I really want to save my changes. If I say no, I can't leave the group. If I say yes, I have this unsure feeling that I could be missing mail. So is gnus doing the right thing, or am I losing mail by saving? Well, with gnus it's better to make mail source and mail storage different, that to not put new mail directly into the gnus mbox (or whatever you tell gnus to use) but into another file where gnus will go fetch it before putting it into its mbox. -- RĂ©mi Vanicat -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: gnus seems to have this odd habit of at least appearing not to handle incoming mail very well. It warns that the mailbox was changed on disk out from under emacs and asks if I really want to save my changes. Never, never, NEVER let any program write to the files that Gnus is using. That is, in the default configuration Gnus uses ~/Mail/mail/misc (or ~/Mail/mail.misc) for the default mail group, and if you tell procmail to also write this file, then you'll quickly get into trouble. I don't know if this is your problem -- you weren't giving enough information to determine this. Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Kai Grossjohann [EMAIL PROTECTED] writes: Never, never, NEVER let any program write to the files that Gnus is using. That is, in the default configuration Gnus uses ~/Mail/mail/misc (or ~/Mail/mail.misc) for the default mail group, and if you tell procmail to also write this file, then you'll quickly get into trouble. Great...that's what I was afraid of. Well, I was expecting similar file handling as other mail clients. Darn, I was wrong. I'm using the nnfolder backend to get my mail out of procmail-created mboxes. Now I have to wonder what a better method would be. -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com pgp0.pgp Description: PGP signature
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: Kai Grossjohann [EMAIL PROTECTED] writes: Never, never, NEVER let any program write to the files that Gnus is using. That is, in the default configuration Gnus uses ~/Mail/mail/misc (or ~/Mail/mail.misc) for the default mail group, and if you tell procmail to also write this file, then you'll quickly get into trouble. Great...that's what I was afraid of. Well, I was expecting similar file handling as other mail clients. Darn, I was wrong. It is really difficult for Gnus to do it right, so it doesn't try to and instead just moves mail out of /var/mail/jrl into its own file. Then it knows there won't be any conflicts. I'm using the nnfolder backend to get my mail out of procmail-created mboxes. Now I have to wonder what a better method would be. It is easy. You tell procmail to write mail for the group nnfolder:foo.bar into the file ~/procmail/foo.bar, say. Then you tell Gnus to read mail from there into the corresponding groups: (setq mail-sources '((directory :path ~/procmail/ :suffix ))) Please note that the file name corresponds to the group name. That is, even if the group nnfolder:foo.bar is stored in the file ~/Mail/foo/bar, then the procmail input file should still be ~/procmail/foo.bar, not ~/procmail/foo/bar. It is best not to think about which file name a particular group would end up in. Also note that you could migrate Gnus from nnfolder (which uses one file per group/folder) to nnml (which uses one file per message), but the procmail setup would still remain the same. Does this help? Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Mar 17, 2004 at 01:04:08PM +0100, Kai Grossjohann wrote: It is easy. You tell procmail to write mail for the group nnfolder:foo.bar into the file ~/procmail/foo.bar, say. Then you tell Gnus to read mail from there into the corresponding groups: (setq mail-sources '((directory :path ~/procmail/ :suffix ))) OK, I tried that, gnus won't even start anymore, complaining about nnmail-process-unix-mail-format: Error, unknown mail format! (Possibly corrupted buffer ` *nnmail incoming*'.) - - -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAWIXgUzgNqloQMwcRAt13AKCTyN5mdkHcxndM//VNykedQzmlvQCfWb5a hbuNQS/rk0rlZFfzO9mABIg= =2u5A - -END PGP SIGNATURE- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAWIXvUzgNqloQMwcRAgGBAKCRAOSaGwKSHy0DVIFrqp2O7OYj4wCfZAO/ sRxsGIMzkxzNIoXT7YRsKa4= =UDoh -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnus losing mail?
Paul Johnson [EMAIL PROTECTED] writes: On Wed, Mar 17, 2004 at 01:04:08PM +0100, Kai Grossjohann wrote: It is easy. You tell procmail to write mail for the group nnfolder:foo.bar into the file ~/procmail/foo.bar, say. Then you tell Gnus to read mail from there into the corresponding groups: (setq mail-sources '((directory :path ~/procmail/ :suffix ))) OK, I tried that, gnus won't even start anymore, complaining about nnmail-process-unix-mail-format: Error, unknown mail format! (Possibly corrupted buffer ` *nnmail incoming*'.) Alright, I got it sorted out. I'm now using the nnml backend. Here's what fixed mail for me... First, had to tell procmail to spew at another directory. Then, flattened my mail tree to put all the mboxes in the same directory. Added this to my .gnus.el (add-to-list 'gnus-secondary-select-methods '(nnml )) (setq mail-sources '((directory :path ~/procmail/ :suffix ))) I think the two biggest things that really should be more clearly highlighted in the gnus docs is you need both statements. -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com pgp0.pgp Description: PGP signature
gnus losing mail?
gnus seems to have this odd habit of at least appearing not to handle incoming mail very well. It warns that the mailbox was changed on disk out from under emacs and asks if I really want to save my changes. If I say no, I can't leave the group. If I say yes, I have this unsure feeling that I could be missing mail. So is gnus doing the right thing, or am I losing mail by saving? -- .''`. Paul Johnson [EMAIL PROTECTED] : :' : `. `'` proud Debian admin and user `- Debian. Because it *must* work. debian.org aboutdebian.com pgp0.pgp Description: PGP signature
You can try VM. Re: Gnus for mail: How do I setup my system.
Hi, You can grab VM from http://www.wonderworks.com if you want an easy to use mail reader for emacs. If any other emacs users are reading this you should also check out the above mentioned site as they have some nifty packages for emacs. Chris Johann Spies wrote: I have heard that I can use gnus for handling my mail. I have looked at the huge amount of documentation on gnus mainly dealing with the reading of news. I do not want to use gnus for that as I am reading my news offline using slrn. The message-mode seems to have very few mail handling facilities. Can somebody direct me on how te setup gnus for email? Can gnus handle aliases of a group of people? I use fetchmail and procmail with pine at the moment on a dialup system to my ISP. My problem is that Pine's Sender - field causes some spam filters to reject my mail because Pine puts my hostname there and that is not a valid internet address. Johann -- | Johann Spies Windsorlaan 19 | | [EMAIL PROTECTED]3201 Pietermaritzburg | | Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) | -- And he said unto his disciples, Therefore I say unto you, Take no thought for your life, what ye shall eat; neither for the body, what ye shall put on. For life is more than meat, and the body is more than clothing. Consider the ravens, for they neither sow nor reap; they have neither storehouse nor barn; and yet God feeds them; how much better you are than the birds! Consider the lilies, how they grow; they toil not, they spin not; and yet I say unto you, that Solomon in all his glory was not arrayed like one of these. If then God so clothe the grass, which is to day in the field, and tomorrow is cast into the oven; how much more will he clothe you, O ye of little faith? And seek not what ye shall eat, or what ye shall drink, neither be ye of doubtful mind. But rather seek ye the kingdom of God; and all these things shall be added unto you. Luke 12:22-24; 27-29; 31. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: You can try VM. Re: Gnus for mail: How do I setup my system.
Hi, So what is wrong with Debian's packaged VM? VM has been in Debian since July 1995 at leaset (in 5.92beta, I think). If there is something wrong with the prepackages VM, I would appreciate a bug report. manoj baffled -- dpkg -s vm Package: vm Status: install ok installed Priority: optional Section: mail Installed-Size: 1558 Maintainer: Manoj Srivastava [EMAIL PROTECTED] Version: 6.61-1 Replaces: vm-el Provides: mail-reader Depends: smail | sendmail | mail-transport-agent, emacs19 Recommends: make Conflicts: vm-el Description: A mail user agent for Emacs VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read and disposed of within Emacs. Commands exist to do the normal things expected of a mail user agent, such as generating replies, saving messages to folders, deleting messages and so on. There are other more advanced commands that do tasks like bursting and creating digests, message forwarding, and organizing message presentation according to various criteria. . It should also be mentioned here that the documentation for vm is woefully behind the times; there fore we include /usr/doc/vm/vm-vars.el.gz, which has information about all customizable variables in vm. Also, VM 6.x versions have problems with the library tm-vm from the Tiny Mime (TM) package, since that version was written for VM 5.X. . This package comes (by default) bundled in with with XEmacs, and is not yet supported on emacs20. Christopher == Christopher Barry [EMAIL PROTECTED] writes: Christopher Hi, You can grab VM from http://www.wonderworks.com if Christopher you want an easy to use mail reader for emacs. If any Christopher other emacs users are reading this you should also check Christopher out the above mentioned site as they have some nifty Christopher packages for emacs. -- It seems a little silly now, but this country was founded as a protest against taxation. Manoj Srivastava [EMAIL PROTECTED] http://www.datasync.com/%7Esrivasta/ Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
Re: You can try VM. Re: Gnus for mail: How do I setup my system.
Hi, I'm sure nothing is wrong with Debian's prepackaged VM. I didn't know it existed, and didn't think to check. I'd really like to manage emacs packages through dpkg actually, especially if it took care of all the emacs lisp 'require and loadpath and autoloading and autoloading cookies crap for me. Chris Manoj Srivastava wrote: Hi, So what is wrong with Debian's packaged VM? VM has been in Debian since July 1995 at leaset (in 5.92beta, I think). If there is something wrong with the prepackages VM, I would appreciate a bug report. manoj baffled -- dpkg -s vm Package: vm Status: install ok installed Priority: optional Section: mail Installed-Size: 1558 Maintainer: Manoj Srivastava [EMAIL PROTECTED] Version: 6.61-1 Replaces: vm-el Provides: mail-reader Depends: smail | sendmail | mail-transport-agent, emacs19 Recommends: make Conflicts: vm-el Description: A mail user agent for Emacs VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read and disposed of within Emacs. Commands exist to do the normal things expected of a mail user agent, such as generating replies, saving messages to folders, deleting messages and so on. There are other more advanced commands that do tasks like bursting and creating digests, message forwarding, and organizing message presentation according to various criteria. . It should also be mentioned here that the documentation for vm is woefully behind the times; there fore we include /usr/doc/vm/vm-vars.el.gz, which has information about all customizable variables in vm. Also, VM 6.x versions have problems with the library tm-vm from the Tiny Mime (TM) package, since that version was written for VM 5.X. . This package comes (by default) bundled in with with XEmacs, and is not yet supported on emacs20. Christopher == Christopher Barry [EMAIL PROTECTED] writes: Christopher Hi, You can grab VM from http://www.wonderworks.com if Christopher you want an easy to use mail reader for emacs. If any Christopher other emacs users are reading this you should also check Christopher out the above mentioned site as they have some nifty Christopher packages for emacs. -- It seems a little silly now, but this country was founded as a protest against taxation. Manoj Srivastava [EMAIL PROTECTED] http://www.datasync.com/%7Esrivasta/ Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
Gnus for mail: How do I setup my system.
I have heard that I can use gnus for handling my mail. I have looked at the huge amount of documentation on gnus mainly dealing with the reading of news. I do not want to use gnus for that as I am reading my news offline using slrn. The message-mode seems to have very few mail handling facilities. Can somebody direct me on how te setup gnus for email? Can gnus handle aliases of a group of people? I use fetchmail and procmail with pine at the moment on a dialup system to my ISP. My problem is that Pine's Sender - field causes some spam filters to reject my mail because Pine puts my hostname there and that is not a valid internet address. Johann -- | Johann Spies Windsorlaan 19 | | [EMAIL PROTECTED]3201 Pietermaritzburg | | Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) | -- And he said unto his disciples, Therefore I say unto you, Take no thought for your life, what ye shall eat; neither for the body, what ye shall put on. For life is more than meat, and the body is more than clothing. Consider the ravens, for they neither sow nor reap; they have neither storehouse nor barn; and yet God feeds them; how much better you are than the birds! Consider the lilies, how they grow; they toil not, they spin not; and yet I say unto you, that Solomon in all his glory was not arrayed like one of these. If then God so clothe the grass, which is to day in the field, and tomorrow is cast into the oven; how much more will he clothe you, O ye of little faith? And seek not what ye shall eat, or what ye shall drink, neither be ye of doubtful mind. But rather seek ye the kingdom of God; and all these things shall be added unto you. Luke 12:22-24; 27-29; 31.
Re: Gnus for mail: How do I setup my system.
Johann Spies [EMAIL PROTECTED] writes: | I have heard that I can use gnus for handling my mail. I have looked at | the huge amount of documentation on gnus mainly dealing with the reading | of news. I do not want to use gnus for that as I am reading my news | offline using slrn. You can certainly use gnus to read news offline using SOUP. I don't know much about it though so perhaps someone else can comment. There's also a much more sophisticated and easy way to do it with gnus Agent. Again, I'm not that familiar with it but it looks like it's pretty extensively covered in the gnus manual. Just go to the Index and search for the Agent topic. It also looks like it's extremely easy to use. My own personal opinon is that if you're not going to use gnus for News then it'd probably be better to use something else for email as well. One of the advantages of using gnus is that you can have a nice consistent interface for News and email. That and about a gazillion other feature that make gnus one of the most powerful News/Email handlers I've ever seen! | The message-mode seems to have very few mail handling facilities. Are you using GNU/Emacs or XEmacs? I don't remember if GNU/Emacs comes with TM. TM certainly works with either of them, though it's included as part of XEmacs by default. Anyway, message-mode in conjunction with TM, which is a MIME handling system, can do anything I can possibly think of. It's not a nice point-n-click type system, but then it can be a lot more powerful than such systems too. | Can somebody direct me on how te setup gnus for email? That sorta depends on how you want to handle mail. In my opinon, the best mail backend in gnus is nnml. It's basically a system where each folder corresponds to a directory (~/Mail by default) and each message within a folder is in it's own file. If you want to use this backend then the steps are simple: 1) Create a file called ~/.gnus.el 2) Add the following line to that file: (setq gnus-secondary-select-methods '((nnml ))) I think that's it. You may have to run nnml-generate-nov-databases, but I think that's only necessary if you've got old mail you want to import into gnus. Oh yes, if you just want to read email then you invoke gnus as: gnus-no-server Of course there are a TON of other options for customizing things beyond this. You'll have to read the manual unless you have something specific you can ask about. | Can gnus handle aliases of a group of people? Yes, it reads the aliases from ~/.mailrc. | I use fetchmail and procmail with pine at the moment on a dialup system to | my ISP. My problem is that Pine's Sender - field causes some spam | filters to reject my mail because Pine puts my hostname there and that is | not a valid internet address. [signature that's longer than the rest of the article snipped] Are you sure it's pine putting that Sender: header in there and not your MTA? I know on my Linux box that smail puts the sender line in there, not my mailer (gnus). If you're using procmail to filter mail then you'll need to read the gnus manual on how to handle that. Personally, I use procmail to separate mail into two categories, mail from lists, and mail from everything else, then I let gnus split that up into groups. Again, you'll have to be more specific if you want more specific help. Gary
Re: Gnus for mail: How do I setup my system.
*-Johann Spies [EMAIL PROTECTED] | | I have heard that I can use gnus for handling my mail. I have looked at | the huge amount of documentation on gnus mainly dealing with the reading | of news. I do not want to use gnus for that as I am reading my news | offline using slrn. To gnus mail is almost the same as news. You can put your mail in several different mail groups, catchup mail groups, expire mail groups and handle them just as you would news groups. | The message-mode seems to have very few mail handling facilities. | | Can somebody direct me on how te setup gnus for email? Here is part of my .gnus file: (setq gnus-select-method '(nnfolder )) (setq nnmail-spool-file /var/spool/mail/olet) I believe (hope :-) that should get you started. (With a different spool file, of course) With gnus you can do just about anything... | Can gnus handle aliases of a group of people? Sure. -- .elOle.
Re: GNUS and Mail
Eloy A Paris writes: Eloy rmail??? Isn't this rmail the one that comes in the sendmail Eloy package and is used for UUCP mail? I guess not... As it happens, rmail is a homonym (or is it polyseme?). Not only is the program that's used with UUCP called rmail, but RMAIL is also an Emacs mail reader. kai -- A large number of young women don't trust men with beards. (BFBS Radio) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: GNUS and Mail
[EMAIL PROTECTED] (Karl M. Hegbloom) writes: This works for me in XEmacs 20. I get my mail home using `fetchmail', which is configured with an mua line in its control file that has it run `formail -s procmail'. I just let gnus do the splitting (no procmail necessary. From my .emacs file: ;;; Gnus setup (setq nnmail-split-methods 'nnmail-split-fancy) (setq nnmail-split-fancy '(| (Gnus-Warning .* duplicates) (X-Mailing-List debian-announce debian-announcements) (X-Mailing-List debian-devel-announce debian-announcements) (X-Mailing-List debian-changes debian-changes) (X-Mailing-List debian-devel-changes debian-changes) (X-Mailing-List debian-bugs-dist debian-bugs) (X-Mailing-List debian-user debian-user) (X-Mailing-List debian-devel debian-devel) (X-Mailing-List debian-private debian-private) (Sender [EMAIL PROTECTED] executor) (Sender [EMAIL PROTECTED] pioneer-users) (Sender [EMAIL PROTECTED] accelerated-x-users) (Resent-From [EMAIL PROTECTED]|[EMAIL PROTECTED] lesstif) (X-Mailing-List [EMAIL PROTECTED] gtk) inbox)) (setq browse-url-browser-function 'browse-url-netscape) (setq gnus-select-method '(nntp newshost.cc.utexas.edu)) (setq gnus-asynchronous t) (setq gnus-subscribe-newsgroup-method 'gnus-subscribe-zombies) (setq gnus-check-new-newsgroups 'ask-server) (setq gnus-save-newsrc-file nil) (setq nnmail-crosspost nil) ;; So the server will accept me (setq gnus-local-domain cs.utexas.edu) ;; So the from field will be reasonable. (setq gnus-user-from-line Rob Browning [EMAIL PROTECTED]) (setq user-mail-address [EMAIL PROTECTED]) (setq gnus-local-organization The University of Texas at Austin) (setq gnus-extract-address-components 'mail-extract-address-components) (setq gnus-auto-select-next t) (setq gnus-auto-select-same t) (setq gnus-use-cross-reference 'all) (setq gnus-auto-select-newsgroup nil) (setq gnus-summary-check-current t) (setq gnus-fetch-old-headers 'some) (setq gnus-thread-hide-subtree t) (setq gnus-thread-indent-level 2) (setq gnus-build-sparse-threads 'some) (setq gnus-keep-backlog 50) ;;; Score file stuff (setq gnus-kill-killed t) ;; so you can re-kill a set of articles (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) (setq gnus-use-cache 'passive) (setq gnus-secondary-select-methods '((nnml osiris (nnml-directory ~/Mail/Incoming) (nnml-active-file ~/Mail/Incoming/active) ))) (setq gnus-message-archive-method '(nnml outgoing (nnml-directory ~/Mail/Outgoing) (nnml-active-file ~/Mail/Outgoing/active) (nnml-get-new-mail nil))) (setq gnus-message-archive-group '((if (message-news-p) misc-news misc-mail))) (setq nnmail-delete-duplicates 'warn) (setq nnmail-message-id-cache-length 3000) (setq gnus-permanently-visible-groups ^nnml+) -- Rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: GNUS and Mail
Mark Lever writes: Mark Hi, I use gnus and rmail. I've been using rmail for so long Mark now, and it is limited. Someone mentioned here that they Mark use gnus for their mail and different folders contained Mark different types of mail. Could they elaborate and explain Mark to me how to get gnus to look at my mailbox and separate the Mark mail into different folders? Mark Either to the list or directly... This works for me in XEmacs 20. I get my mail home using `fetchmail', which is configured with an mua line in its control file that has it run `formail -s procmail'. I had to create ~/Mail and ~/Mail/.incoming with dired to get it started. The ~/.gnus file is right out of the Info manual, except for the function I've added. ;; -*- emacs-lisp -*- (require 'mime-setup) (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) (setq nnfolder-directory ~/Mail/) (setq nnmail-spool-file 'procmail) (setq nnmail-procmail-directory ~/Mail/.incoming/) (setq gnus-secondary-select-methods '((nnfolder ))) (setq nnmail-procmail-suffix ) (add-hook 'gnus-select-group-hook 'gnus-group-set-timestamp) ;;(setq gnus-group-line-format ;; %M\%S\%p\%P\%5y: %(%-40,40g%) %d\n) (setq gnus-group-line-format %M\%S\%p\%P\%5y: %(%-40,40g%) %6,6~(cut 2)d\n) ;;; Experimental --- plussed addresses. (defvar alias-suffix-history nil History variable for `my-address-choice' minibuffer completion.) (setq alias-suffix-alist '((news) (mail) (plug) (xemacs) (debdev) (debuser) (support) (other) )) (make-variable-buffer-local 'mail-default-reply-to) (make-variable-buffer-local 'user-mail-address) (defun my-address-choice () This function chooses which alias-suffix to use (interactive) (let* ((alias-suffix (completing-read Which alias-suffix: alias-suffix-alist nil nil nil 'alias-suffix-history)) (mailname (exec-to-string cat /etc/mailname)) ;Debian GNU/Linux (mailname (substring mailname 0 (1- (length mailname (alias) ) (setq alias (concat (user-login-name) (and alias-suffix (concat + alias-suffix)) @ mailname) mail-default-reply-to alias user-mail-address alias) (message %s alias))) (add-hook 'message-header-setup-hook 'my-address-choice) # Ask XEmacs to pretend this is -*- sh -*-. PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Mail/.incoming DEFAULT=$MAILDIR/Inbox #LOGFILE=$HOME/Mail.from LOGFILE=/dev/xconsole [EMAIL PROTECTED] # formail -s procmail #--- # From the BitterSweet Technical Support mailing list :0: * ^Resent-From:.*support Support #-- # Other users/lists on this system: :0c * ^To.*slarti.*inetarena ! [EMAIL PROTECTED] :0c * ^To.*robinh.*inetarena ! [EMAIL PROTECTED] :0c * ^To.*jillian.*inetarena ! [EMAIL PROTECTED] :0c * ^To.*zaphod.*inetarena ! [EMAIL PROTECTED] # And a copy for me, since these are just aliases to # my Internet Arena account anyhow, that I use for testing. :0 * ^To.*((slarti)|(robinh)|(jillian)|(zaphod)).*inetarena Lusers #-- # to karlheg+support :0 * ^To:.*karlheg\+support Support #--- # Qpopper Bulletins :0 * ^To.*bulletin@(bittersweet|localhost)* * !^From.*bittersweet-support { Bullno= `printf '%04d' $(( $(tail -1 (ls /var/spool/popbull/) | cut -d_ -f1) + 1))` Bullnm= `formail -x Subject: | tr -s [:blank:] _` UMASK=022 :0w * $^X-Passwd.*BlessedProcmail$ | formail -I X-Passwd: -I Return-Path: -I Received: \ -a 'Reply-To: [EMAIL PROTECTED]' \ -a Message-ID: \ /var/spool/popbull/${Bullno}${Bullnm} } #--- # Spam: :0: * ^FROMearthlink SPAM #--- # Family :0: * ^From:.*(BUCKINGHAM)|(legend.*nidlink) Family # :0: * ^From.*CERT CERT # # Debian GNU/Linux: Software in the Public Interest :0: * ^TOdebian-announce Debian.Announce :0: * ^TOdebian-devel-announce Debian.Devel-Announce :0: * ^TOdebian-changes Debian.Changes :0: * ^TOdebian-devel-changes Debian.Devel-Changes :0: * ^TOdebian-bugs Debian.Bugs :0: * ^From.*bugs\.debian\.org Debian.Bugs :0: * ^TOdebian-qa Debian.QA :0: * ^TOdebian-faq Debian.FAQ :0: * ^TOdebian-user Debian.User :0: * ^TOdebian-devel Debian.Devel :0: * ^TOdebian-admintool Debian.Admintool :0: * ^TOdebian-doc Debian.Doc :0: * ^TOdebian-book Debian.Book :0: * ^TOdebian-www Debian.WWW :0: * ^TOdebian-publicity Debian.Publicity #- :0: * ^To:.*redhat
Re: GNUS and Mail
Mark Lever ([EMAIL PROTECTED]) wrote: : I use gnus and rmail. I've been using rmail for so long now, and it : is limited. Someone mentioned here that they use gnus for their mail : and different folders contained different types of mail. Could they : elaborate and explain to me how to get gnus to look at my mailbox and : separate the mail into different folders? rmail??? Isn't this rmail the one that comes in the sendmail package and is used for UUCP mail? I guess not... E.- -- Eloy A. Paris Information Technology Department Rockwell Automation de Venezuela Telephone: +58-2-9432311 Fax: +58-2-9430323 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: GNUS and Mail
EAP == Eloy A Paris [EMAIL PROTECTED] writes: EAP rmail??? Isn't this rmail the one that comes in the sendmail EAP package and is used for UUCP mail? I guess not... Your guess is right. Rmail is a mail reader for Emacs. -- Emilio C. Lopes mailto:[EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
GNUS and Mail
Hi, I use gnus and rmail. I've been using rmail for so long now, and it is limited. Someone mentioned here that they use gnus for their mail and different folders contained different types of mail. Could they elaborate and explain to me how to get gnus to look at my mailbox and separate the mail into different folders? Either to the list or directly... Thanks, -- [EMAIL PROTECTED] Applied Digital Access, Inc. San Diego, CA 92121 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: GNUS and Mail
Mark == Mark Lever [EMAIL PROTECTED] writes: Mark Hi, I use gnus and rmail. I've been using rmail for so long Mark now, and it is limited. Someone mentioned here that they Mark use gnus for their mail and different folders contained Mark different types of mail. Could they elaborate and explain Mark to me how to get gnus to look at my mailbox and separate the Mark mail into different folders? That was probably me. This is my annotated .gnus: (setq user-mail-address [EMAIL PROTECTED]) ; I'm [EMAIL PROTECTED] (setq gnus-select-method '(nntp news.imsa.edu)) ; Get news from news.imsa.edu (setq gnus-secondary-select-methods ; Also get my mail from the local mail '((nnml private))) ; spool. (setq nnmail-split-methods ; Split up my mail into these categories: '((junk ^From:.*Ben Gertzfield) (debian-user ^To:.*debian-user\\|^Cc:.*debian-user) (debian-devel ^To:.*debian-devel\\|Cc:.*debian-devel) (debian-changes ^To:.*debian-changes.*\\|Cc:.*debian-changes.*) (debian-private ^To:.*debian-private\\|Cc:.*debian-private) (chicago-furry ^Subject:.*cFur\\) (gnus ^To:.*gnus\\|^To:.*ding\\|^Cc:.*ding\\|^Cc:.*gnus) (newgroups ^Subject:.*newgroup\\|^Subject:.*rmgroup\\|^Subject:.*Netscape.*News) (linux-alert ^To: linux-security@redhat.com) (kevin-kell ^Subject:.*KK) (cosmic ^Reply-To: [EMAIL PROTECTED]) (deity ^To:.*deity\\|^Cc:.*deity) (cdwrite ^To:.*cdwrite\\|^Cc:.*cdwrite) (gimp ^Subject:.*gimp\\|^To:.*gimp\\|^Cc:.*gimp) (other ))) (setq gnus-auto-expirable-newsgroups ; Keep my read mail for a week, then nnml.*) ; delete it. (setq gnus-use-nocem t) ; Use NoCeM to cancel spam. (add-hook 'message-header-setup-hook ; Insert my xface and reply-to, and (function (lambda () ; run my signature randomizer. (goto-char (point-max)) (insert Reply-To: [EMAIL PROTECTED]) (insert X-Face:) (insert-file-contents (expand-file-name ~/.xface)) (forward-char -1) (shell-command /home/wilwonka/bin/sig.pl ; Use MailCrypt for PGP. (add-hook 'gnus-summary-mode-hook 'mc-install-read-mode) (add-hook 'news-reply-mode-hook 'mc-install-write-mode) (add-hook 'gnus-article-mode-hook 'mc-install-write-mode) ; The end! -- Brought to you by the letters L and D and the number 7. You forgot Uranus. Goodnight everybody! -- Yakko and Wakko Ben Gertzfield http://www.imsa.edu/~wilwonka/ Finger me for my public PGP key. I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .