Problems with Gnus setup
I've been using Gnus for a few years. Recently, my ISP changed their news server - I think its changed from running DNES to PNEWS - thought thats only a guess bassed on the name of the server. Since the change, I've been having lots of issues with gnus getting articles from the server. I've also noticed a few other 'odd' behaviors with gnus. I've now totally removed all my gnus configuration and started from scratch. I've also removed the old ~/News directory tree. Essentially, I'm starting from scratch as if I've never run gnus before. The problem I'm having is with the default select method i.e. gnus-select-method. I'm running under Debian Etch (Testing) with Emacs 21.4 and Gnus No Gnus v0.4. I'm on a 512 ADSL link. Problems When I start gnus, it is unable to recognise the news server specified in /etc/news/server (the default Debian installation sets this as the file instead of the older /etc/nttpserver file. I've checked the variable when gnus is running and it is correct). If I only place the name of the server in that file, it gives an error at startup saying it cannot open ''. This is not a significant problem as specifying the select method through customize works fine. Basically, my select method is (nntp "news.internode.on.net") After bare bones startup without a .newsrc file (or .newsrc.eld), the active file is read from the remote nntp server. this is varified by network traffic and I can subscribe to groups using U and gnus can even auto complete the newsgroup name. However, regardless of what groups I've subscribed to, hitting g to get new news always tells me there is no new news. I also don't see any network traffic. If I then quit and login again, there is still no news. I can post to the group, but still there is no new news using g. However, if I hit M-g, suddenly there is lots of gnus - as I've not done any catup, there is usually thousands of unread messages, most of which have expired of course. If I subscribe to a group on my ISPs news server as a foreign group, all works just fine. So, since the foreign method is exactly the same as the default gnus-select-method, why is this not working? My suspicion is there is some weird behavior between the gnus nntp method and the new news server software my ISP is running, but I'm only guessing that because until they changed software, all was fine. Of course, I've not changed my gnus configuration for a long time, so I could be working under some misconceptions on how my system was previously configured (I did the stupid thing of deleteing my old config before realising I didn't have a backup of it). So, can anyone give me some pointers on what I should try to get this to work correctly? TIA Tim . -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Problems with `nnweb' mode
Tassilo Horn <[EMAIL PROTECTED]> writes: > Rodolfo Medina <[EMAIL PROTECTED]> writes: > > Hi Rodolfo, > >> I installed emacs-w3m and also the `url' package, but the message gnus >> finds with the above procedure (`G w' etcetera) are all completely >> blank. > > Here, too. Google has changed its format, and it's not documented > anywhere. If you use groups.google.com's search in a browser you can see > the new search-string, but there's no way to find out how to tell google > to return the found article as plain-text, so that gnus can display it. > > Maybe one could work arround this by fetching the result's html page and > stripping the html-tags, but that would be really hard work... > > It's likely that there's no API because google doesn't want that people > use it that way. People searching for articles at google via their > newsreaders cannot see the banners and ads... > > Nevertheless, I've sent a mail to google and asked if usage of > groups.google.com in own applications is allowed, and if yes, where I > can read how it works. > > Regards, > Tassilo > -- > A child of five could understand this! Fetch me a child of five! > > > Although not a great solution, you could probably use xslt to translate the html? Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Slime and Emacs Lisp
Sébastien Vauban <[EMAIL PROTECTED]> writes: > Hello, > > I've just installed Slime and CLisp. Very good choice, I think. > > But my ultimate goal would be to try enjoying all the features > of Slime for debugging Emacs Lisp code I want to maintain... > but, when compiling my Emacs Lisp code, it reports many errors, > like: > > o undefined function NIL > o function INTERACTIVE is not defined > o function USE-LOCAL-MAP is not defined > o MAJOR-MODE is neither declared nor bound > o function RUN-HOOKS is not defined > o ... > > And, *not* being an expert at all in both languages, I don't > know if their differences are so big it's purely impossible to > do what I want, or if it's still possible to debug Emacs Lisp > code with Slime/CLisp? > Please note this is not the right group for this question. Try gnu.emacs.help. Slime is designed for working with common Lisp, which is a different beastie to Emacs Lisp. Emacs has a pretty good in-built debugging capabilities and a much closer integration than you would get with slime even if you could get slime to work with it. Slime uses a CL package called SWANK, which is used to handle the interactions between emacs and common lisp. You don't need this for emacs lisp as its part of the editor. You can get a similar function to the slime repl with ielm e.g. M-x ielm HTH Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Slime and Emacs Lisp
Sébastien Vauban <[EMAIL PROTECTED]> writes: > Hello, > >>> But my ultimate goal would be to try enjoying all the features >>> of Slime for debugging Emacs Lisp code I want to maintain... >>> >>> And, *not* being an expert at all in both languages, I don't >>> know if their differences are so big it's purely impossible to >>> do what I want, or if it's still possible to debug Emacs Lisp >>> code with Slime/CLisp? >> >> Please note this is not the right group for this question. Try >> gnu.emacs.help. > > Sorry, you're right. Stupid mistake. > > >> Slime is designed for working with common Lisp, which is a different >> beastie to Emacs Lisp. Emacs has a pretty good in-built debugging >> capabilities and a much closer integration than you would get with >> slime even if you could get slime to work with it. > > Can you be a bit more specific about which environment you use > to do so? > > For example, how do you get the display of a function's > arguments list in the minibuffer? Very very useful. > Three refernces which you cannot do without if you are planning to develop emacs lisp packages - 1. The emacs manual. Check out the section on tags, programming modes, imenu, documentation lookup, symbol completion etc. 2. An introduction to Emacs Lisp manual. Comes as a package under Debian and possibly RedHat and should be available at the GNU site. Gives a general overview of emacs lisp and pointers to using the debugger and other built-in features. 3. The Emacs Lisp manual. Covers the nitty gritty bits of emacs lisp and using the debugger, profiling etc. 4. http://www.emacswiki.org - contains lots of useful information on customizations and add-on packages you can use to setup your lisp development environment. 5. O'Reilly has a book called something like Extending Emacs or Emacs Lisp Programming - I can't quite remember. It has some handy tips. To what extent you can get things like function argument lists in the min-buffer, I don't know. Most of my emacs lisp programming has been fairly simple and I've not used/missed that feature. However, as slime is just emacs lisp, then either it can be implemented (there is your first project!) or it already exists either as an add-on or customization change. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Multiple e-mail, automatic EOL
Julien Ghaye <[EMAIL PROTECTED]> writes: > Hi all, > > I'm a beginner using gnus (and Emacs too) and I got several > problems setting it up. > I use gnus as a news reader and as an e-mail client. My > problem is that i dont want to sent my real e-mail when > writing a new article for a newsgroup, so I wrote in my > config file : > (setq user-mail-address "[EMAIL PROTECTED]") > This works fine, even too fine. Indeed, it has the same > effect when I send an e-mail, where I expect to send my > real e-mail. > So, how can I deal with it ? How/Where can I add a list > of my e-mail adreses and choose one of them when sending > a mail ? Look at the section on 'posting styles' in the manual. This is covered there. > I also have another question. How can I set gnus to make > it go to the next line when I reached a number of caracters > on the previous line ? > Look in the emacs manual under the heading "Filling", which is emacs speak for line wrapping. If you want to use soft line breaks, check out the longlines.el package - you can probably find it at http://www.emacswiki.org. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Slime and Emacs Lisp
Stefan Monnier <[EMAIL PROTECTED]> writes: >>> 5. O'Reilly has a book called something like Extending Emacs or Emacs >>> Lisp Programming - I can't quite remember. It has some handy tips. > >> I have "Writing GNU Emacs Extensions" on my shelf which is quite nice. > >> But back to being off-topic: Is there some kind of debugger and >> inspector for Elisp like what Slime provides for CL? At least the >> debugger I know from XEmacs is very basic and does not remotely compare >> to Slime's. Any help is greatly appreciated. > > Check the Emacs Lisp Manual, looking for "debugger". > I use `edebug'. > > I echo Stefan's comments. Emacs has the basic debugger/stack trace, but it also has edebug, which is very powerful. Personally, I've always found the best debugger to be between your ears. I've used the simple debugger a fair bit, but have only resorted to using edebug on a couple of occasions. I find lisp with its very simple syntax means 90% of the time, any bugs I have are 'logic flaws' in my algorithm and while stepping/tracing and watching variables change values can certainly help, its usually (for me) faster to just look at my code and run it through in my head. The whole development process with lisp is very different to working with something like C. I use unit testing a lot more with lisp and just work on an individual function until I know its returning what I want/expect and then just move on to the next bit. In C, I would often have to write quite a few functions before I could get to the point of testing and would then find quite a few bugs all at once. However, even in C, I rarely used a debugger - most of the time a few useful debugging C macros and a couple of asserts was sufficient. I really only ever used a debugger when dealing with lower level subsystems and device drivers or possibly a quick analysis of a core file to work out where the problem occured and then start looking at the sources from that pint. I've found even when working with slime and common lisp, I rarely need the full power of its features - maybe I'm just doing really simple stuff. I'm also a bit of a dinosaur and started writing code before all these really flashy IDEs existed - back then, getting your code to work well with a debugger often took a bit of effort and the information it provided was either difficult to interpret or too verbose. I'd strongly recommend just using the emacs debugger and edebg for the more complex situation. When you find your at a point which is difficult to debug, post some specific examples to gnu.emacs.help and I'm sure you will get some good pointers. In the meantime, lets move this discussion to gnu.emacs.help rather than continuing this off topic thread further in this group. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus got lazy all of a sudden.
Fredrik Bulow <[EMAIL PROTECTED]> writes: > Hi! > > I've been using GNUS for about two weeks to read my mail, new and > favourite RSS feeds. > > When I start GNUS, it used to check for new mail, news and RSS and > display the number of new messages next to the group. One day it > ceased to do this for news, it still fetches mail and rss like it > should, but if I want to check for new news I must go to the > group. Instead of seeing the number of new messages next to news > groups, I see an '*'. After visiting and exiting the group this as > been replaced by the number for new messages. > > The 'g' key in the *Groups* buffer also ignores news but gets rss and > mail. > > Here is my current .gnus file. > I've noticed the same behavior after my ISP changed their news server. I've found only two solutions to date - I also posted to this group, but didn't get any response. solution 1. If I subscribe to my ISP news servers groups as if they were foreign groups, everything works fine. When I start gnus or hit g, gnus checks for new articles and displays the number in the groups listing buffer. Likewise, if I define a secondary select method, I can subscribe to the groups and they show up as foreign groups and all works fine. solution 2. If I use l to list all groups and then use M-g when on a native group, it will tell me how many available messages are there. I have varified my group levels are all OK (everything is pretty much at defaults). This problem didn't occur until after my ISP switched to a new news server and now takes a full feed from somewhere like supernova or supergroups or something similar in the states. After they changed news servers, I totally reconfigured things and made sure I had removed old article number caches etc, just in case new article numbers caused problems etc. I also found that when setting up the system again, the new group listings and subscription methods outlined in the manual didn't work as advertised. I wonder if TPG has changed their news server or done something similar? Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus got lazy all of a sudden.
Fredrik Bulow <[EMAIL PROTECTED]> writes: > Thanks for your help! > glad it was useful. > M-g works for me. As a quick fix I might just make a macro or a lisp > function that checks all groups with this method and bind it to G. > Alternatively, setup your news server as a secondary method and groups are subscribed as foreign groups - this seems to work. You may then want to change the display pattern so that only the group is shown and not the rest of the info about method and server etc. > I'm changing ISP soon anyway so if the problem is related to their > server having changed something, then perhaps the problem will fix > itself when I leave them *wishful thinking*. I use to be with TPG as well, but didn't like them much. Until my current ISP (internode) changed servers, I was very happy - I guess with the exception of the news server, I'm still pretty happy with them. Something I forgot to mention is that I found things worked fin using other news readers like tin - only gnus seems to have problems. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Possible Gnus/Emacs 22 Tramp bug?
I'm running on Debian with emacs 22 snapshot and gnus-version says No Gnus v0.4 (Debian package 5.11+v0.4.dfsg). When I try to save an article with 'O b', I get the error "Not a valid tramp filename'. This is because the group I'm reading is a foreign group and tries to save it in the file ~/News/my.isp.com+nntp:gnu.emacs.help/... It seems emacs 22 is seeing the + and : in the filename as an indicator it is a tramp filespec, which shouldn't happen since it starts with a tilde rather than a / and the + and : are not in the first component (I'm gussing). This wasn't a problem until a recent gnus upgrade. I wanted to know if other users have observed this with emacs 22 - especially if they are not a debian user as I'm trying to work out who to log a bug with - i.e. emacs 22 or gnus? Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Possible Gnus/Emacs 22 Tramp bug?
Tassilo Horn <[EMAIL PROTECTED]> writes: > Tim X <[EMAIL PROTECTED]> writes: > > Hi Tim, > >> I'm running on Debian with emacs 22 snapshot and gnus-version says No >> Gnus v0.4 (Debian package 5.11+v0.4.dfsg). >> >> When I try to save an article with 'O b', I get the error "Not a valid >> tramp filename'. This is because the group I'm reading is a foreign >> group and tries to save it in the file >> ~/News/my.isp.com+nntp:gnu.emacs.help/... >> >> It seems emacs 22 is seeing the + and : in the filename as an >> indicator it is a tramp filespec, which shouldn't happen since it >> starts with a tilde rather than a / and the + and : are not in the >> first component (I'm gussing). > > Works for me. TRAMP gets loaded but doesn't get in my way. I remember > there were some changes made to TRAMP loading/startup last week, but > they shouldn't be related, I think. > > Perhaps you tweaked the value of `tramp-file-name-regexp'? That's the > default I'm using here: > > , > | tramp-file-name-regexp is a variable defined in `tramp.el'. > | Its value is "\\`/[^/:]+:" > ` > > Both Gnus and Emacs are CVS snapshots from last saturday here. > > ,[ C-h v gnus-version RET ] > | gnus-version is a variable defined in `gnus.el'. > | Its value is "No Gnus v0.6" > ` > > ,[ C-h v emacs-version RET ] > | emacs-version is a variable defined in `version.el'. > | Its value is "22.0.50.1" > ` > Hi Tassilo I've not changed the tramp filename regexp from its default. However, while I've got the same emacs version as you, my gnus version says No Gnus v0.4". I'm guessing your running Debian unstable? I'm actually running Debian Testing with the emacs-snapshot from unstable. That probably explains the differences. If its working for you, I won't bother with a bug report as it has probably been dealt with. Actually, now that I think about it, I did an upgrade today to the newest emacs-snapshot. I'll have to check to see if the issue has been resolved since. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How many use eMacs and Gnus on daily basis?
[EMAIL PROTECTED] writes: > Hadron Quark <[EMAIL PROTECTED]> wrote: > >>[EMAIL PROTECTED] writes: >> >>> I'm curious what you do with emacs >>> >>> and gNus >> >>I'd say everyone that posts in this ng > > Ok > > Dumb question on my part but here goes > > I sick of bloated and fat software from MS > > If I learn emacs can it replace say 80 percent of the > stiff I use now? Without knowing what you do or what your needs are, its nearly impossible to say for certain. However I have been using emacs almost exclusively for 99% of what I do for the past 8 years. I was an analyst/programmer, moved into managing a mid sized data centre and now do project management work (though I still miss programming and plan to move back there). In these jobs, particularly the management and project work, I need to interact with a lot of people on various platforms, produce lots of documents in high quality formats, maintain web sites relating to current projects and various other bits and pieces. While some of my emacs configuration took some time to get right, I have no problem with people sending me MS word, Power Point and to a limited extent XLS attachments, I produce PDF documents, edit wiki pages, use latex and docbook etc all without ever leaving emacs at all. I use modes like planner mode, muse, emacs wiki, nxml-mode, w3m and w3 for web browsing and if necessary, can send urls to firefox to render. I use emacs to produce presentations and slides for talks, a simple emacs based spreadsheet and database, bbdb for my contacts, calendar and appointment mode for tracking meetings etc and lots of other bits I've either downloaded or written myself. So, my answer is more than likely you will be able to do the vast majority of things you need to do through emacs - it may take some time before you find all the right packages, get the configurations just right and perhaps learn to do some simple elisp to assist in linking it all together. I run my emacs under Linux, so I can't say how effective it is in replacing all the standard windows apps, but under Linux it works well for me - your milage may differ. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How many use eMacs and Gnus on daily basis?
[EMAIL PROTECTED] (Mark T.B. Carroll) writes: > [EMAIL PROTECTED] writes: > >> Dumb question on my part but here goes >> >> I sick of bloated and fat software from MS >> >> If I learn emacs can it replace say 80 percent of the >> stiff I use now? > > I'm planning to try out emacs' planner and wiki stuff and whatever. > There are emacs packages for many things, but many are poorly enough > documented that it really helps to be able to read Emacs Lisp so that > you can study the source code. > > For word processing and spreadsheets and whatever, probably I could bend > emacs to those purposes, but frankly I use other free tools like LyX and > Gnumeric instead. For documents, AucTex mode under emacs is really good. Its been many years since I tried out LyX, but for anything LaTeX/TeX based, I don't think you can beat AucTex. There are at least 3 different emacs spreadsheet modes and they vary in how good they are. However, unless you need really sophisticated stuff, I've found them pretty good. It does really help to know elisp. However, elisp is not as daunting as it may seem at first and doesn't take long to learn (like lisp generally, it is easy to learn, but takes a bit of effort to master). Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How many use eMacs and Gnus on daily basis?
Joe Fineman <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: > >> I'm curious what you do with emacs > > All personal & business writing & recordkeeping. > >> and gNus > > Email & newsgroups. > > Things I cannot yet do with Emacs: > > 1. Deal with the Web. I use w3m for one site that is all text, but > it is rather clunky, and I have not yet found out how to access > graphics with it. > Yes, this is an area where emacs is not as good as I wish. I use a combination of w3m and w3. However, you can use the browse-url package so that when you click on links or open html files, it all happens in firefox (or mozilla or gaeleaon or whatever). > 2. Edit Word .doc files. I wish someone would reverse-engineer Word > to the extent of making it possible to edit the files in Emacs > without corrupting them. Yes, word can be a bit of an issue. I use wv to convert word files into either text or html. However, I noticed on the gnu.emacs.sources list the other day someone is working on an ODF (open document format) for emacs - this is what open office uses. Ultimately, this could allow you to create documents in emacs and then use open office to convert them into word files. Personally, I tell people not to send me word documents and when they do, I tell them they need to convert them into pdf or some other open format if they want me to read them. Not always a popular thing to do, but so far I've managed to get away with it. > -- Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How many use eMacs and Gnus on daily basis?
Joe Bush <[EMAIL PROTECTED]> writes: >>I don't even run a window manager. I just start emacs from my .xsession >>file. I am not saying that this will work for everyone. If you are >>used to point-clicky interfaces you might not like emacs. Manipulating >>graphics files is, I believe, a no-go, but viewing them works. > > Can you explain how this is done, or provide a link that describes the > steps? > > Thanks! > Speaking for Rob is not my intention, but if your asking how you can run emacs instead of a window manager and then emacs, its pretty easy. There are some variations between X setups according to what distribution you are using, but essentially, the following is the basic concept. 1. You have a display manager (e.g. xdm) running which provides the interface you use to login to X. 2. As part of the standard login process, the system looks for an initiation file which starts up various applications for the user, including a window manager. It may also do other things, like set the background colour, mouse cursor, ssh key agent etc. This is usually handled by what are called Xsession scripts by convention. 3. Most Linux distros have their own scheme for this, but they all generally allow for a user specific .xsession script to override everything. No $HOME/.xsession, do the system default thing. 4. Here is the key bit. The Users Xsession will exit once the scripts started by xdm exit. Normally what happens is that these xdm scripts call the system default or users xsession script and in those scripts the last thing called is the window manager. The window manager is usually called with an exec call, which will transfer execution of the script to the program called by exec (i.e. the window manager). So, when the window manager exits, the script exits and the uses X session exits. To have no window manager and just emacs running, you can create your own .xsession script and instead of doing an exec wm, you do an exec emacs. In effect, emacs will be your window manager replacement and when you exit emacs, your X session will exit. Is that as clear as mud? Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Checking new news doesn't get new news
Randy Yates <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: > >> I have been using gnus for a number of years, and am seeing a problem >> lately. When checking news with 'g', gnus doesn't report new news. I >> can go and individually 'M-g' newsgroups and see news reported there. > > This is the same behavior I am observing, and the same problem I posted > about just a couple of days ago here. > I reported this same problem a few months back. However, without any changes to my configuration, I've just noticed things are now working correctly and I don't need to do M-g anymore. My problems started when my ISp changed news server software. I don't know if they have changed something else or if they have just changed some configuration, but now things do appear to be working fine. I did notice the problem only with gnus - things worked fine with tin. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Group Summary Not Updated on "g"
Randy Yates <[EMAIL PROTECTED]> writes: > Hey Folks, > > I'm still looking for the solution to this problem. I > noticed one or two others are also having the same > problem. Why is the group (no pun) silent silent on > this issue??? > > --Randy > > > Randy Yates <[EMAIL PROTECTED]> writes: > >> Hi Folks, >> >> I using gnus 5.10.7. >> >> When I press "g" in the group summary buffer, emails >> are updated, but groups are not, i.e., the number of >> unread articles aren't updated. Oddly, if I enter >> a specific group, then exit and press "g", the unread >> article count is update. >> >> Is there a fix for this, or am I doing something wrong? >> -- >> % Randy Yates % "So now it's getting late, >> %% Fuquay-Varina, NC%and those who hesitate >> %%% 919-577-9882%got no one..." >> <[EMAIL PROTECTED]> % 'Waterfall', *Face The Music*, ELO >> http://home.earthlink.net/~yatescr > I think the reason you may not be seeing many responses to this issue is that it appears to require a combination of a specific gnus version and a news server using some specific software or configuration. Essentially, only a few people are seeing this issue. As I reported earlier, I had this problem after my ISP changed their news server software - I think they moved to dnes, but I'm not sure on that. I got around the problem by using M-g when I wanted to check for new news in a group. However, a few weeks ago, without me changing anything on my system, the problem seems to have gone away. I don't know if my ISP changed softwre or changed configuration - all I know is the problem is no longer a problem for me. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: More mail questions
Hadron Quark <[EMAIL PROTECTED]> writes: > I am using smtpmail package through a gmail smtp server to send email. > > But if I use gnus to send a mail to "[EMAIL PROTECTED]" why isnt procmail > picking it up and diverting it to my local root mmaildir? Procmail does > its job just fine when I use the Linux commandline "mail" command. > > I'm unsure where postfix and smptmail.el fit together. > > Any pointers appreciated. > > -- When using smtpmail, emacs connects directly to the remote smtp server and totally bypasses your local smtp server (postfix). Your procmail is probably the default delivery agent for your local smtp server (this is the standard config these days). This means that your message addressed to [EMAIL PROTECTED] is being sent to the remote gmail smtp server, which if correctly configured, should probably reject the message (i.e. doesn't accept @localhost addresses unless they come from that machine) or possibly it will attempt to find a user with that name on that server (but I think this would be an incorrect configuration). In your example, it would be delivered to wherever root mail messages are delivered for the remote smtp server - probably one of the sys admins. Mail sent via other programs than emacs/gnus don't know about smtpmail and is using your local smtp server (postfix) and as the mail is originating locally, accepts the message and passes it to procmail, which delivers it to the mailbox. I recently started using smtpmail because my ISP has placed all their dynamic IP addresses into various blacklists and messages I sent via my local smtp server (which was setup as a smarthost that relayed all non-local mail to my ISP smtp server, would often get rejected by destination hosts that were using a very strict mail policy which refuses to accept mail from blacklisted IPs. Many ISPs are doing this these days to protect themselves from being blacklisted by a customer who runs a local smtp server which is either misconfigured and gets abused by a spammer or to send spam themselves. I've been running this configuration for a couple of weeks now and it works quite well. The only downside is that sometimes there can be a slight delay between sending the mail and getting emacs responding again - probably due to high loads on the remote smtp server. I have also configured fetchmail to retrieve my mail from remote imap/pop mailboxes and hand it directly to procmail. This means I no longer need to run a mail server at all - which is great as I'm way past finding maintaining a mail server "fun" and the less I have to maintain the better. I was running exim as my local mail server as it is easy to setup. Postfix is probably overkill for a local machine, unless you have many users and lots of mail traffic. From memory, I also seem to remember it is a bit difficult to run postfix and NOT have it run as a daemon listening on prot 25. Many people don't realise that you only need an smtp server listening on a port if you are accepting mail from a remote host. Likewise, many people forget that the mail server (postfix, sendmail, exim etc) don't actually deliver mail, but instead use a delivery program, such as procmail. HTH Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: More mail questions
Hadron Quark <[EMAIL PROTECTED]> writes: > But this still begs the question : how to configure gnus to > (preferably using procmail rules) palm off emails destined to local users > and NOT to send them off to the smtp server I am using from smtpmail. > I don't use gnus for mail, but rather VM. With vm, there is an add-on package called vm-pcrisis, which I *think* allows vm to use different smtp servers based on criteria like the from address being used or the domain mail is being sent to. The main objective of this package is to allow you to use one configuration to represent yourself as different people (i.e. different mail addresses). It might be worth having a look at this package to get some ideas. Off the top of my head - - Write a function which will set the smtpmail-smtp-server variable to an appropriate server based on the recipient address i.e. if it is localhost or does not have a domain attached, use the local smtp server, otherwise send it to the remote smtp server. - Have this function then call the smtp-mail-send-it function as its last form. - Set this function as the value for message-sned-mail-function Another alternative would be to use defadvice around smtpmail-send-it using the 'before form to set the smtpmail-smtp-server variable before the function proper is called. This would have the possible advantage of working regardless of the mail sending interface used (i.e. send-mail-function or message-send-mail-function). HTH Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
apple mail 9 MIME
A quick question to save me having to try things out. I've been using VM for years for my e-mail. However, VM is no longer as actively maintained as it was and I'm now finding I'm having problems accessing attachments posted with apple mail. It seems these attachments are embedded inside some html and VM doesn't see them. So, I'm after a new mail reader. I'm wondering if gnus will be able to recognise and extract attachments from apple mail. Here is an example > --Apple-Mail-9--626804718 > Content-Type: multipart/mixed; > boundary=Apple-Mail-10--626804717 > --Apple-Mail-10--626804717 > Content-Type: text/html; > charset=US-ASCII > Tim,The first of three files. > You will need to reassemble in word and regenerate the > index.Stephen Colbran style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, > 0); font-family: Helvetica; font-size: 12px; font-style: normal; > font-variant: normal; font-weight: normal; letter-spacing: normal; > line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: > none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; > orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; > "> > --Apple-Mail-10--626804717 > CONTENT-TRANSFER-ENCODING: base64 > Content-Type: application/octet-stream; > x-mac-type=5738424E; > x-unix-mode=0644; > x-mac-creator=4D535744; > name=ReMarks1.doc > Content-Disposition: attachment; > filename=ReMarks1.doc The example above has an earlier "text" part, which VM displays fine, but it provides no button to extract the attachment. I don't seem to have any other problems with MIME messages except from apple mail. If anyone can confirm that apple mail attachments can be easily accessed/saved from within gnus, I'd appreciate it. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: apple mail 9 MIME
Reiner Steib <[EMAIL PROTECTED]> writes: > On Tue, Dec 26 2006, Tim X wrote: > >> The example above has an earlier "text" part, which VM displays fine, >> but it provides no button to extract the attachment. I don't seem to >> have any other problems with MIME messages except from apple mail. If >> anyone can confirm that apple mail attachments can be easily >> accessed/saved from within gnus, I'd appreciate it. > > Gnus handles attachment quite well (unless the size is comes close to > `most-positive-fixnum'). I can't confirm that "apple mail 9 MIME" > works, though. Maybe you can send a test mail with such an attachment > to the test group on Gmane: (or ask > your correspondent to do it). Be sure not to attach any private / > sensitive file. > > Bye, Reiner. > -- Thanks Reiner. When one of them returns from the break I might get them to do that. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Suggestion: Describe in Gnus manuall on how to allow multiple IMAP accounts in same server
CHENG Gao <[EMAIL PROTECTED]> writes: > It's not clear in Gnus manual how to use multiple accounts in same IMAP > server. My company emails are hosted by virtual hosting server, and I > have my personal account while at the same time I need read some common > email accounts. I think it's common for many users. > > I struggled for some time and found the solution. > > Say nnimap address is imap.mysite.com > Two accounts: [EMAIL PROTECTED] & [EMAIL PROTECTED] > > Two .authinfo files are needed to seperate the auth otherwise only the > first one with imap address imap.mysite.com is used for authentication > of both accounts. > > So the setting should be: > (nnimap "one-mysite" > (nnimap-server-port 143) > (nnimap-address "imap.mysite.com") > (nnimap-list-pattern ("INBOX" "mail/*")) > (nnimap-authinfo-file "~/.emacs.d/.authinfo")) > (nnimap "other-mysite" > (nnimap-server-port 143) > (nnimap-address "imap.mysite.com") > (nnimap-list-pattern ("INBOX" "mail/*")) > (nnimap-authinfo-file "~/.emacs.d/.authinfo2")) > > I think I need not bother to demonstrate two .authinfo files here. > > The right location to add this is `nnimap-authinfo-file under "6.5 IMAP" > in Gnus manual, something like: > > If you have more than one account under same IMAP server, you need use > one .authinfo for each account, and explicitly configure each imap > account to point to them. blah blah > Can I suggest you write this information up and submit it as an addition/update to the gnus manual. It is only through users making submissions of this type we can hope to see a positive evolution of the gnus manual. alternatively, but not as good, you could add this information to a relevant page in the emacs wiki (http://www.emacswiki.org/) regards, Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: emacs, Gnus, sendmail ?
>> [EMAIL PROTECTED] writes: >>> Also emacs apparently uses sendmail to send mail. >> >> It only uses sendmail if you've set up sendmail (the Unix program). >> Otherwise it uses sendmail.el (`slocate sendmail.el`) > > >>> But the 'return-path/from' fields are not configured. >>> And sendmail.cf is a 57K monster ! > > Even when using the traditional sendmail.(com|org) program, you don't > need to edit the sendmail.cf file directly. > >> Configure -> play around -> configure -> play around -> configure -> >> testing (this used to be called playing around but now you've found a >> systematic way to do it) >> >> Or, the alternative: >> >> configure -> play around -> throw hands up -> configure -> lose >> mail -> configure -> throw hands way up -> lose more mail -> use Thunderbird. This all sounds like the all too common frustration experienced when people try to cut corners and setup a system without first having done their homework. While there are a lot of things that will work with only minor tweaks 'out of the box' and while these systems can eliminate the need to read docs and understand, often things only appear to be working properly - weird behavior can be lurking just under the surface which is easily overlooked. >From some of the comments, I'd suggest a bit more research and yo will save hours of frustration. some points that may help - - Be careful about how the term 'sendmail' is used. As the software 'sendmail' was one of the earliest mail transport agents, it has sort of become the defacto name used in many contexts to refer to the MTA (mail transport agent). For example, you will find many other MTAs have a compatibility layer/program called sendmail (i.e. postfix, qmail etc), which allows the MTA to be invoked as if it was sendmail. This is largely because back when sendmail was pretty much the default MTA on Unix systems, many scripts used calls to the sendmail binary to dispatch mail. Having compatibility layers meant that you could drop in a new MTA without breaking all those scripts etc. - Nobody configures sendmail by hand unless they are doing it for an exercise or to gain increased knowledge of the system. Sendmail is configured using m4 macros. If you read the documentation, you will find that all you need to do is set a handful of config lines in an input file, run the m4 stuff and you get a customized sendmail.cfg. The trick is to actually read the installation docs for sendmail. However, few people run sendmail anymore and unless you need to, don't! There are many other MTAs out there. If you just need a system for your Linux box and it is a single user box, I'd suggest looking at something like Exim. For larger numbers of users, postfix or qmail are quite popular (I personally never liked qmail though). However, my recommendation to most (especially Linux users) is to use your ISPs mail server or the mail server used at work by everyone else. For a typical single user Linux box, it is unnecessary to run a mail server at all or you can do a minimal 'smarthost' config, which involves setting up your local MTA to just relay mail to another server that does all the work (i.e. ISP or works server). Maintenance and administration of any network based access to a computer should not be done by anyone who doesn't know what they are doing or doesn't have the time or want to spend the time maintaining it as this is a common source of security problems or a source for spammers to use etc. - If all you need is to be able to send mail from within emacs, I would recommend looking at something like smtp.el (or one of the other similar elisp packages). Using this approach, I have configured my system with about 7 lines in my .emacs file and two environment variables. This provides everything I need to send mail or post to newsgroups. - You don't need to run an MTA daemon unless you are going to recieve mail directly to that host. In many cases, its far simpler to use something like fetchmail or getmail. - Actually configuring a stand alone MTA can be useful if you have multiple applications you like to use to send mail as you often won't need to individually configure each application. Likewise, if you have multiple users. However, if you just use a couple of apps, like emacs and maybe thunderbird, I'd avoid the hassle and additional maintenance overhead. - There are a number of environment variables that can be used to set things like default reply address. For example, Emacs 22 will honor the EMAIL and ORGANIZATION environment variables for setting specific mail headers, such as the from and x-organization headers. I beleive there is also a REPLY_TO env variable used by many apps. See the emacs manual for full details. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listi
Re: can gnus do this ?
[EMAIL PROTECTED] (Joel J. Adamson) writes: > Another difference in my situation is that I'm relaying mail to a pop > server on our main network, rather than using my own mail system to > send mail out to the internet. > Due to issues of spam and misconfigured MTAs, many ISPs are now blocking access to port 25 on dynamic mail addresses they allocate to users. I've also seen quite a few ISPs who actually put their dynamic IP addresses into various blacklists, like those run by SpamCop etc. This emans that many sites will block an e-mail that comes from a server running on a dynamic IP which is allocated by an ISP to their users. Putting these two points together, it is now beginning to make more sense for users to use their ISPs mail server rather than one they have on their own system. This is what I do and I don't miss the config/maintenance of a local MTA at all! Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: can gnus do this ?
Frank Slootweg <[EMAIL PROTECTED]> writes: > ['Invalid' group alt.comp.software.newsreaders deleted] > > Joel J. Adamson <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] writes: >> >> > OP wrote: >> >> > Apparently emacs doesn't have a mail-transport-agent: >> >> Yes, it does: sendmail.el; correct me if this does not serve as a user >> MTA. It works on my machine without using sendmail, procmail, >> postfix, fetchmail... > > I don't know the first thing about gnus, emacs, sendmail.el, etc., but > such a "user MTA" is often referred to as a MSA (Mail/Message > *Submission* Agent), i.e. the component which only *submits* a mail > message to a 'mail server' (MTA), which actually *sends* (transfers) the > message (to a remote mail-server/MTA). > > The confusion often comes from 1) the *name* 'sendmail' or/and 2) the > fact that sendmail(1M) *can* do *both*, i.e. MSA and MTA, but doesn't > *have* to do both. Correct. The mail submission agent is also sometimes called the MUA - mail user agent. I've found the smtp.el package in emacs 22 is pretty good as well. I've also seen references to other elisp packages that support things like usinig an SMTP server that requires authentication etc. Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: emacs, Gnus, sendmail ?
Dick Hoogendijk <[EMAIL PROTECTED]> writes: > Tim X <[EMAIL PROTECTED]> writes: > >> However, few people run sendmail anymore and unless you need to, >> don't! There are many other MTAs out there. > > I think your story in general is a very good one. I saved it for > future reference ;-) However, don't start a MTA war by saying using > sendmail is 'not done' It's OK to use the MTA you like, but sendmail > is as good as any other. There's nothing wrong with using it. > I know lots of linux distros have abandoned it, but FreeBSD and > solaris -to name a few- still have it as their default MTA. > Actually I didn't mean to imply that sendmail wasn't any good. In fact, its still my favorite MTA - its the one I feel I understand best. However, unless you have pretty demanding requirements, I don't think most people require its power and flexibility - all of which comes at a cost, which is generally additional learning at a level that exceeds what many users require. I've actually had a number of arguments with people who incorrectly believe that sendmail is insecure and/or old/out of date. Often, this is with people who recommend qmail, an MTA which I have had to administer and never felt comfortable with because I never felt I really understood how all the bits worked/integrated. Sendmail was a program, which although potentially complex, has a model I find easy to understand and once you know about m4, is as easy to setup as any other MTA I've had to configure. The security criticisms of sendmail, I bleieve are out of date and misleading. If anything, sendmail is one of the most secure simply because it is so widely used and has been 'tested' so thoroughly. People forget that the security holes found in sendmail occured at a time when security of such protocols was just beginning to become an issue and overlook the fact that the initial system was devleoped back when security was not the issue it is now (the good old days when you could trust the majority of users to do the right thing!). The point is that havinig to address those issues combined with the number of sites using it and its obvious appeal to those wanting to circumvent security means that it probably is more secure than less used systems that really haven't had their security challenged. The main point I wanted to make in my original post was that in many cases, you simply don't need to bother with a local MTA - use your ISPs and let them take care of the admin or use a more light weight MTA, such as exim etc. There is far too much really interesting things out there to get bogged down managing a mail server if you don't need to. tim > -- -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: emacs, Gnus, sendmail ?
Reiner Steib <[EMAIL PROTECTED]> writes: > On Fri, Jun 08 2007, Tim X wrote: > >> - If all you need is to be able to send mail from within emacs, I would >> recommend looking at something like smtp.el (or one of the other similar >> elisp packages). Using this approach, I have configured my system with >> about >> 7 lines in my .emacs file and two environment variables. This provides >> everything I need to send mail or post to newsgroups. > > Did you mean `lisp/mail/smtpmail.el'? > Yes, I did. Its been so long since I set things up and haven't looked at it since, I got the package name wrong (I guess this is a testimony to how great this emacs stuff is!). Tim -- tcross (at) rapttech dot com dot au ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english