2 IMAP questions again
Hi, I set my one of my mailbox to: mailboxes = {127.0.0.1}mail/debian and now when I involke mutt with -y option, I can view the debian folder. But according to the doc, 1.12 supports browsing mailboxes on an IMAP server, so how do I actually do this? My second question is when I delete a mail accessing via IMAP, it creates an annoying message, something like: DON'T DELETE THIS MESSAGE -- FOLDER This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. How can I avoid this? Thanks again. Shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
Re: REs for folder-hook
On Tue, May 16, 2000 at 12:12:35AM +0300, Mikko H?nninen wrote: Chris Green [EMAIL PROTECTED] wrote on Mon, 15 May 2000: The question is how to match a remote IMAP folder name, the folder name will always start "{x-1.net:50143}" but whatever I try doesn't seem to work. I have even tried matching some local folders but I can't get them to work either. I have triend folder-hook x-1 'set folder_format="%N %F %f"' folder-hook 50143 'set folder_format="%N %F %f"' folder-hook .x-1 'set folder_format="%N %F %f"' Someone already answered the rest of your email (I hope that helped), I'll just comment that someone filed a bug-report with folder-hooks and IMAP mailboxes awhile ago. I don't have the email anymore so I can't check, but it had something to do with the {} in the IMAP folder names getting interpreted the wrong way, and consequently causing problems for (read: making impossible to use) folder-hooks with IMAP folders. Hopefully the issue is sorted out soon. If it was a real issue -- just because there is a bug report doesn't mean there really is a bug, I've seen plenty of cases where in the end the issue has been a configuration or site-depended problem. But your problems with the hooks certainly would seem to indicate it's a real bug, that's not impossible either. I have found out why I was having problems with folder-hook. I was confused by the name, I was expecting a *folder*-hook to act when entering a folder (well that's not too unreasonable is it?) but, as a closer reading of the manual reveals, it only acts when entering a mailbox. What I was looking for was a way to change the browser format when changing from local directories/folders to IMAP folders. Since folder-hook doesn't take effect until *after* I've used the browser to find the mailbox I want it's not much help. I'll have to roll the change of $folder_format variable into my macros for switching from local to IMAP and back, they're going to be big macros! -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: mutt-1.2: imap/ssl certificates
On Wed, May 10, 2000 at 02:05:30PM +0200, Andre Wobst wrote: Hi, I've troubles with the imap ssl certificates, saved in the file certificate_file, which I set to ~/.mutt.certificate_file in my ~/.muttrc. If I do so, I can accept a certificate not only once but always (otherwise this option isn't available). The certificate is stored in the file ~/.mutt.certificate_file. But next time I start mutt again, it asks me again for the certificate check. If I accept it again, the certificate is again added to the file ~/.mutt.certificate_file and it is exactly the same like before -- now stored twice in the same file. How can I store the certificate that way, that mutt acceptes it automatically next time -- what's wrong in the way I'm doing it? For starters, you're doing nothing wrong, mutt is. The problem is that the X509_verify function, which I use to compare the certificates, doesn't work quite the way I expected. Instead of verifying the server certificate using the server public key (both available after connecting to the server), it needs the issuer's public key to verify the server certificate. If the server certificate is self-signed, the public keys are the same and the verification succeeds, otherwise not. You might be able to use the automatic certificate verification by getting the issuer's (public) certificate, it should be available somewhere in your organization, and putting that in the $certificate_file. I'll see if I can fix this once I have the time. I really should start reading for some exams... :) -- Tommi Komulainen [EMAIL PROTECTED] PGP signature
Re: What `resend-message' do?? (It's not in 1.2 manual)
clemensF [EMAIL PROTECTED] wrote on Tue, 16 May 2000: It will take the current message and start composing a new message using that as a "template" -- your email will have the same headers and the same body (and attachements) as that email. so this is the former (1.0.1) edit function? The former edit has been split into to, depending on what you want to do: edit for message editing, resend-message for resending. So yes, in a way it's the former edit function. Sort of. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "The last good thing written in C was Franz Schubert's Symphony #9."
Re: REs for folder-hook
Chris Green [EMAIL PROTECTED] wrote on Tue, 16 May 2000: I have found out why I was having problems with folder-hook. I was confused by the name, I was expecting a *folder*-hook to act when entering a folder (well that's not too unreasonable is it?) but, as a closer reading of the manual reveals, it only acts when entering a mailbox. Well, I consider that as acting when "entering a folder". It executes when Mutt is *opening* a folder, not before. What I was looking for was a way to change the browser format when I'll have to roll the change of $folder_format variable into my macros for switching from local to IMAP and back, they're going to be big macros! Why don't you just do "source .mutt/to-imap" and "source .mutt/to-local" or something in the macros? Keep them simple and put all the code in the separate files... That way you can also edit the files and don't need to resource your .muttrc everytime. :-) Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / You have dialed an imaginary number. Please turn 90 degrees and try again.
Re: REs for folder-hook
On Tue, May 16, 2000 at 02:48:41PM +0300, Mikko H?nninen wrote: What I was looking for was a way to change the browser format when I'll have to roll the change of $folder_format variable into my macros for switching from local to IMAP and back, they're going to be big macros! Why don't you just do "source .mutt/to-imap" and "source .mutt/to-local" or something in the macros? Keep them simple and put all the code in the separate files... That way you can also edit the files and don't need to resource your .muttrc everytime. :-) I was looking for the 'right' way to do this and you've just pointed me towards it. It's a little more complicated than just two macros because I need a different macro for 'save this message to an IMAP folder via the browser' and 'change to an IMAP folder via the browser'. Currently these are :- macro index ,s "s?c^U{x-1.net:50143}INBOX.^M" macro index ,c "c?c^U{x-1.net:50143}INBOX.^M" I also need a macro to switch the browser back to local if necessary, I could of course remap the existing 's' and 'c' commands to do this. If I need to add more than just the 'set folder_format=xxx' command to thse then just a ':source filename' tagged on the end won't be too messy. As you say too it makes it easier to change things without having to do anything explicitly from mutt. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Mutt converts subject to Quoted-printable
Hi I found that Mutt converts subjects with Russian letters to Quoted-printable. How can i make him to not do this? -- Denis Chapligin
file browser status bar formatable?
Dear 'mutters', i have a problem using the file browser (e.g. when choosing an attachment). I'm generally happy with the 'folder_format' default settings showing all the detailed stuff about rights, owner, group, lenght etc.[1] But the files i have to deal with have fairly long filenames and differ only in their extensions (part after the last dot in filename). The filenames are truncated, so i can't see the extension and therefor can't choos the right file to attach. This would be no problem if i could customize the file browser status bar format to show the filename of the marked file. But i don't know how to do this, nor any other way to get sight of the whole filename. Any suggestions? Ciao, Gregor 'struggling with english' Zattler [1] I allready made a macro for viewing the folder list because for a while i used folder names with full realnames + email adress: folder-hook . 'set folder_format="%3C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"' macro index c "enter-commandset folder_format=\"%3C%t%N%7s %f\"\renter-commandset index_format="%4C|%Z|%[!%y%m%d]|%-17.17L|%4l|%s"\rchange-folder" 'lean file menue for xxl folder names' macro pager c "enter-commandset folder_format=\"%3C%t%N%7s %f\"\renter-commandset index_format="%4C|%Z|%[!%y%m%d]|%-17.17L|%4l|%s"\rchange-folder" 'lean file menue for xxl folder names' but in case of attachments i want to see all the stuff the default settings let show.
Re: 2 IMAP questions again
On Tuesday, 16 May 2000 at 08:46, David Champion wrote: On 2000.05.16, in [EMAIL PROTECTED], "Mikko Hänninen" [EMAIL PROTECTED] wrote: Shao Zhang [EMAIL PROTECTED] wrote on Tue, 16 May 2000: My second question is when I delete a mail accessing via IMAP, it creates an annoying message, something like: DON'T DELETE THIS MESSAGE -- FOLDER That's created by the IMAP server. Sounds like you're using UW-IMAP, their server does that. I think it's a feature of the c-client or whatever the library was called that they use, it's supposed to work together with Pine and the POP server too. Yep. Should mutt be capable of detecting and ignoring this message? Environments that support three-way (POP, IMAP, and direct) access might find this useful. UW-IMAP keeps information about the status of the mailbox in there. So modifying the mailbox without updating that message could theoretically be worse than just deleting the message (although I think it's really only there for disconnected-mode support, and I don't know which clients can make use of that yet). The best option is just to use IMAP always or never, probably. -Brendan
Multiple spools
I've an interesting quandry and can't find the answer in the manual. My mail is presorted by procmail into multple mbox spoolfiles. Each of these hase an mbox-hook telling it where to put read mail. Unfortunately, except for the catch-all box, which can be defined as $spoolfile, the boxes are deleted when emptied. Is there a way to tell mutt *not* to delete the empty mboxes? -- _ _|_|_ ( ) *Anton Graham /v\ / [EMAIL PROTECTED] /( )X (m_m) GPG ID: 18F78541 Penguin Powered!
Re: Multiple spools
AG [[EMAIL PROTECTED]] wrote: I've an interesting quandry and can't find the answer in the manual. My mail is presorted by procmail into multple mbox spoolfiles. Each of these hase an mbox-hook telling it where to put read mail. Unfortunately, except for the catch-all box, which can be defined as $spoolfile, the boxes are deleted when emptied. Is there a way to tell mutt *not* to delete the empty mboxes? see the manual re: $save_empty -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- the crises posed a question / just beneath the skin the virtue in my veins replied / that quitters never win PGP signature
Re: Multiple spools
AG [EMAIL PROTECTED] wrote on Tue, 16 May 2000: Is there a way to tell mutt *not* to delete the empty mboxes? Yes. set save_empty Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / It's not an optical illusion, it just looks like one.
Re: Controlling default in save command?
Ok, I think I'm having trouble understanding the conecpt of the hooks. Can someone try to explain it a bit better than the manual does? -C On Mon, May 15, 2000 at 09:10:55PM +0200, Steffan Hoeke wrote: You could use save-hook with, for example save-hook "[EMAIL PROTECTED]" +target or save-hook "~f [EMAIL PROTECTED]" +target or save-hook "~C [EMAIL PROTECTED]" +target Take a look at http://www.mutt.org/doc/manual/manual-3.html#ss3.14 HTH, Steffan On Mon, May 15, 2000 at 01:51:19PM -0400, Chris Woodfield muttered: How does one control the default string that's populated when you save a message? Or in my case, not have one? At the moment (usint the default .muttrc), the default is "=username". My ideal would be the default to be the argument given with the last save command (like pine)... -Chris --- Christopher A. Woodfield[EMAIL PROTECTED] Finger for public PGP key 0xB887618B - email for fingerprint -- http://therookie.dyndns.org -- --- Christopher A. Woodfield[EMAIL PROTECTED] Finger for public PGP key 0xB887618B - email for fingerprint
Re: Multiple spools
On 000516, at 08:01:43, AG wrote: | I've an interesting quandry and can't find the answer in the manual. My | mail is presorted by procmail into multple mbox spoolfiles. Each of these | hase an mbox-hook telling it where to put read mail. Unfortunately, | except for the catch-all box, which can be defined as $spoolfile, the | boxes are deleted when emptied. | | Is there a way to tell mutt *not* to delete the empty mboxes? Errm. That looks a little dumber than it is. Yes, I can set save_empty to keep *all* empy mail boxes. But I only want to save these 4 when empty :) Perhaps folder hooks will work: folder . "set save_empty=no" folder (a|b|c|d) "set save_empty=yes" -- David Ellement [EMAIL PROTECTED]
Re: 2 IMAP questions again
2000-05-16-03:00:58 Shao Zhang: My second question is when I delete a mail accessing via IMAP, it creates an annoying message, something like: DON'T DELETE THIS MESSAGE -- FOLDER [...] How can I avoid this? Switch to a different IMAP daemon. You're currently using the UW Imapd. The designer of the IMAP protocol and of that implementation of imapd decided to (a) incorporate a need to preserve information that doesn't seem to fit too naturally into the standard mbox format, and (b) stash that information in a message which the imap daemon refrains from displaying. Actually I lie, these functions --- stashing the info, and skipping the display --- are done not by the imapd itself, but rather by the "c-client" library containing the common code used by imapd, pine, and various other tools for interacting with email folders. So anyway, if you find another imapd and use it, that annoying message will no longer be created. Alternatively, don't ever look at your actual inbox except through imapd (or pine --- same c-client lib) and you won't see the message, even though it will be there. -Bennett PGP signature
Re: Controlling default in save command?
Delurking to offer an explanation... On Tue, May 16, 2000 at 11:00:46AM -0400, Chris Woodfield wrote: Ok, I think I'm having trouble understanding the conecpt of the hooks. Can someone try to explain it a bit better than the manual does? A 'hook' is a means of allowing a user to customize what happens under certain conditions. Consider: most programs do exactly what their programmers told them to do -- no more, no less -- even if the user has a better idea. Now, in an open-source world, you could always patch the code, but only if you actually know how. So, in general terms, a hook allows you to add functionality that YOU want to an event. More specifically, the save-hook allows you specifiy a pattern to modify the behaviour of saving a message. To steal and Steffan Hoek's example: save-hook "[EMAIL PROTECTED]" +target says that for any mail from [EMAIL PROTECTED] (or, if it's mail you sent, any mail TO that address), the default save mailbox is not '+email' but '+target'. I do not believe, however, that there is any easy way to mimic PINE's behaviour, per se. On the other hand, if you cursor up when prompted for a mailbox to save to, it will scroll up through the history of mailboxes you've saved to. So the real question is: do you want to mimic PINE's functionality for the sake of it, or do you just want to be able to save messages where you really want them easily :-) If the latter, which is what I suspect, then it would help if you told us what you really wanted to do. If you want ALL outgoing mail to go to a specific box, you can 'unset force_name' and 'save_name' and 'set record'. If you want mail from a specific bunch of people to go to a particular box, however, save-hook is probably your baby.
Re: Controlling default in save command?
Self-correction: don't unset save_name/force_name, but set them to 'no'. /m
Re: 2 IMAP questions again
On 2000.05.16, in [EMAIL PROTECTED], "Brendan Cully" [EMAIL PROTECTED] wrote: don't know which clients can make use of that yet). The best option is just to use IMAP always or never, probably. I don't think that's realistic, as long as non-IMAP access is possible, for some people. But I guess what I'm asking about can be done with a bit of limit code and a push. It's surprising how many calls our tech support line gets where callers are worrying about "DO NOT DELETE THIS MESSAGE" messages, asking whether they're viruses, etc. -- -D.[EMAIL PROTECTED] NSIT University of Chicago
help with imap
Hi, The way I understand about IMAP is that it is very similar to news, and only the mail header is downloaded. And I have heard that you can use IMAP to maintain all your mails on one central server while accessing them from different computers. So I have decided to give a try. But now, I am really confused. If I use fetchmail to fetch mails from a IMAP server, how will it different from fetching from a POP3 server? I mean it still have to download the entire message which makes IMAP the same as POP3. If the above is true, does that mean I will have to use the builtin support of IMAP from mutt? Can I use mutt to access both my local emails and the emails stored on an IMAP server? Really, I don't know how IMAP works. What I need though is that I will fetch all my mails from different POP3 to one computer which runs an IMAP daemon, and then access these mails from different computers. And when I delete a msg, it deletes from the server, otherwise it will stay... Thanks for any help in advance. Shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
Real problem with the lists?
On Sun, May 14, 2000 at 07:52:08PM +0200, clemensF wrote: Gero Treuner (Sun 14.0500-18:48): If there is a problem (bounce) with your e-mail account, you are automatically removed from the list. Re-subscribe in this case. this has already happened to me, and i am still waiting for my otherwise trustworthy isp to answer my complaint. i didn't even know i was unsubbed until a message of mine to the list was answered by the list-managing program as beeing forwarded to the owner for this reason. Had there been a problem with the mailing list on the gbnet side? I got unsubscribed, too, and a reject for my mail referenced in this message, although I received it on the list - being unsubscribed? Nothing here looks like a problem with mail or connectivity, but I'll check this in more detail. Gero
Mutt and GPG
Hi i have just switched over to mutt from pine and I have started using GPG with mutt as well, I think I have everything working correctly apart from one lillte thing. When someone send me a email using pine signed with gpg (using pgp4pine) when I open the email I can read what is contains but at the bottom of the screen I get the following message "Invoking PGP...", however if I open an email sent from mutt using gpg to sign it then I get the above message and then shortly followed by "PGP signature successfully verified." why don't I get this from messages sent and signed using pine? Does this mean it can't verify the GPG signature? Regards Graham Lillico P.S. I have already inserted the stuff into .promailrc as suggested in the FAQ. ___ Get 100% FREE Internet Access powered by Excite Visit http://freelane.excite.com/freeisp
Remote IMAP folder browsing
When trying to browse the folders on my IMAP server I get the error: Folder browsing is not currently implemented. Does this mean there there is no functionality for it, or I just didn't compile it into the program? I have a department I want to move to IMAP with pine and mutt, but I want them to be able to browse the remote folders. Any suggestions? Dave David S. Glaser AKA Grizz | MM Systems Administrator | Forget virus scanning. Its all about "re- U201 MME Building | education". Preferably in a parking lot with Houghton, MI 49931 | a tire iron. - BOFH [EMAIL PROTECTED] |
Re: What `resend-message' do??
» Mikko Hänninen wrote: It *sounds* like what's happening is that you're running the "edit" function, which recalls the raw message into your editor (with every header, you can tell easily if there are Received headers, although if it's a Fcc message then there wouldn't be any), saves any changes you make and replaces the original in the mailbox with your edited message. With this, you're not supposed to go to the compose menu at all after you exit the editor. Could that be it? ... Maybe you have some strange keybindings left over from a pre-1.2 setup? Ok, that's it, I got it! I have: e edit edit the raw message Esceresend-messageuse the current message as a template for a new one but I didn't had: set meta_key so I guess I was using the ``edit''function, when hitting Metae. Thank you very much for the help. PS. Your Mail-Followup-To header is a bit messed up in your emails... Hum, that's true. I've set the ``subscribe'' thing now, I hope it will do. cheers, -- Francisco. São Paulo, Brasil. __o `\, _(*)/(*)_
Re: What `resend-message' do?? Mail-followup
» Mikko Hänninen wrote: PS. Your Mail-Followup-To header is a bit messed up in your emails... Ok ok, pretty stupid... I had: unset use_domain I guess it's better to change it (since I can't remember why I unsetted it in the first place) cheers, -- Francisco. São Paulo, Brasil. __o `\, _(*)/(*)_
Re: Remote IMAP folder browsing
Dave (Grizz) Glaser [EMAIL PROTECTED] wrote on Tue, 16 May 2000: Folder browsing is not currently implemented. Does this mean there there is no functionality for it, or I just didn't compile it into the program? It probably means there is no functionality for it, in that Mutt version. Folder browsing only got implemented in Mutt 1.2, so 1.0 does not have it. If you *are* using 1.2, then I guess you didn't enable it in configure... Any suggestions? Upgrade? Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Millihelen: The amount of beauty required to launch one ship.
Re: Remote IMAP folder browsing
On Tuesday, 16 May 2000 at 12:56, Dave (Grizz) Glaser wrote: When trying to browse the folders on my IMAP server I get the error: Folder browsing is not currently implemented. Does this mean there there is no functionality for it, or I just didn't compile it into the program? there was no support for it in version 1.0 I have a department I want to move to IMAP with pine and mutt, but I want them to be able to browse the remote folders. Any suggestions? upgrade to 1.2. That version has a browser. PGP signature
Re: your mail
Bruce Simms [EMAIL PROTECTED] wrote on Tue, 16 May 2000: I'm using mutt version 0.95.4.us to send mail with attachments in a command line and it works well, but I would like to have the email have a different From: as I'm using this in a cron job I would like to have the ability to change this when mutt is run. Example of my current string. mutt [EMAIL PROTECTED] -s "This is a test" -a test.pdf test1.msg Any suggested solutions? Sure. Either add a "my_hdr From" line in your .muttrc (you can create a separate .muttrc just for this purpose and then source it with -F, if needed), or use -e on the command line to execute the my_hdr command. For more info, look up my_hdr in the manual. BTW, questions like this are better posted to mutt-users, not mutt-dev. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Caution: breathing may be hazardous to your health.
Re: Remote IMAP folder browsing
In the email I'm replying to, did anyone else notice that the "(Grizz)" in the From line appeared as "\(Grizz\)" in mutt's pager. I'm wondering if it's just me... I put "(Testing)" in my from line to see.. On Tue, May 16, 2000 at 12:56:37PM -0400, Dave (Grizz) Glaser [EMAIL PROTECTED] wrote: When trying to browse the folders on my IMAP server I get the error: Folder browsing is not currently implemented. Does this mean there there is no functionality for it, or I just didn't compile it into the program? I have a department I want to move to IMAP with pine and mutt, but I want them to be able to browse the remote folders. Any suggestions? Dave -- Bob BellCompaq Computer Corporation Software Engineer 110 Spit Brook Rd - ZKO3-3U/14 TruCluster GroupNashua, NH 03062-2698 [EMAIL PROTECTED] 603-884-0595
Re: help with imap
Shao -- Your understanding of IMAP, at least at the user level, is right on. The only thing you perhaps need to include in your mix is that, just as the news server itself gets postings for you to read, your IMAP server will have to do the fetching from various POP locations and *then* you can use IMAP to access the mails [now] on that server from anywhere. :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: help with imap
Shao Zhang [EMAIL PROTECTED] wrote on Tue, 16 May 2000: If the above is true, does that mean I will have to use the builtin support of IMAP from mutt? You don't *have* to, but you can. And if you want to use IMAP, well, it's a bit pointless not to... Like you say, if you donwload emails with fetchmail from the IMAP server, then it's no different from POP. So the idea with IMAP is in the remote browsing. Can I use mutt to access both my local emails and the emails stored on an IMAP server? Yes. Although there's some tricks in the browsing apparently, when changing from remote to local or vice versa. Just my observations from following discussions on mutt-users, I don't use IMAP myself. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Q: How many surrealists does it take to change a light bulb? A: Fish
Re: 2 IMAP questions again
On Tue, May 16, 2000 at 11:03:39AM -0500, David Champion wrote: On 2000.05.16, in [EMAIL PROTECTED], "Brendan Cully" [EMAIL PROTECTED] wrote: don't know which clients can make use of that yet). The best option is just to use IMAP always or never, probably. I don't think that's realistic, as long as non-IMAP access is possible, for some people. But I guess what I'm asking about can be done with a bit of limit code and a push. It's surprising how many calls our tech support line gets where callers are worrying about "DO NOT DELETE THIS MESSAGE" messages, asking whether they're viruses, etc. Try folder-hook . 'push "l!~s DO NOT DELETE THIS MESSAGE\n"' or folder-hook . 'push "l!~f Folder internal Data\n"' or how the sender is specified. HTH, Michael -- fortune: No such file or directory PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Doing netnews with mutt
Ok, I've gotten so hooked on mutt that I'm wanting to use it for netnews. I know this has been discussed a lot, but as best I've been able to tell the focus has been on NNTP support for some reason --- even though mutt does email fine without talking SMTP. By doing a little perl to batch-download netnews, with procmail for something that works like killfile processing, I've got the netnews presented to mutt just as though it were a mailing list. Just like using fetchmail+procmail for imap w/ filtering. And by using a little helper script instead of sendmail, that greps for Newsgroups: to decide whether to pipe a copy into a mini-inews, I believe I've got the posting all nailed. Now the only missing bits are in header whapping, which is solely mutt's turf. Here's the dream, which I don't have a clue how to realize with mutt. If the message I'm replying to has a Newsgroups header, then (a) copy it into the edit buffer along with the other weeded headers; and (b) append the Message-Id to a References: header, copying it forward if it exists or creating it if it doesn't. Anybody know whether mutt can be asked to do that sort o' cleverness with headers? I didn't find anything exciting in the manual, but then again that may just be because I didn't know where to look. It wasn't in the neighborhood of any mention of "header" in the reference section. -Bennett PGP signature
Re: Maildir support in Procmail 3.14 -- how?
On Mon, May 15, 2000 at 05:17:47AM -0400, Russell Hoover wrote: Since procmail 3.14 supports the maildir mailbox format, I would assume that means, using it with mutt, that I can get rid of the maildir.c delivery program I've been using for the last couple of years, and that I can change my procmail recipes from one like this: :0 * ^TO.*mutt-(users|users-request) |maildir Mail/m/ to one like this: :0 * ^TO.*mutt-(users|users-request) ~/Mail/m/ and have things work smoothly. But when I get rid of maildir.c and remove "|maildir " from the recipes, all my messages end up in the ~/Mail/m/ directory *alongside* the cur/, new/ and tmp/ subdirectories, not *inside* any of them, as they should. So how do I get the new procmail to deliver to maildirs without the previously necessary add-ons? I know that I'm calling version 3.14 of procmail in my .forward file, and I use the trailing slash in all recipes. Also -- is it still necessary with the new procmail to generate a lines header? In other words, can I remove the following from my .procmailrc? # --- # Generate a "Lines:" header # (needed for maildir mailbox format) # Only msg-body lines are counted (not the hdrs): :0 bw LINES=|wc -l | tr -d " " :0 fhw |formail -a "Lines: $LINES" # --- Thanks. -- // [EMAIL PROTECTED] // I'm using 3.14 with Maildirs and it works great. My .procmailrc looks like this MAILDIR=$HOME :0 * ^[EMAIL PROTECTED] ./qmaildir/ :0 * ^[EMAIL PROTECTED] ./muttdir/ and so on. I made separate mailboxes under my home directory. Cheers Bob -- ** Bob Waskosky Homepage: http://www.nobhead.com/perl/ USAemail: [EMAIL PROTECTED] **
Multiple IMAP Servers
I would very much like to use one instance of Mutt to get all my mail. However, I have 3 mail accounts on 3 different servers, 3 usernames, 3 passwords... Is there any way to configure the setup so that I can browse all 3 using "c"? I figured out how to switch around the three manually, but it's kind of tedious and defeats the purpose. I'd appreciate any help I can get... Kristin
Re: mutt-1.2: imap/ssl certificates
On Tue, May 16, 2000 at 12:41:27PM +0300, Tommi Komulainen wrote: On Wed, May 10, 2000 at 02:05:30PM +0200, Andre Wobst wrote: Hi, I've troubles with the imap ssl certificates, saved in the file certificate_file, which I set to ~/.mutt.certificate_file in my ~/.muttrc. If I do so, I can accept a certificate not only once but always (otherwise this option isn't available). The certificate is stored in the file ~/.mutt.certificate_file. But next time I start mutt again, it asks me again for the certificate check. If I accept it again, the certificate is again added to the file ~/.mutt.certificate_file and it is exactly the same like before -- now stored twice in the same file. How can I store the certificate that way, that mutt acceptes it automatically next time -- what's wrong in the way I'm doing it? For starters, you're doing nothing wrong, mutt is. Please find attached a patch that fixes this bug. I'll see if I can fix this once I have the time. I really should start reading for some exams... :) Oh dear. Well, there's always tomorrow... -- Tommi Komulainen [EMAIL PROTECTED] ? Muttrc.head Index: imap/imap_ssl.c === RCS file: /home/roessler/cvs/mutt/imap/imap_ssl.c,v retrieving revision 1.12 diff -u -r1.12 imap_ssl.c --- imap/imap_ssl.c 2000/04/26 07:32:42 1.12 +++ imap/imap_ssl.c 2000/05/16 21:56:14 @@ -284,7 +284,40 @@ } } +static int check_certificate_file (X509 *peercert) +{ + unsigned char peermd[EVP_MAX_MD_SIZE]; + unsigned int peermdlen; + X509 *cert = NULL; + int pass = 0; + FILE *fp; + + if (!X509_digest (peercert, EVP_sha1(), peermd, peermdlen)) +return 0; + + if ((fp = fopen (SslCertFile, "rt")) == NULL) +return 0; + + while ((cert = READ_X509_KEY (fp, cert)) != NULL) + { +unsigned char md[EVP_MAX_MD_SIZE]; +unsigned int mdlen; + +if (!X509_digest (cert, EVP_sha1(), md, mdlen) || peermdlen != mdlen) + continue; + +if (memcmp(peermd, md, mdlen) == 0) +{ + X509_free (cert); + pass = 1; + break; +} + } + fclose (fp); + return pass; +} + static int ssl_check_certificate (sslsockdata * data) { char *part[] = @@ -297,23 +330,8 @@ char *line = NULL, *c; /* automatic check from user's database */ - if ((fp = fopen (SslCertFile, "rt"))) - { -EVP_PKEY *peer = X509_get_pubkey (data-cert); -X509 *savedkey = NULL; -int pass = 0; -while ((savedkey = READ_X509_KEY (fp, savedkey))) -{ - if (X509_verify (savedkey, peer)) - { - pass = 1; - break; - } -} -fclose (fp); -if (pass) - return 1; - } + if (SslCertFile check_certificate_file (data-cert)) +return 1; menu = mutt_new_menu (); menu-max = 15; PGP signature
Re: some thread, some don't.
Kelly Scroggins [EMAIL PROTECTED] wrote on Tue, 16 May 2000: I like to sort my messages by thread. But some messages don't appear in the thread. They are instead listed by themselves in the list. Can anyone know why? Sure, but it's impossible to say for sure what your problem is, there's not enough details. I can only give a guess. Let me first explain how Mutt does threading. The first and primary method is by the "References" headers in the emails. Many email programs, including Mutt, will add this header when the user writes a reply. With the References header, Mutt can look up what other messages belong to the same thread, and thread that message together with them. However, not all email programs create the References header with replies. Because of this, Mutt has a secondary threading method: matching messages by subject. If the subject is the same (or close enough to being same) as another message in the mail folder, Mutt will group these two messages into the same thread. The ordering depends on the message dates, as shown in the Date header (but Mutt does know about different timezones and knows how to compare them properly). This latter is known as subject-based threading, and it can be turned off by turning on (setting) the Mutt variable $strict_threads. So, here's my guess: You have $strict_threads turned on (set), and the message(s) that didn't get saved to the thread didn't have a References header. Even if that guess is off, the reason why Mutt didn't put the message in the same thread is that both of the methods I explained above failed for that message. I hope this helps. If you need more help, then please tell us more about your situation and details about the messages that didn't get threaded right. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / I can give you a definite perhaps. -- Samuel Goldwyn
Re: some thread, some don't.
Mikko, Man! Your the King! That was it. Thanks, kelly Quoting Mikko Hänninen [EMAIL PROTECTED]: Kelly Scroggins [EMAIL PROTECTED] wrote on Tue, 16 May 2000: I like to sort my messages by thread. But some messages don't appear in the thread. They are instead listed by themselves in the list. Can anyone know why? Sure, but it's impossible to say for sure what your problem is, there's not enough details. I can only give a guess. Let me first explain how Mutt does threading. The first and primary method is by the "References" headers in the emails. Many email programs, including Mutt, will add this header when the user writes a reply. With the References header, Mutt can look up what other messages belong to the same thread, and thread that message together with them. However, not all email programs create the References header with replies. Because of this, Mutt has a secondary threading method: matching messages by subject. If the subject is the same (or close enough to being same) as another message in the mail folder, Mutt will group these two messages into the same thread. The ordering depends on the message dates, as shown in the Date header (but Mutt does know about different timezones and knows how to compare them properly). This latter is known as subject-based threading, and it can be turned off by turning on (setting) the Mutt variable $strict_threads. So, here's my guess: You have $strict_threads turned on (set), and the message(s) that didn't get saved to the thread didn't have a References header. Even if that guess is off, the reason why Mutt didn't put the message in the same thread is that both of the methods I explained above failed for that message. I hope this helps. If you need more help, then please tell us more about your situation and details about the messages that didn't get threaded right. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / I can give you a definite perhaps. -- Samuel Goldwyn
Saving unencrypted versions of encrypted outgoing mails
When I send an encrypted mail to somebody, the encrypted version is saved in =sent-mail. What I'd (in retrospect) sometimes like is an unencrypted version saved too, preferably automatically. Is this doable? -- Åsmund Skjæveland ([EMAIL PROTECTED]) pgp/gpg public key 54B975CE at http://www.uio.no/~aasmunds/public-key PGP signature
Folder Hooks
OK: I have some send hooks working. When I try to do analogous things with folder hooks, those fail. For example: folder-hook =wyo_lp 'set signature=~/.signatures/conan_the_anarchist.txt' folder-hook =wyo_lp 'my_hdr Reply-To: [EMAIL PROTECTED]' does not seem to work, where send-hook '~C [EMAIL PROTECTED]' "set signature=~/.signatures/conan_the_anarchist.txt; \ my_hdr Reply-To: [EMAIL PROTECTED]" does work correctly. The case is correct in the folder name. I am testing by going into the appropriate folder, then starting a new email with "m". If I provide the appropriate address for the send hook, it works. If I provide a different address, the defaults are invoked. This is true even when I comment out my send hooks. -- -- C^2 No windows were crashed in the making of this email. Looking for fine software and/or web pages? http://w3.trib.com/~ccurley
Re: Newbie to Mutt: How can I get Menus with buttons
On Thu, May 11, 2000 at 09:55:51AM +0800, wrote: Hi All, Can anybody tell me how I can get the nice menu buttons on the top and text menus at the bottom as seen on the screen shot at URL. http://www.mutt.org//screenshots/browser.gif I was only able to get a text menu on top of the screen. Thanks for your help.I have compiled 2 versions with Slang and ncurses-5.0 (without c++), but both of them are the same. Any help ? Thanks. Regards -- Law Syn Pui Agilent Technologies [EMAIL PROTECTED] (A subsidary of Hewlett Packard Company) Look for a file called Eterm.menu - mine was at /usr/X11R6/share/Eterm/themes/Eterm. You may also find a mutt theme already there. The *.menu file is the one Eterm reads for its menu bar. Eterm must be called using the theme name ie: Eterm -t mutt -e mutt -f ~/Maildir I made a directory ~/.Eterm/themes/e-mail and copied Eterm.menu to that directory then modified it to suit my needs. Hope this helps. Bob -- ** Bob Waskosky email: [EMAIL PROTECTED] The Perl Zone http://www.nobhead.com/perl/ **
bounce
Seniors, May I change From: field before bounce message? -- Reed Lai http://w3.icpdas.com/reed/ | ICPDAS http://www.icpdas.com GnuPG (DSA/ElGamal) 0x7199EAD3 Reed Lai (key #1) [EMAIL PROTECTED] KeyServer: search.keyserver.net | HAM: BV4QO | NIC-handle: RL7000 ICQ 64518529
Re: Multiple IMAP Servers
Kristin -- Chris Green is probably your user-level guy for mutt and IMAP; he's been putting it through its paces. The best answer that I've seen to the "multiple personality" problem is to create a master muttrc that sets your basic defaults and then create little muttrc files that set persona-specific settings. You can make a couple of simple macros to call these guys. I can't think of how you could browse all three IMAP servers at the same time with the 'c'hange-folder command; the best I can think of is the persona files above and browsing any single IMAP server based on who you are at the moment. HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: Saving unencrypted versions of encrypted outgoing mails
Åsmund -- ...and then Åsmund Skjæveland said... % When I send an encrypted mail to somebody, the encrypted version is saved in % =sent-mail. What I'd (in retrospect) sometimes like is an unencrypted % version saved too, preferably automatically. Is this doable? Yep, in version 1.2 (and probably 1.1.x for x 11 or so). The manual says 6.3.41. fcc_clear Type: boolean Default: no When this variable is set, FCCs will be stored unencrypted and unsigned, even when the actual message is encrypted and/or signed. If you encrypted your original messages to yourself (so that you can read them now), then you can mass-convert a folder by tagging everything and then using decrypt-save (which I, for instance, have bound to S with bind index S decrypt-save # undocumented bind pager S decrypt-save # undocumented in my .muttrc) to copy encrypted and clear messages alike to a new folder in the clear. Hmmm... I suppose you could even save them to the same folder, since the originals will then be marked for deletion. I think that decrypt-save might wipe the 'N'ew status header, though... % % -- % Åsmund Skjæveland ([EMAIL PROTECTED]) % % pgp/gpg public key 54B975CE at http://www.uio.no/~aasmunds/public-key HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: Remote IMAP folder browsing
Brendan Cully [[EMAIL PROTECTED]] wrote: On Tuesday, 16 May 2000 at 12:56, Dave (Grizz) Glaser wrote: When trying to browse the folders on my IMAP server I get the error: Folder browsing is not currently implemented. Does this mean there there is no functionality for it, or I just didn't compile it into the program? Hi, sorry to jump in here. But how do you actually browse all the IMAP folders on the remote server? The way I am doing now is to put every single folder under the mailbox command. I have tried to use 'c' change-folder, and then put the imap servername {127.0.0.1} there, but then nothing comes up in the browser. The bottom status line says something like {127.0.0.1}INBOX. What am I doing wrong? Regards, Shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
My patches are updated to Mutt 1.2
On Sun, Mar 19, 2000 at 18:13:16 -0500, David T-G wrote: Hi, folks -- Now that I can build because I have a working compiler (sorry for the noise :-) I would like to look into my favorite feature patches. I use patch-0.94.13.bj.current_shortcut.1 patch-0.95.3.bj.ed_mtime.1 patch-0.95.3i.bj.keyattach.1 patch-0.95.4.bj.status-time.1 patch-0.95.bj.hash_destroy.2 patch-0.95.bj.noquote_hdr_term.1 [snip - patches made by other people] Can the authors or maintainers of the patches let me know if any of them are obsoleted or need to be updated, and where to get them? The keyattach patch have been included Mutt in 1.2. Please find updated versions of the other patches at URL: http://home.worldonline.dk/~byrial/mutt/patches/. There you will now find these patches for Mutt: patch-1.2.bj.current_shortcut.1: This patch will make the ^ character a shortcut for the currently open mailbox. patch-1.2.bj.ed_mtime.1: When you leave the editor, mutt will check if the edited file's modification time have changed to decide if the file has been modified. This means that it you are able to modify it in less than one second (e.g. by running a script to generate some text), Mutt may think that it is unmodified. This patch solves this problem by seting the time stamp of a new file to one second ago' before calling the editor. patch-1.2.bj.noquote_hdr_term.1: Don't quote the header terminator when replying with headers. patch-1.2.bj.status-time.1: You can show the current time in your preferred format in the status line with this patch. See the $status_format and $status_update configuration variables in the patched manual for details. patch-1.2.bj.my_hdr_subject.1: Use this patch: - To execute sendhooks before setting subject to make it possible to set the subject in a sendhook. The price is that you miss the possibility to let the sendhook depend upon the subject. - To let "my_hdr Subject" commands be controlled by $hdrs. Now $hdrs only controls all other kinds of my_hdr commands. - To let sendhooks work in batch mode. Thank you to Rob Reid for fixing a bug in a previous version of this patch. patch-1.2.bj.hash_destroy.1 This patch will speed up a little bit closing of mailboxes. Regards, Byrial P.S. I have recently had some trouble sending mail to the Mutt mailing lists. Will you please forward this message to mutt-users if you don't see it there 1 or 2 days after you received it. Thank you.
Re: Mutt and GPG
Graham Lillico (Tue 16.0500-08:46): [deleted] email sent from mutt using gpg to sign it then I get the above message and then shortly followed by "PGP signature successfully verified." why don't I get this from messages sent and signed using pine? Does this mean it can't verify the GPG signature? mutt uses MIME to package message and signature, where both are separate blocks in the same email. pine just pipes the message through gpg to have it signed and you get the email in one chunk. in this latter case i use a little script and handfeed it the message by way of a pipe. here's the meat: #!/bin/es echo $PGPPASS |[1=5] gpg --passphrase-fd 5 $* invoked by '|lgpg'. it works when the mess is just signed and also when it is both encrypted to me and signed by the author. es() is some smart little shell. if my brains's mechanics don't fail me, the sh() translation should read: #!/bin/sh echo $PGPPASS 5 | gpg --passphrase-fd 5 $* i risk putting my passphrase into $PGPPASS of the environment only because i got my pitbull 'hate' trained to bite me every 15 minutes to remind me. if you have a turtle or a rabbit, the training will need time, but with your passphrase in memory, who cares? -- clemens [EMAIL PROTECTED] do D4685B884894C483 gpg recv-key 0x9 echo `gpg list-key 0x9 | cat -tv` | \ gpg encrypt `gpg list-key 0x9 | 822address` | \ mail -s your-key `gpg list-key 0x9 | 822address` wait [encrypted] return mail. no return mail within a week, you in trouble. no return mail after a month, i in trouble. please check done
Re: bounce
On Wed, May 17, 2000 at 12:11:27AM -0400, David T-G wrote: Reed -- ...and then Reed Lai said... % Seniors, % % May I change From: field before bounce message? Sounds like you want the new resend-message command, which lets you modify any part of a message (including its headers) and then ship it off as though you had just composed it. This is untested, of course, but I think it will work for you. If it doesn't, you could consider piping the message through formail and rewriting the From: header (easy with -A) and *then* handing it off to sendmail or some such magic. I do this because I bounce messages to other peoples, but they always confused who sent them those mails... and I don't know how to forward with attached items (however, forward has more actions than bounce...) -- Reed Lai http://w3.icpdas.com/reed/ | ICPDAS http://www.icpdas.com GnuPG (DSA/ElGamal) 0x7199EAD3 Reed Lai (key #1) [EMAIL PROTECTED] KeyServer: search.keyserver.net | HAM: BV4QO | NIC-handle: RL7000 ICQ 64518529
Re: Folder Hooks
On Tue, May 16, 2000 at 07:57:00PM -0600, Charles Curley wrote: OK: I have some send hooks working. When I try to do analogous things with folder hooks, those fail. For example: folder-hook =wyo_lp 'set signature=~/.signatures/conan_the_anarchist.txt' folder-hook =wyo_lp 'my_hdr Reply-To: [EMAIL PROTECTED]' does not seem to work, where I am testing by going into the appropriate folder, then starting a new email with "m". Some ideas: * Do you have some other folder-hooks in your muttrc? IMHO *all* matching ones are executed. E.g. a folder-hook . unmy_hdr reply-to later in the muttrc will abandon your Reply-to-address. *Is the = directory properly set at that time? (muttrc is read from top to bottom...) * Try removing the '' ticks in the 2nd one. HTH Frank