Re: IMAP browsing
On Wed, Apr 10, 2002 at 12:10:14PM -0500, Dean Henrichsmeyer wrote: set folder=imap://host.foo.com/folder_root Substitute the host and the folder_root with your information and you'll browse your imap server by default. Dean On Wed, Apr 10, 2002 at 04:21:45PM +0200, Michal 'hramrach' Suchanek wrote: I think it would be a good idea if c gave me folder tree of my current account and not local folders. ie if I am viewing somebody@somewhere/INBOX c should give me imap://somebody@somewhere/, not ~/Mail (or whatever). The annoying behavior is observed in mutt-1.3.27i-4mdk. Or is there a simple way of browsing my IMAP account I have overlooked? Or prehaps there is a -devel list where this should be posted? Thank you for your responses. If I understand what you are writing, you all advise me to swich from browsing local folders by defalt to browsing remote folders by default. That differs from the behavior I'd like to achieve. I want mutt to show the tree in which the folder that is currently open can be located so that I can select its sibling or subfolder. Writing the whole URL is quite a bit of typing, thus I do not consider this an easy way. I set up mailboxes to point to all my accounts following another advice to get easy access to all of them using ctabtab. I'll try to attach my muttrc for you to examine it. It's quite small and fails in many unexpexted ways. -- Michal Suchanek [EMAIL PROTECTED] #set from=[EMAIL PROTECTED] set spoolfile=$HOME/Mail mailboxes $HOME/Mail imap://artax.karlin.mff.cuni.cz imap://dec59.ruk.cuni.cz set mbox_type=Maildir set move=no set sort=threads set sort_aux=reverse-last-date-received set pager_context=1 pager_index_lines=11 subscribe @linux-mandrake.com mutt-user account-hook . unset imap_user imap_force_ssl account-hook . set [EMAIL PROTECTED] account-hook artax set imap_force_ssl=yes imap_user=msuc8339 [EMAIL PROTECTED] account-hook dec59 set imap_force_ssl=no imap_user=suchanek [EMAIL PROTECTED] save-hook .*+saved-mail save-hook \[Cooker\] +linux-saved save-hook \[expert\] +linux-saved
Re: IMAP browsing
Michael -- ...and then Michal 'hramrach' Suchanek said... % ... % Thank you for your responses. If I understand what you are writing, you % all advise me to swich from browsing local folders by defalt to browsing % remote folders by default. At least when you want to look at remote folders, anyway. % That differs from the behavior I'd like to achieve. I want mutt to show % the tree in which the folder that is currently open can be located so % that I can select its sibling or subfolder. Writing the whole URL is Fair enough. % quite a bit of typing, thus I do not consider this an easy way. % I set up mailboxes to point to all my accounts following another % advice to get easy access to all of them using ctabtab. I would recommend a couple of macros which reset $folder so that you can quickly change from local to remote and back. 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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg27024/pgp0.pgp Description: PGP signature
Re: IMAP browsing
Michael -- ...and then Michal 'hramrach' Suchanek said... % ... % Thank you for your responses. If I understand what you are writing, you % all advise me to swich from browsing local folders by defalt to browsing % remote folders by default. At least when you want to look at remote folders, anyway. % That differs from the behavior I'd like to achieve. I want mutt to show % the tree in which the folder that is currently open can be located so % that I can select its sibling or subfolder. Writing the whole URL is Fair enough. % quite a bit of typing, thus I do not consider this an easy way. % I set up mailboxes to point to all my accounts following another % advice to get easy access to all of them using ctabtab. I would recommend a couple of macros which reset $folder so that you can quickly change from local to remote and back. This is what I set up: set spoolfile=$HOME/Mail set mbox_type=Maildir set record=$HOME/Mail/Sent account-hook . unset imap_user imap_force_ssl folder-hook . set [EMAIL PROTECTED] account-hook artax set imap_force_ssl=yes imap_user=msuc8339 folder-hook artax set [EMAIL PROTECTED] account-hook dec59 set imap_force_ssl=no imap_user=suchanek folder-hook dec59 set [EMAIL PROTECTED] macro index \Csa :set folder=imaps://artax.karlin.mff.cuni.cz/mailreturnc? macro index \Csu :set folder=imap://dec59.ruk.cuni.czreturnc? macro index \Csl :unset folderreturnc? - It doesnt work. You can switch to an imap account but once there you can't switch anywhere else. I tried folder=~/Mail for local first but it makes no difference. Another problem is I lose the checking for new mail. Note I had to specify imaps: manually, otherwise I had to login twice. -- Michal Suchanek [EMAIL PROTECTED]
Re: IMAP browsing
Michael -- ...and then Michal 'hramrach' Suchanek said... % ... % I would recommend a couple of macros which reset $folder so that you can % quickly change from local to remote and back. % % This is what I set up: % % % set spoolfile=$HOME/Mail % set mbox_type=Maildir % set record=$HOME/Mail/Sent This is interesting. The spoolfile setting looks like what you would actually have for $folder, especially since $record is a mailbox under that folder. Should $spoolfile really be $HOME/Mailbox or something similar, or do you actually have $HOME/ Mail/ cur/ tmp/ new/ Sent/ cur/ tmp/ new/ which may or may not work (I don't think that Maildir is designed to have not only messages but subfolders in the same plce)? % % account-hook . unset imap_user imap_force_ssl % folder-hook . set [EMAIL PROTECTED] % account-hook artax set imap_force_ssl=yes imap_user=msuc8339 % folder-hook artax set [EMAIL PROTECTED] % account-hook dec59 set imap_force_ssl=no imap_user=suchanek % folder-hook dec59 set [EMAIL PROTECTED] % % macro index \Csa :set folder=imaps://artax.karlin.mff.cuni.cz/mailreturnc? % macro index \Csu :set folder=imap://dec59.ruk.cuni.czreturnc? % macro index \Csl :unset folderreturnc? % - % % It doesnt work. You can switch to an imap account but once there you % can't switch anywhere else. I tried folder=~/Mail for local first but it % makes no difference. Instead of unsetting your folder for your local macro, set it back to your local mail dir (usually $HOME/Mail but that's tough to tell above). % Another problem is I lose the checking for new mail. Use a mailboxes line to define where you want mutt to look. I thought I saw one in an earlier mail from you... % Note I had to specify imaps: manually, otherwise I had to login twice. Don't know anything about that one. % % -- % Michal Suchanek % [EMAIL PROTECTED] 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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg27036/pgp0.pgp Description: PGP signature
Re: IMAP browsing
On Thu, Apr 11, 2002 at 09:02:06AM -0500, David T-G wrote: Michael -- ...and then Michal 'hramrach' Suchanek said... % ... % % set spoolfile=$HOME/Mail % set mbox_type=Maildir % set record=$HOME/Mail/Sent This is interesting. The spoolfile setting looks like what you would actually have for $folder, especially since $record is a mailbox under $spoolfile is something like /var/spool/mail/$LOGNAME which is undesirable - causes errors. that folder. Should $spoolfile really be $HOME/Mailbox or something similar, or do you actually have $HOME/ Mail/ cur/ tmp/ new/ Sent/ cur/ tmp/ new/ which may or may not work (I don't think that Maildir is designed to have not only messages but subfolders in the same plce)? This is what I have and it works except subfolders should start with a dot (ie .Sent) to be accessible trough courier-imap for Mozilla. % % account-hook . unset imap_user imap_force_ssl % folder-hook . set [EMAIL PROTECTED] % account-hook artax set imap_force_ssl=yes imap_user=msuc8339 % folder-hook artax set [EMAIL PROTECTED] % account-hook dec59 set imap_force_ssl=no imap_user=suchanek % folder-hook dec59 set [EMAIL PROTECTED] % % macro index \Csa :set folder=imaps://artax.karlin.mff.cuni.cz/mailreturnc? % macro index \Csu :set folder=imap://dec59.ruk.cuni.czreturnc? % macro index \Csl :unset folderreturnc? % - % % It doesnt work. You can switch to an imap account but once there you % can't switch anywhere else. I tried folder=~/Mail for local first but it % makes no difference. Instead of unsetting your folder for your local macro, set it back to your local mail dir (usually $HOME/Mail but that's tough to tell above). I tried: no diff - see above-^ % Another problem is I lose the checking for new mail. Use a mailboxes line to define where you want mutt to look. I thought I saw one in an earlier mail from you... AFAIK it has to be turned off to make any use of $folder for browsing. HTH HAND I suspect we have exhausted all the possibilities for now but I appreciate your help anywawy. I think I can use Mozilla when I really want to browse all my mailboxes at once :-) :-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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! -- Michal Suchanek [EMAIL PROTECTED]
IMAP browsing
I think it would be a good idea if c gave me folder tree of my current account and not local folders. ie if I am viewing somebody@somewhere/INBOX c should give me imap://somebody@somewhere/, not ~/Mail (or whatever). The annoying behavior is observed in mutt-1.3.27i-4mdk. Or is there a simple way of browsing my IMAP account I have overlooked? Or prehaps there is a -devel list where this should be posted? PS: I have no idea if I am currently subscribed -- Michal Suchanek [EMAIL PROTECTED]
Re: IMAP browsing
On Wed, Apr 10, 2002 at 04:21:45PM +0200, Michal 'hramrach' Suchanek wrote: I think it would be a good idea if c gave me folder tree of my current account and not local folders. ie if I am viewing somebody@somewhere/INBOX c should give me imap://somebody@somewhere/, not ~/Mail (or whatever). The annoying behavior is observed in mutt-1.3.27i-4mdk. Or is there a simple way of browsing my IMAP account I have overlooked? Or prehaps there is a -devel list where this should be posted? PS: I have no idea if I am currently subscribed there is an easy way to do it... go to the folder browser (ctab by default), then hit c and enter the path to your imap server imaps://dan@localhost/... I can now browse my IMAP folders. I believe there's an setting you can tweak to get this by default, but too lazy to look it up now... I'd guess it'd be folders or something similar. :) -- Dan Boger Linux MVP brainbench.com msg26981/pgp0.pgp Description: PGP signature
Re: IMAP browsing
Michal -- ...and then Michal 'hramrach' Suchanek said... % % I think it would be a good idea if c gave me folder tree of my current % account and not local folders. ie if I am viewing somebody@somewhere/INBOX % c should give me imap://somebody@somewhere/, not ~/Mail (or whatever). % The annoying behavior is observed in mutt-1.3.27i-4mdk. % Or is there a simple way of browsing my IMAP account I have overlooked? I don't work much with imap so I'm not sure, but have you tried setting your $folder to your imap dir so that mutt knows to look there? Even a good dog can only figure out so much... % Or prehaps there is a -devel list where this should be posted? There is a mutt-dev list, but this is a simple user-level question, so this is the right place. % % PS: I have no idea if I am currently subscribed Did you send a subscription request? Did you get a welcome message? % -- % Michal Suchanek % [EMAIL PROTECTED] :-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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26982/pgp0.pgp Description: PGP signature