.muttrc config help.
hi, I have lost my .muttrc config file. there is a couple of variables which I am having trouble resetting in my new file. to view my mail box I have to type "mutt -f ~/Maildir" what variables do I have to set to make this happen in my .muttrc file ?? also my mail server is, "mail.mydomain.co.uk" so mail I send comes from [EMAIL PROTECTED] how do I set it to come from [EMAIL PROTECTED] Pretty simple I know but I have not got a reference point. Thanks, Matt.
RE: .muttrc config help.
> hi, > > I have lost my .muttrc config file. > > there is a couple of variables which I am having trouble resetting in my > new file. > > > to view my mail box I have to type "mutt -f ~/Maildir" > > what variables do I have to set to make this happen in my .muttrc file ?? > > also my mail server is, "mail.mydomain.co.uk" so mail I send comes from > [EMAIL PROTECTED] how do I set it to come from [EMAIL PROTECTED] > > > Pretty simple I know but I have not got a reference point. > > Thanks, > > Matt. >
Re: muttrc mode for emacs
[EMAIL PROTECTED] writes: > On Wed, Apr 24, 2002 at 09:20:09PM -0400, Laurent Pelecq wrote: > > Mike Schiraldi <[EMAIL PROTECTED]> writes: > > > > This is a permanent URL. The site will move soon. > > > > > > Which is it? > > > > Which is what? The URL was above I don't understand what you mean. > > Those seemed like contradictory statements: is it a permanent URL, or will > the site move soon? You are not the first one to tell me that :-) The URL is permanent. It points wherever I want. The site will move soon because I will change my ISP. And I will redirect the URL to the new site. -- Laurent Pelecq
Re: muttrc mode for emacs
Mike, et al -- ...and then Mike Schiraldi said... % % > This is a permanent URL. The site will move soon. % % Which is it? It could be both if it has a nice go.to or PURL redirector. He probably means that you should remember the URL provided and not the URL where you end up. % % % -- % Mike Schiraldi % VeriSign Applied Research 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! msg27592/pgp0.pgp Description: PGP signature
Re: muttrc mode for emacs
> This is a permanent URL. The site will move soon. Which is it? -- Mike Schiraldi VeriSign Applied Research msg27590/pgp0.pgp Description: PGP signature
muttrc mode for emacs
Hello, I wrote a muttrc-mode for emacs a while ago and it seems that someone use it. I've updated it for the current version. It is available again: http://www.soleil.org/laurent.pelecq/ This is a permanent URL. Follow the links. The site will move soon. PS: I don't read the list anymore. Please copy me if you reply. -- Laurent Pelecq
Re: Preferred muttrc syntax for "set" commands
David T-G ([EMAIL PROTECTED]) muttered: > ...and then Rocco Rutte said... > % * Michael Tatge [04/09/02 15:42:25 CEST] wrote: > % > Who needs urlview? > % > % I like using it because I hate copy'n'paste. I also don't like to idea > % to use a mouse as frequently as urlview. ;-) > > Perhaps he should have phrased it as "who would prefer urlview over > anything other than mutt?" :-) Exactly. Michael -- PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: Preferred muttrc syntax for "set" commands
Rocco -- ...and then Rocco Rutte said... % % Hi, % % * Michael Tatge [04/09/02 15:42:25 CEST] wrote: % > Who needs urlview? % % I like using it because I hate copy'n'paste. I also don't like to idea % to use a mouse as frequently as urlview. ;-) Perhaps he should have phrased it as "who would prefer urlview over anything other than mutt?" :-) % % Cheers, Rocco. 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! msg26923/pgp0.pgp Description: PGP signature
Re: Preferred muttrc syntax for "set" commands
Hi, * Michael Tatge [04/09/02 15:42:25 CEST] wrote: > Who needs urlview? I like using it because I hate copy'n'paste. I also don't like to idea to use a mouse as frequently as urlview. ;-) Cheers, Rocco. msg26921/pgp0.pgp Description: PGP signature
Re: Preferred muttrc syntax for "set" commands
On Tue, 9 Apr 2002, David T-G wrote: > % P.S. I'd be using mutt already but the native WIN32 mutt from > % http://www.geocities.com/win32mutt just exits on me at the prompt > % without doing anything; Cygwin mutt doesn't have URLVIEW; and my > > So you'd rather be stuck in some other mail program just because you'd > have to manually handle some links while waiting for urlview?? C'mon; > you can do better than that! Not quite as easy as that... -- the Solaris machine that I telnet to doesn't have mutt either. > % Linux machine hasn't arrived yet... > > You obviously have a perfectly good machine on your desk. You mean your > replacement windows machine hasn't arrived, don't you? ;-) See above...;-) Tom -- Dr. Thomas Baker[EMAIL PROTECTED] Birlinghoven Library, Fraunhofer-Gesellschaft mobile +49-171-408-5784 Institutszentrum Schloss Birlinghovenwork +49-30-8109-9027 53754 Sankt Augustin, Germany fax +49-2241-14-2619
Re: Preferred muttrc syntax for "set" commands
Thomas -- ...and then Thomas Baker said... % % Dear all, % % I have found all of the following "set" commands: % % set nomove % set move=no % unset move Yep. % % Do they all mean the same thing? Are some forms "preferred"? Yep. Nope. % Do all "set" commands support such alternatives? Yep. % % Tom % % P.S. I'd be using mutt already but the native WIN32 mutt from % http://www.geocities.com/win32mutt just exits on me at the prompt % without doing anything; Cygwin mutt doesn't have URLVIEW; and my So you'd rather be stuck in some other mail program just because you'd have to manually handle some links while waiting for urlview?? C'mon; you can do better than that! % Linux machine hasn't arrived yet... You obviously have a perfectly good machine on your desk. You mean your replacement windows machine hasn't arrived, don't you? ;-) % % -- % Dr. Thomas Baker[EMAIL PROTECTED] % Birlinghoven Library, Fraunhofer-Gesellschaft mobile +49-171-408-5784 % Institutszentrum Schloss Birlinghovenwork +49-30-8109-9027 % 53754 Sankt Augustin, Germany fax +49-2241-14-2619 % 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! msg26911/pgp0.pgp Description: PGP signature
Preferred muttrc syntax for "set" commands
Dear all, I have found all of the following "set" commands: set nomove set move=no unset move Do they all mean the same thing? Are some forms "preferred"? Do all "set" commands support such alternatives? Tom P.S. I'd be using mutt already but the native WIN32 mutt from http://www.geocities.com/win32mutt just exits on me at the prompt without doing anything; Cygwin mutt doesn't have URLVIEW; and my Linux machine hasn't arrived yet... -- Dr. Thomas Baker[EMAIL PROTECTED] Birlinghoven Library, Fraunhofer-Gesellschaft mobile +49-171-408-5784 Institutszentrum Schloss Birlinghovenwork +49-30-8109-9027 53754 Sankt Augustin, Germany fax +49-2241-14-2619
Re: .muttrc variables and synonyms
* Michael Elkins <[EMAIL PROTECTED]> [2002-04-05 17:38]: > Sven Guckes wrote: > > ## Trivia: mutt-1.2.5 has some 208 options. > > ## mutt-1.3.27 now has 249 options. > > ## mutt-1.3.28 has 249 options, too. > > ## Check with "grep DT_ init.h| grep -v define | sort |less" > This is not entirely accurrate unless you "grep -v DT_SYN" > because there are some synonyms to keep compatibilty with the > shorter names that used to exist for some of those variables. > By my count there are 11 synonyms in mutt 1.3.28. good point! i have added a note on that. here's an easy way to find the synonyms. it basically greps them from the init.h and uses sed to extract the var names: $ grep DT_SYN, init.h | sed -e 's/.*"\(.*\)",.*/\1/' edit_headers forward_decode forward_format forward_quote index_format indent_string mime_forward message_format forward_decrypt post_indent_string print_command yup - eleven. Sven -- i *love* greps - especially the green ones without seeds.
Re: .muttrc variables
* Rocco Rutte <[EMAIL PROTECTED]> [2002-04-05 14:46]: > * Will Yardley [04/05/02 20:55:36] wrote: > > this is very useful for getting help online and so on, since it's > > generally much more compact than the actual postfix configuration > > file. > > Exactly. And because mutt allows inclusion of other files, some script > here and some script there, it would be helpfull to have a dump of > what mutt will really use. And which of those values are not default. Vim has a "scriptnames" command, which "[l]ist[s] all sourced script names, in the order they were first sourced." I find it to be *very* useful, and something similar should be considered for inclusion if a variable dump is added to mutt. (darren) -- Blore's Razor: Given a choice between two theories, take the one which is funnier.
Re: .muttrc variables
Hi, * Will Yardley [04/05/02 20:55:36] wrote: [ config dump ] > i was actually going to suggest this a long time ago, but figured no one > would want to implement it. Strange... > this is very useful for getting help online and so on, since it's > generally much more compact than the actual postfix configuration file. Exactly. And because mutt allows inclusion of other files, some script here and some script there, it would be helpfull to have a dump of what mutt will really use. And which of those values are not default. If such a feature was incorporated, it could be used in flea(1) since a ~/.muttrc like: source "/path/to/script|" it useless. Interesting discussion. Cheers, Rocco. msg26794/pgp0.pgp Description: PGP signature
Re: .muttrc variables
Rocco Rutte wrote: > > It would make sence. Even more usefull was a feature which Postfix has: > dump all configuration variables which are not default. > > I can image it would make it easier to track errors by misconfiguration > down. i was actually going to suggest this a long time ago, but figured no one would want to implement it. for those who don't know, you can do: aura% postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/local/sbin [] to show all postfix parameters that aren't default. you can also show default parameters with -d. this is very useful for getting help online and so on, since it's generally much more compact than the actual postfix configuration file. -- Will Yardley input: william < @ hq . newdream . net . >
Re: .muttrc variables
Hi, * David Collantes [04/05/02 19:22:13] wrote: [ dump config ] > Will this be useful to more people? Is it something worth to ask as a wish? > For me, it will be nice it I could: > $ mutt --dump-vars > And have a .muttrc-full some something dumped on my directory, with all > options and their explanation as they are on the init.h. > Ideas, suggestions, anyone? It would make sence. Even more usefull was a feature which Postfix has: dump all configuration variables which are not default. I can image it would make it easier to track errors by misconfiguration down. Cheers, Rocco. msg26786/pgp0.pgp Description: PGP signature
Re: .muttrc variables
On 04-05-2002 at 12:14 EST, Michael Elkins <[EMAIL PROTECTED]> wrote: > Sven Guckes wrote: > > ## Trivia: mutt-1.2.5 has some 208 options. > > ## mutt-1.3.27 now has 249 options. > > ## mutt-1.3.28 has 249 options, too. > > ## Check with "grep DT_ init.h| grep -v define | sort |less" > > This is not entirely accurrate unless you "grep -v DT_SYN" because there > are some synonyms to keep compatibilty with the shorter names that used > to exist for some of those variables. By my count there are 11 synonyms > in mutt 1.3.28. Will this be useful to more people? Is it something worth to ask as a wish? For me, it will be nice it I could: $ mutt --dump-vars And have a .muttrc-full some something dumped on my directory, with all options and their explanation as they are on the init.h. Ideas, suggestions, anyone? Cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida "It is only to the individual that a soul is given."
Re: .muttrc variables
Sven Guckes wrote: > ## Trivia: mutt-1.2.5 has some 208 options. > ## mutt-1.3.27 now has 249 options. > ## mutt-1.3.28 has 249 options, too. > ## Check with "grep DT_ init.h| grep -v define | sort |less" This is not entirely accurrate unless you "grep -v DT_SYN" because there are some synonyms to keep compatibilty with the shorter names that used to exist for some of those variables. By my count there are 11 synonyms in mutt 1.3.28.
Re: .muttrc variables
* David Collantes <[EMAIL PROTECTED]> [2002-04-05 16:30]: > I am using the latest from the CVS (1.5.0i). Is there a way > to have mutt 'spit' out all the possible .muttrc variables? > Something like a command line option, so it will create > a .muttrc with all the defaults and/or empty ones? http://www.math.fu-berlin.de/~guckes/setup/muttrc.forall ## Trivia: mutt-1.2.5 has some 208 options. ## mutt-1.3.27 now has 249 options. ## mutt-1.3.28 has 249 options, too. ## Check with "grep DT_ init.h| grep -v define | sort |less" haven't tried this with mutt 1.5.0 yet... Sven
Re: .muttrc variables
David -- ...and then David Collantes said... % % Hi there! Hello! % % I am using the latest from the CVS (1.5.0i). Is there a way to have mutt % 'spit' out all the possible .muttrc variables? Something like a command line % option, so it will create a .muttrc with all the defaults and/or empty ones? Not directly, but you can find them all and even do a little parsing to spit out your own. [I take it there is no Muttrc file which lists them all like # set abort_nosubject=ask-yes # # Name: abort_nosubject # Type: quadoption # Default: ask-yes # # # If set to yes, when composing messages and no subject is given # at the subject prompt, composition will be aborted. If set to # no, composing messages with no subject given at the subject # prompt will never be aborted. # # # set abort_unmodified=yes # # Name: abort_unmodified # Type: quadoption # Default: yes # # # If set to yes, composition will automatically abort after as in the 1.3.28 tarball, then?] They are all spelled out in init.h, with their type and initial value. % % TIA and cheers, HTH & HAND % % -- % David Collantes - http://www.bus.ucf.edu/david/ % College of Business Administration, University of Central Florida % "Try not to become a man of success but rather to become a man of value." % :-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! msg26772/pgp0.pgp Description: PGP signature
.muttrc variables
Hi there! I am using the latest from the CVS (1.5.0i). Is there a way to have mutt 'spit' out all the possible .muttrc variables? Something like a command line option, so it will create a .muttrc with all the defaults and/or empty ones? TIA and cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida "Try not to become a man of success but rather to become a man of value." msg26767/pgp0.pgp Description: PGP signature
Re: push in muttrc
On 25.Mar 2002, Markus Hubig wrote: > > Oh I remember that I have an alias for mutt, so if I type in mutt it > executes "mutt -y"! Mayby this is the difference ...?! > Oh, this works fine! > But why don't you create an little Script called eg. gmsm > (GetMailStartMutt ;-) that executes getmail and starts mutt after? > I will do this, especially with Sven Guckes' argument in mind. Thank you for help, Martin
Re: push in muttrc -> automize vs interactive
On 25.Mar 2002, Sven Guckes wrote: > * Martin Hammer <[EMAIL PROTECTED]> [2002-03-25 16:14]: > > The last line of my ~/.mutt/muttrc is > > push "!/home/martin/bin/getmail\n \n" > > which should start a script fetching mails > > from my ISPs but does not work. :( > > I suggest to *not* do such things at startup in mutt - > you might regret it later, eg when you just want to > take a look at a folder but *not* download any mails. > That _is_ an argument, especially having subscribed to some mailing lists.. lg, Martin
Re: push in muttrc
Hi Martin! On Mon, 25 Mar 2002, Martin Hammer wrote: > On 25.Mar 2002, Markus Hubig wrote: > > > > Hmm, I put > > > > | push "!/home/markus/bin/test.sh\n \n" > > > > in the last line of my muttrc and it works like a charm ... > > > > I'm running Mutt 1.3.27i (2002-01-22). > > > So it is possible that it works on my machine too.. :-) > > I've found out that push works in muttrc if my mailspoolfile > /var/mail/martin is _not_ empty on startup. Mutt prints > Sorting mailbox... while executig the script. But if there is no mail > in the mailspool then push is not executed. Maybe it is executed but it > finds itself anywhere where ! (or V as in the other mail) is not bound. Oh I remember that I have an alias for mutt, so if I type in mutt it executes "mutt -y"! Mayby this is the difference ...?! > As my mailspool is usually empty before getting new mails this is not a > very effective solution for getting new mails. ;-| Oh yes not realy ... =8-) But why don't you create an little Script called eg. gmsm (GetMailStartMutt ;-) that executes getmail and starts mutt after? Just my 2¢, Markus -- [ markus hubig ] [ mail: [EMAIL PROTECTED] ] [ debian/gnu linux (sid) ] [ vorholzstrasse 6 ] [ saft: [EMAIL PROTECTED] ] [ linux 2.4.17 i686 ] [ 76131 karlsruhe ] [ tele: +049 721 6657522 ] [ reg. Linux user #204961 ] msg26068/pgp0.pgp Description: PGP signature
Re: push in muttrc -> automize vs interactive
* Martin Hammer <[EMAIL PROTECTED]> [2002-03-25 16:14]: > The last line of my ~/.mutt/muttrc is > push "!/home/martin/bin/getmail\n \n" > which should start a script fetching mails > from my ISPs but does not work. :( I suggest to *not* do such things at startup in mutt - you might regret it later, eg when you just want to take a look at a folder but *not* download any mails. Either use the builtin "fetch-mail" command ('G') or bind 'G' to start the external "fetchmail". issue when necessary. that's best. Sven
Re: push in muttrc
On 25.Mar 2002, Markus Hubig wrote: > > Hmm, I put > > | push "!/home/markus/bin/test.sh\n \n" > > in the last line of my muttrc and it works like a charm ... > > I'm running Mutt 1.3.27i (2002-01-22). > So it is possible that it works on my machine too.. :-) I've found out that push works in muttrc if my mailspoolfile /var/mail/martin is _not_ empty on startup. Mutt prints Sorting mailbox... while executig the script. But if there is no mail in the mailspool then push is not executed. Maybe it is executed but it finds itself anywhere where ! (or V as in the other mail) is not bound. As my mailspool is usually empty before getting new mails this is not a very effective solution for getting new mails. ;-| lg, Martin
Re: push in muttrc
Hi Martin! On Mon, 25 Mar 2002, Martin Hammer wrote: > The last line of my ~/.mutt/muttrc is > > push "!/home/martin/bin/getmail\n \n" > > which should start a script fetching mails from my ISPs but > does not work. :( In Mutt itself push works fine: Hmm, I put | push "!/home/markus/bin/test.sh\n \n" in the last line of my muttrc and it works like a charm ... I'm running Mutt 1.3.27i (2002-01-22). -- [ markus hubig ] [ mail: [EMAIL PROTECTED] ] [ debian/gnu linux (sid) ] [ vorholzstrasse 6 ] [ saft: [EMAIL PROTECTED] ] [ linux 2.4.17 i686 ] [ 76131 karlsruhe ] [ tele: +049 721 6657522 ] [ reg. Linux user #204961 ] msg26061/pgp0.pgp Description: PGP signature
Re: push in muttrc
On Mon, Mar 25, 2002 at 17:13:48 +0100, Martin Hammer wrote: > So is there a way to enable push in muttrc? I have push V in my .muttrc and it works. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> - 100% validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA
push in muttrc
Hi all! The last line of my ~/.mutt/muttrc is push "!/home/martin/bin/getmail\n \n" which should start a script fetching mails from my ISPs but does not work. :( In Mutt itself push works fine: :push "!/home/martin/bin/getmail\n \n" is OK. So is there a way to enable push in muttrc? (obviously there should..) Btw., it's Mutt 1.3.28i With many thanks in advance, Martin
Re: imap and imaps in one muttrc doesn't work
On Wed, Mar 20, 2002 at 04:41:29PM +0100, Manuel Hendel wrote: > Actually, I do the same. The only difference is, that it is the other > way round in my muttrc: > > imap://haupo:muell@localhost > or > imaps://imap.web.de > > The problem is, that imap://haupo:muell@localhost is not working > anymore and mutt brings an error message"SSL not available". I see. I have a similar problem: I have multiple mailboxes on localhost: imap://haupo:muell@localhost imap://virusal:muell@localhost imap://m-daemon:muell@localhost I can only open ONE, if I try to open the second (using c and typing the mailbox URL), I get errors (cannot read which, they disappear too fast) and the message "mailbox closed". Then I have to use: imaps://m-daemon:muell@localhost instead of imap://m-daemon:muell@localhost to get access 8or I have to exit mutt) -- Ralf Hildebrandt (Im Auftrag des Referat V A) [EMAIL PROTECTED] Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 ThisemailhasbeenbroughttoyoubyJOLTCola,favoredbyssysadmins,netadminsand programmerseverywhere. JOLTCola--forallthesugarandtwicethecaffine(R).
Re: imap and imaps in one muttrc doesn't work
On Wed, Mar 20, 2002 at 03:27:04PM +0100, Ralf Hildebrandt wrote: > On Wed, Mar 20, 2002 at 03:15:27PM +0100, Manuel Hendel wrote: > I ususally use: > > imaps://imap.web.de > or > imap://haupo:muell@localhost > > so where is the problem? Actually, I do the same. The only difference is, that it is the other way round in my muttrc: imap://haupo:muell@localhost or imaps://imap.web.de The problem is, that imap://haupo:muell@localhost is not working anymore and mutt brings an error message"SSL not available". manuel -- History is the version of past events that people have decided to agree upon. -Napoleon Bonaparte
Re: imap and imaps in one muttrc doesn't work
On Wed, Mar 20, 2002 at 03:15:27PM +0100, Manuel Hendel wrote: > On Wed, Mar 20, 2002 at 02:31:21PM +0100, Michael Tatge wrote: > > could you give an example of what you're trying to achieve? > > > I got more than one imap account at more than one impa server. Two of > the servers are using imaps for security reasons and one doesn't. If I > only use the imap account, everything works fine, until I add one of > the imaps accounts. It seams that mutt can't do both from one running > mutt session. I ususally use: imaps://imap.web.de or imap://haupo:muell@localhost so where is the problem? -- Ralf Hildebrandt (Im Auftrag des Referat V A) [EMAIL PROTECTED] Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 Yea, tho I walk thru the valley of the shadow of clues, I shall fear no luser, for Thou lart with me, Thy chicken and Thy manual, they comfort me.
Re: imap and imaps in one muttrc doesn't work
On Wed, Mar 20, 2002 at 02:31:21PM +0100, Michael Tatge wrote: > could you give an example of what you're trying to achieve? > I got more than one imap account at more than one impa server. Two of the servers are using imaps for security reasons and one doesn't. If I only use the imap account, everything works fine, until I add one of the imaps accounts. It seams that mutt can't do both from one running mutt session. Manuel -- Humor distorts nothing, and only false gods are laughed off their earthly pedestals. -Agnes Repplier, Points of View
Re: imap and imaps in one muttrc doesn't work
Hi, Manuel Hendel ([EMAIL PROTECTED]) muttered: > Isn't it possible to configure imap and imaps accounts in one > configfile! I tried this but mutt always says "SSL not available", > that's OK for me, I don't want SSL for that host. could you give an example of what you're trying to achieve? Michael -- I did this 'cause Linux gives me a woody. It doesn't generate revenue. (Dave '-ddt->` Taylor, announcing DOOM for Linux) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
imap and imaps in one muttrc doesn't work
Isn't it possible to configure imap and imaps accounts in one configfile! I tried this but mutt always says "SSL not available", that's OK for me, I don't want SSL for that host. Thanks for any hint, Manuel -- Theology is never any help; it is searching in a dark cellar at midnight for a black cat that isn't there. Theologians can persuade themselves of anything. -Robert A. Heinlein
Re: Optimising my muttrc - "set folder"
* Raymond A. Meijer <[EMAIL PROTECTED]> [2002-03-15 13:14]: > I need some help with my muttrc. I'm still running 1.2.5 > as I still can't get the pager to work in 1.3.27... > I have 5 main e-mail addresses: [EMAIL PROTECTED], > @x-ray.org, @imprezaturbo.org, @euronet.nl and @euro.net. > I have set up different environments through folder-hooks in my muttrc, > but not everything works correctly, for example the 'set postponed' option. > What did I do wrong and how can I make > my muttrc more readable and efficient? It's hard to say what you do wrong when you don't give a description about the "right" thing is supposed to be. ;-) > mailboxes "!" ~/Mail/imprezaturbo/in.mbx ~/Mail/spam/in.mbx You can abbreviate these using '+' which stands for $folder: set folder=~/Mail mailboxes ! +imprezaturbo/in.mbx +spam/in.mbx +x-ray/in.mbx > folder-hook . set folder=~/Mail/personal/archive > folder-hook . set postponed=~/Mail/personal/postponed.mbx > folder-hook ~/Mail/spam/. set folder=~/Mail/spam/archive > folder-hook ~/Mail/x-ray/.set folder=~/Mail/x-ray/archive > folder-hook ~/Mail/imprezaturbo/. set folder=~/Mail/imprezaturbo/archive hmm... this will change it all, of course. why do you keep changing it at all? Sven
Optimising my muttrc
Hello, I need some help with my muttrc. I'm still running 1.2.5 as I still can't get the pager to work in 1.3.27... I have 5 main e-mail addresses: [EMAIL PROTECTED], @x-ray.org, @imprezaturbo.org, @euronet.nl and @euro.net. I have set up different environments through folder-hooks in my muttrc, but not everything works correctly, for example the 'set postponed' option. What did I do wrong and how can I make my muttrc more readable and efficient? Any help is welcome.. Thanks, Ray ~/.mutt/muttrc: #-*- muttrc -*- set charset=iso-8859-15 set beep set beep_new lists iwoc@yahoogroups\.com mutt-users@mutt\.org linux@nllgg\.nl ignore x-spam macro index X "| spamassassin -r" "Report spam to Razor" mailboxes "!" ~/Mail/imprezaturbo/in.mbx ~/Mail/spam/in.mbx ~/Mail/x-ray/in.mbx set alternates=raymond@((mail.)(x-ray|psytrance|imprezaturbo).org|(euro(net.nl|.net))) my_hdr X-Registered-Linux-User: 26 my_hdr X-Operating-System: Linux/`uname -r` (`uname -m`) my_hdr X-ICQ: 2987375 folder-hook . unmy_hdr * folder-hook . reset ignore folder-hook . ignore x-spam folder-hook . set folder=~/Mail/personal/archive folder-hook . set postponed=~/Mail/personal/postponed.mbx folder-hook . my_hdr From: '"Raymond A. Meijer"' <[EMAIL PROTECTED]> folder-hook . my_hdr Reply-To: '"Raymond A. Meijer"' <[EMAIL PROTECTED]> folder-hook . set signature=~/.signature folder-hook . set hostname="psytrance.org" folder-hook . 'set sendmail="/usr/sbin/sendmail -oem -oi [EMAIL PROTECTED]"' folder-hook ~/Mail/x-ray/. set folder=~/Mail/x-ray/archive folder-hook ~/Mail/x-ray/. set postponed=~/Mail/x-ray/postponed.mbx folder-hook ~/Mail/x-ray/. my_hdr From: '"Raymond A. Meijer"' <[EMAIL PROTECTED]> folder-hook ~/Mail/x-ray/. my_hdr Reply-To: '"Raymond A. Meijer"' <[EMAIL PROTECTED]> folder-hook ~/Mail/x-ray/. set signature=~/.signature.x-ray folder-hook ~/Mail/x-ray/. set hostname="x-ray.org" folder-hook ~/Mail/x-ray/. 'set sendmail="/usr/sbin/sendmail -oem -oi [EMAIL PROTECTED]"' folder-hook ~/Mail/imprezaturbo/. set folder=~/Mail/imprezaturbo/archive folder-hook ~/Mail/imprezaturbo/. set postponed=~/Mail/imprezaturbo/postponed.mbx folder-hook ~/Mail/imprezaturbo/. my_hdr From: '"Raymond A. Meijer"' <[EMAIL PROTECTED]> folder-hook ~/Mail/imprezaturbo/. my_hdr Reply-To: '"Raymond A. Meijer"' <[EMAIL PROTECTED]> folder-hook ~/Mail/imprezaturbo/. set signature=~/.signature.imprezaturbo folder-hook ~/Mail/imprezaturbo/. set hostname="imprezaturbo.org" folder-hook ~/Mail/imprezaturbo/. 'set sendmail="/usr/sbin/sendmail -oem -oi [EMAIL PROTECTED]"' folder-hook ~/Mail/spam/. set folder=~/Mail/spam/archive folder-hook ~/Mail/spam/. unignore * --
Re: Copyrighted muttrc
* Igor Pruchanskiy ([EMAIL PROTECTED]) wrote: > # above copyright notice, this permission notice, and the following > ^ > # disclaimer appear on all copies. > ^^^ Hey, at least it's not the entire GPL COPYING file :) > I wonder if i can make my muttrc my own intellectual property and sue > anyone who will copy > > set sendmail="/usr/sbin/sendmail" > > from my ~/.muttrc :) Depends if you use copious shell stuff in your rcfiles that evil corporations might steal and make close source, or evil lusers will pass off as their own :) -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ - Put a rogue in the limelight and he will act like an honest man. -- Napoleon Bonaparte, "Maxims"
Copyrighted muttrc
I was browsing mutt section on www.dotfiles.com and came across this: http://www.dotfiles.com/files/27/189_.muttrc I do not know about you, but i find this copyright note very funny... Especially in muttrc. # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that the # above copyright notice, this permission notice, and the following ^ # disclaimer appear on all copies. ^^^ I wonder if i can make my muttrc my own intellectual property and sue anyone who will copy set sendmail="/usr/sbin/sendmail" from my ~/.muttrc :) igor -- Uptime : 38 days, 54 min msg23322/pgp0.pgp Description: PGP signature
Re: list of aliases in .muttrc
On Mon, Oct 29, 2001 at 08:23:02PM -0500, Stefan Antoni wrote: > > This overview is a nice thing when i forget an alias, > but i didn't recognize how i invoked it and i didn't > find anything in the manual about it. When mutt prompts you for the To: address, hit tab. Lance Simmons
list of aliases in .muttrc
I defined some aliases in my .muttrc . Last time i used mutt, i hit some(?) keys and mutt displayed a list of my aliases like: 1. lars 2. nin 3. ... This overview is a nice thing when i forget an alias, but i didn't recognize how i invoked it and i didn't find anything in the manual about it. Anybody knows how i re-invoke this modus? -- thx in advance, Stefan Antoni
Re: list wierdness and muttrc builder
On 27, Oct, 2001 at 12:41:13PM -0600, Rob 'Feztaa' Park wrote: > > Other pains are when people misconfigure procmail recipes > > and then their mail starts bouncing too. > > Procmail can make mail bounce? I thought it would just send mail to the > bit bucket if it was misconfigured... It only does this if it's invoked by the MTA, if you pipe mail to it from fetchmail it'll try hard not to waste mail, but if it has to ... well, /dev/null. > > Unfortunately when list traffic is high, this causes a hugh > > burden on the list-admin(s) who has a real job not just looking > > after the list ;) And to avoid that you SHOULD make fetchmail deliver mail to procmail, not reinject via SMTP. And of course make a spotless ~/.procmail! :-) Have a nice day Morten -- Morten Liebach <[EMAIL PROTECTED]> PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD796A4EB https://pc89225.stofanet.dk/ || http://pc89225.stofanet.dk/
Re: list wierdness and muttrc builder
On Sat, Oct 27, 2001 at 02:18:13PM +0100, Steve Kennedy (dis)graced my inbox with: > On Fri, Oct 26, 2001 at 06:10:21PM -0600, Rob 'Feztaa' Park wrote: > > > Ah, oops. I must have misunderstood :) > > Well, the gist I got from the subscription email that I got sent when I > > joined, it only takes one bounced message for the list to unsubscribe > > me. I guess if my mail server went down temporarily... Stupid ISP, now I > > have to phone and bitch :) > > It's a semi manual process, if mails start bouncing, then they > will get unsub'ed after a while. Ah, I thought it was automatic after one bounce. > The biggest pain is Hotmail, which on occassion will start > dropping lots of email, then go back to "normal" service. Lol. Strangely, I am not surprized. > Other pains are when people misconfigure procmail recipes > and then their mail starts bouncing too. Procmail can make mail bounce? I thought it would just send mail to the bit bucket if it was misconfigured... > Unfortunately when list traffic is high, this causes a hugh > burden on the list-admin(s) who has a real job not just looking > after the list ;) Hehe, too true :) -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- I accidentally divided by zero, and my paper burst into flames.
Re: .muttrc screwed
blah. nevermind. i figured it out. * shock ([EMAIL PROTECTED]) babbled: > well, i've finally managed to screw up my .muttrc. i've only been using mutt for a >day or so now, so please bear with me. -- ) ,_),_) (-(__ |_ _ _ |/ ) | |(_)(_ |\ ( \_, ___ | http://www.exitwound.org : hard to find | ___
.muttrc screwed
well, i've finally managed to screw up my .muttrc. i've only been using mutt for a day or so now, so please bear with me. i had it set up so that i could hit the left-arrow key to take me to my list of mail folders. following is the applicable section: bind pagerprevious-line bind pager next-line bind pager exit bind pager view-attachments bind attach exit bind attachview-attach bind index display-message #macro index "c?" bind browser select-entry bind browserexit but it doesn't work. when i fire up mutt, it gives me a blank screen, and the only way i can get to my list of mail directories is c?. i'm loading mailboxes thusly: mailboxes `for file in ~/mail/*; do echo -n "/$(basename $file) "; done` hitting the left arrow key just isn't working. can anyone give me some insight into what i'm doing wrong? -- ) ,_),_) (-(__ |_ _ _ |/ ) | |(_)(_ |\ ( \_, ___ | http://www.exitwound.org : hard to find | ___
Re: list wierdness and muttrc builder
On Fri, Oct 26, 2001 at 06:10:21PM -0600, Rob 'Feztaa' Park wrote: > Ah, oops. I must have misunderstood :) > Well, the gist I got from the subscription email that I got sent when I > joined, it only takes one bounced message for the list to unsubscribe > me. I guess if my mail server went down temporarily... Stupid ISP, now I > have to phone and bitch :) It's a semi manual process, if mails start bouncing, then they will get unsub'ed after a while. Unfortunately it's not easy to tell always whether it's a transitory failure, or something more permanent. The biggest pain is Hotmail, which on occassion will start dropping lots of email, then go back to "normal" service. Other pains are when people misconfigure procmail recipes and then their mail starts bouncing too. Unfortunately when list traffic is high, this causes a hugh burden on the list-admin(s) who has a real job not just looking after the list ;) Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only]
Re: list wierdness and muttrc builder
On Fri, Oct 26, 2001 at 11:04:36AM -0400, David T-G (dis)graced my inbox with: > % > For some reason I was unsubed from this list without warning. Anyone > % > know why that would be? > % > % Happened to me last weekend. David T-G mentioned that if the list is > % very active, sometimes it screws up and unsubs people without warning. > > No, no, no... I hypothesized that the list software counts a threshold > number of bounces before sending out a probe before unsubbing you, and > that in the time of lots of activity the count would go up quickly. I > *never* intended to say that it was the fault of the list software that > it got busy and then dropped people, but that some short glitch in the > 'net or in your delivery might not have time to be righted before the > count got high enough to trigger. Ah, oops. I must have misunderstood :) Well, the gist I got from the subscription email that I got sent when I joined, it only takes one bounced message for the list to unsubscribe me. I guess if my mail server went down temporarily... Stupid ISP, now I have to phone and bitch :) -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- "What would I do if I had only six months left to live? I'd type faster." -- Isaac Asimov PGP signature
Re: list wierdness and muttrc builder
Rob, et al -- ...and then Rob 'Feztaa' Park said... % On Wed, Oct 24, 2001 at 11:06:48AM -0700, Carl B . Constantine (dis)graced my inbox with: % > For some reason I was unsubed from this list without warning. Anyone % > know why that would be? % % Happened to me last weekend. David T-G mentioned that if the list is % very active, sometimes it screws up and unsubs people without warning. No, no, no... I hypothesized that the list software counts a threshold number of bounces before sending out a probe before unsubbing you, and that in the time of lots of activity the count would go up quickly. I *never* intended to say that it was the fault of the list software that it got busy and then dropped people, but that some short glitch in the 'net or in your delivery might not have time to be righted before the count got high enough to trigger. :-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! PGP signature
Re: list wierdness and muttrc builder
On Wed, Oct 24, 2001 at 11:06:48AM -0700, Carl B . Constantine (dis)graced my inbox with: > For some reason I was unsubed from this list without warning. Anyone > know why that would be? Happened to me last weekend. David T-G mentioned that if the list is very active, sometimes it screws up and unsubs people without warning. Remember when you got your confirmation message saying that any email addresses that bounce will be unsubbed? Well, I guess that when the list is busy, mail to legit addresses bounces and gets unsubbed :) -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- "Who the hell wants to hear actors talk?" -- H.M. Warner, Warner Brothers, 1927
list wierdness and muttrc builder
For some reason I was unsubed from this list without warning. Anyone know why that would be? Anyway, according to http://mutt.netliberte.org, the muttrc builder code is under the GPL. I thought at one point, he had a link to download the code but that seems to have vanished. does anyone have an archive of his code? I'd like to look at it to do a similar project unrelated to mutt and I like how he handles things. Thanks. -- Carl B. Constantine University of Victoria Programmer Analyst http://www.uvic.ca UNIX System Administrator Victoria, BC, Canada [EMAIL PROTECTED]
Re: conditional options in .muttrc
On Fri, Oct 19, 2001 at 12:37:44AM -0400, David T-G wrote: > > Not really -- a mutt scripting language has been discussed many times > before, and may actually come to fruition one day -- but you can > reference shell environment variables in your muttrc file. At the very > least you could have your main muttrc include a > > source $HOME/.mutt/muttrc-$MACHNAME > > where you set MACHNAME in your .profile or .login; you might even be able > to directly use > > source $HOME/.mutt/muttrc-`uname -n` > > and skip the env var (but then run the uname command every time you read > your muttrc; you may be obsessive enough, as am I, to want to avoid that > extra few microseconds ;-) :) Ok, thanks. That should work. Mike -- Michael P. Soulier <[EMAIL PROTECTED]>, GnuPG pub key: 5BC8BE08 "Pretty soon, massive bloat is the industry standard and everyone is using huge, buggy programs not even their developers can love." -Eric S. Raymond, The Art of Unix Programming PGP signature
Re: conditional options in .muttrc
Michael -- ...and then Michael P. Soulier said... % Hey people. % % I'm mounting the same home directory on several *nix boxes at work, and % there are a few options in my .muttrc that I'd like to be set depending on my % platform. I can take the output of a uname -s in a script and control most % options that way, but is there a built-in way for conditional options in my % .muttrc? Not really -- a mutt scripting language has been discussed many times before, and may actually come to fruition one day -- but you can reference shell environment variables in your muttrc file. At the very least you could have your main muttrc include a source $HOME/.mutt/muttrc-$MACHNAME where you set MACHNAME in your .profile or .login; you might even be able to directly use source $HOME/.mutt/muttrc-`uname -n` and skip the env var (but then run the uname command every time you read your muttrc; you may be obsessive enough, as am I, to want to avoid that extra few microseconds ;-) % % Thanks, HTH & HAND % % Mike % % -- % Michael P. Soulier <[EMAIL PROTECTED]>, GnuPG pub key: 5BC8BE08 % "Pretty soon, massive bloat is the industry standard and everyone is using % huge, buggy programs not even their developers can love." % -Eric S. Raymond, The Art of Unix Programming :-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! PGP signature
conditional options in .muttrc
Hey people. I'm mounting the same home directory on several *nix boxes at work, and there are a few options in my .muttrc that I'd like to be set depending on my platform. I can take the output of a uname -s in a script and control most options that way, but is there a built-in way for conditional options in my .muttrc? Thanks, Mike -- Michael P. Soulier <[EMAIL PROTECTED]>, GnuPG pub key: 5BC8BE08 "Pretty soon, massive bloat is the industry standard and everyone is using huge, buggy programs not even their developers can love." -Eric S. Raymond, The Art of Unix Programming PGP signature
Paths not read from muttrc?
I've got a with some pathes that I set in my muttrc being ignored. A while back I wrote about print_command not being set correctly. That problem could be worked around by manually setting print_command after mutt had started, which isn't a big deal since I don't print many emails. Now, I've found a similar problem with mailcap_path - it is always set to ".mailcap:". This also can be worked around by always running mutt from my home directory, but it is annoying. I know that my muttrc is being read, since other variables are set correctly. And even some paths are set correctly. For instance if I've set alias_file to some arbitrary filename in my muttrc, the correct value is set. Here's an excerpt from my muttrc: set mailcap_path = ~/.mailcap set print_command = '/usr/local/bin/enscript -2r' And some output from set from inside of mutt: :set mailcap_path mailcap_path=".mailcap:" :set print_command print_command="/usr/ucb/lpr" And from mutt -v: System: SunOS 5.7 [using ncurses 4.2] Compile options: -DOMAIN +DEBUG -HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE +USE_FCNTL -USE_FLOCK -USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV +ICONV_NONTRANS +HAVE_GETSID -HAVE_GETADDRINFO ISPELL="/usr/local/bin/ispell" SENDMAIL="/usr/lib/sendmail" MAILPATH="/var/mail" PKGDATADIR="/home/crumley/local/share/mutt" SYSCONFDIR="/home/crumley/local/etc" EXECSHELL="/bin/sh" -MIXMASTER Any ideas what could be going on? Thanks, Jim -- Jim Crumley | [EMAIL PROTECTED] | Work: 612 624-6804 or -0378 |
Re: muttrc
On 2001-08-30 15:27:08 +0100, Ailbhe Leamy wrote: >Now *that's* service. Thanks. >"but all free software is so unreliable!" "Shyeah. Right." Hey, I can also be horribly slow in applying patches and fixing things. You were just lucky. :-> -- Thomas Roesslerhttp://log.does-not-exist.org/
Re: muttrc
On (30/08/01 14:55), Thomas Roessler wrote: > On 2001-08-30 10:43:02 +0100, Ailbhe Leamy wrote: > > >Ah. Thank you. I find stuff stored in /usr/doc so much less > >conveneitn than stuff in manpages that I forgot it was there. > > I've fixed in the man page. Now *that's* service. Thanks. Ailbhe "but all free software is so unreliable!" "Shyeah. Right." -- Homepage: http://ailbhe.ossifrage.net/
Re: muttrc
On 2001-08-30 10:43:02 +0100, Ailbhe Leamy wrote: >Ah. Thank you. I find stuff stored in /usr/doc so much less >conveneitn than stuff in manpages that I forgot it was there. I've fixed in the man page. -- Thomas Roesslerhttp://log.does-not-exist.org/
Re: muttrc
Am Don, 30 Aug 2001, schrieb Ailbhe Leamy: > On (29/08/01 19:43), Christoph Maurer wrote: > > > Am Mit, 29 Aug 2001, schrieb Ailbhe Leamy: > > > > > OK, I may be being stupid, but mutt seems to recognise ~/.muttrc > > > _and_ ~/.mutt/muttrc > > > > Of course, if the manpage does know... where? > > > > > > It is explicitly said in the mutt user manual, section 3 > > "Configuration" > > Ah. Thank you. I find stuff stored in /usr/doc so much less conveneitn > than stuff in manpages that I forgot it was there. In general you are right. But I found the mutt user manual very helpful in the past and especially when starting with mutt, so I mapped my key to display it. That makes it easy to access the manual. Christoph -- Christoph Maurer - Paul-Röntgen-Straße 7 - D - 52072 Aachen mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook
Re: muttrc
On (29/08/01 19:43), Christoph Maurer wrote: > Am Mit, 29 Aug 2001, schrieb Ailbhe Leamy: > > > OK, I may be being stupid, but mutt seems to recognise ~/.muttrc > > _and_ ~/.mutt/muttrc > > Of course, if the manpage does know... where? > > > It is explicitly said in the mutt user manual, section 3 > "Configuration" Ah. Thank you. I find stuff stored in /usr/doc so much less conveneitn than stuff in manpages that I forgot it was there. So, a little light reading, then... Ailbhe -- Homepage: http://ailbhe.ossifrage.net/
Re: muttrc
Am Mit, 29 Aug 2001, schrieb Ailbhe Leamy: > OK, I may be being stupid, but mutt seems to recognise > ~/.muttrc _and_ > ~/.mutt/muttrc > > ... but the man page doesn't mention this. Gah. Why not? I found out > accidentally, and it's very useful to me. > > Of course, if the manpage does know... where? > It is explicitly said in the mutt user manual, section 3 "Configuration" Christoph -- Christoph Maurer - Paul-Röntgen-Straße 7 - D - 52072 Aachen mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook
muttrc
OK, I may be being stupid, but mutt seems to recognise ~/.muttrc _and_ ~/.mutt/muttrc ... but the man page doesn't mention this. Gah. Why not? I found out accidentally, and it's very useful to me. Of course, if the manpage does know... where? Ailbhe -- Homepage: http://ailbhe.ossifrage.net/
Re: Evaluation of shell commands in .muttrc
On Wed, Jul 11, 2001 at 02:21:52PM +0100, Lars Hecking wrote: > > Insert > > send-hook . 'unmy_hdr X-BOFH-Excuse:' > > before the one below. See section 4.4 Using Hooks in TFM. Um, yeah. That works. Thanks. -- [EMAIL PROTECTED] http://www.mathie.cx/~graeme/
Re: Evaluation of shell commands in .muttrc
> The header stays the same for the entire mutt session. I thought to > myself that perhaps the my_hdr was only being evaluated once, so I tried > the following instead: Insert send-hook . 'unmy_hdr X-BOFH-Excuse:' before the one below. See section 4.4 Using Hooks in TFM. > send-hook . "my_hdr X-BOFH-Excuse: `fortune -n 80 -s bofh-excuses | tail -1`"
Evaluation of shell commands in .muttrc
As far as I can tell, anything in backticks inside .muttrc is evaluated when .muttrc is first read. I was wondering if it is possible to have 'lazy evaluation' instead -- ie the shell command is evaluated when the variable is referenced. The reason for this is that I've an extra header as follows: my_hdr X-BOFH-Excuse: `fortune -n 80 -s bofh-excuses | tail -1` The header stays the same for the entire mutt session. I thought to myself that perhaps the my_hdr was only being evaluated once, so I tried the following instead: send-hook . "my_hdr X-BOFH-Excuse: `fortune -n 80 -s bofh-excuses | tail -1`" But that has the same effect, which leads me to believe that the shell command in the backticks is only evaluated once. The obvious solution, I guess, is to modify the $editor variable to insert the header when I enter vim, but that fails if I re-edit the file. Any thoughts? -- [EMAIL PROTECTED] http://www.mathie.cx/~graeme/
.muttrc
Hi all. Is there any way to save readed messages in the correct 'save-hook' folder without having to press 's' key and comfirm save? thanks --yapedu
Re: Mutt failes to use cram5 password from .muttrc properly
thats it, it worked. i only tried " " ;( - Original Message - From: "Brendan Cully" <[EMAIL PROTECTED]> To: "Mutt Users' List" <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 4:19 PM Subject: Re: Mutt failes to use cram5 password from .muttrc properly > On Friday, 22 June 2001 at 16:17, Ilya wrote: > > Hi, i have changed my password, now it containe some SHIFT-key characters > > and mutt cant use the .muttrc file anymore, each time i am being asked for > > CRAM key to be put in, i put exactly same cram as i have set in > > imap_cramkey > > (actually even pasting it) and everything works fine. it authenticates > > through CRAM and loads mailbox. but no matter what i set it in .muttrc - it > > doesnt go through > > I use Mutt 1.2.5i (2000-07-28) on FreeBSD with Cyrus IMAP > > Sounds like a quoting problem. Try putting it in ''s. >
Mutt failes to use cram5 password from .muttrc properly
Hi, i have changed my password, now it containe some SHIFT-key characters and mutt cant use the .muttrc file anymore, each time i am being asked for CRAM key to be put in, i put exactly same cram as i have set in imap_cramkey (actually even pasting it) and everything works fine. it authenticates through CRAM and loads mailbox. but no matter what i set it in .muttrc - it doesnt go through I use Mutt 1.2.5i (2000-07-28) on FreeBSD with Cyrus IMAP
Re: Re-read muttrc?
On Wed, Jun 13, 2001 at 11:18:55AM -0500, Drew Raines ([EMAIL PROTECTED]) said: > > > Is there anyway to restart mutt or have it reread the muttrc within the > program? > > -- > Drew :source .muttrc caveat: this won't undefine things you've previously defined (aliases, send-hooks, etc.) -- Jim Toth [EMAIL PROTECTED]
Re: Re-read muttrc?
On Wed, Jun 13, 2001 at 11:18:55AM -0500, Drew Raines wrote: > Is there anyway to restart mutt or have it reread the muttrc within the > program? if you put: reset all unhook * at the top of your ~/.muttrc. You can just do this from within Mutt: :source ~/.muttrc and that should put you in the same state you were as when Mutt first starts up. me
Re-read muttrc?
Is there anyway to restart mutt or have it reread the muttrc within the program? -- Drew
Re: POP3 retrieval in .muttrc
On Fri, Jun 08, 2001 at 01:19:14PM -0500, Scott Davis wrote: > Ok... all my POP3 stuff works great. > > I recall there being a .muttrc config setting to tell it to check for POP3 > mail on it's own every X minutes. Am I wrong, or does this setting > actually exist? I didn't find it in any other .muttrc's I found online. > Thanks. Before you go any further, here's a great resource, which I'm sure you'll find invaluable. It's a macro for your 'muttrc' file. Knowing and using this macro makes you an official member of the Mutt family. Here goes macro generic "!less /usr/doc/mutt/manual.txt\n" "Mutt Manual" macro index "!less /usr/doc/mutt/manual.txt\n" "Mutt Manual" macro pager "!less /usr/doc/mutt/manual.txt\n" "Mutt Manual" Cut the above three macros and paste them into your 'muttrc' file. I guarantee! -- you'll be amazed at what those suckers can do for you. No shit! -- -duke Calgary, Alberta, Canada
POP3 retrieval in .muttrc
Ok... all my POP3 stuff works great. I recall there being a .muttrc config setting to tell it to check for POP3 mail on it's own every X minutes. Am I wrong, or does this setting actually exist? I didn't find it in any other .muttrc's I found online. Thanks. :// sd
Re: Sven's muttrc-Solved!
* Dale Morris <[EMAIL PROTECTED]> [010519 22:49]: > I've been playing with Sven's bigrc file and it's great! I have one > problem that's driving me nuts, though; when I try to edit the > muttrc.forall file with vim (also using his vimrc.forall) I get the > message: > > "muttrc.forall" 1180L, 42084C > Editing Messages! > Hit ENTER or type command to continue > > I've looked and searched everywhere to find where I can disable this > so vim will remember where I left of when last editing a file, but I > can't find it. > > I'm using the following files > .vimrc > vimrc.forall > .muttrc > muttrc.forall > mutt.personal > > Any suggestions? > > thanks! I found the switch, it was a test header in muttrc.personal.
Re: configuring headers in Muttrc/ssmtp.conf
On 2001.05.20, in <[EMAIL PROTECTED]>, "Joane Lispton" <[EMAIL PROTECTED]> wrote: > > >What I would like to do is have the mail coming from > >[EMAIL PROTECTED] instead of [EMAIL PROTECTED] > >I figure the place to do this is either in Muttrc or ssmtp.conf. > > Just set > > host= beechtree.its.com > > in your /etc/ssmtp/ssmtp.conf. > > If you ever need a different user name in your email address (e.g., your > username is kmastin but you wish to use the address [EMAIL PROTECTED]), > what you need is to add a line to /etc/ssmtp/revaliases. The comment on the > top of that file shows you how you can do it: > > local_account:outgoing_address:mailhub This is something that's always bugged me about ssmtp. I'm root@domain, where the domain has thousands of unix machines that I don't operate. People setting up ssmtp *usually* don't take care to make exemptions for root and other system accounts when they set up with "host = domain". This causes no end of trouble. Please, if you use ssmtp with host masquerading in such an environment, make sure to deal appropriately with all system accounts that might send mail. You probably should exempt any account that was in your passwd file before you started adding users. I'd like to see ssmtp have some way of handling this for the most common cases by default. I don't use it, though, so I'm not sure what the right way to do it would be. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Sven's muttrc
I've been playing with Sven's bigrc file and it's great! I have one problem that's driving me nuts, though; when I try to edit the muttrc.forall file with vim (also using his vimrc.forall) I get the message: "muttrc.forall" 1180L, 42084C Editing Messages! Hit ENTER or type command to continue I've looked and searched everywhere to find where I can disable this so vim will remember where I left of when last editing a file, but I can't find it. I'm using the following files .vimrc vimrc.forall .muttrc muttrc.forall mutt.personal Any suggestions? thanks!
Re: Ultimate .muttrc
On Sat, May 19, 2001 at 03:50:09PM +0200, Erik van der Meulen wrote: > Hi, I have seen these realy nice and well documented .muttrc files, that > list all options and explain too. My own file has grown to become such a > mess that I hardly manage to find my way around. If someone can point to > such a nice version, I intend to rebuilt my own file on that template. I > use Mutt 1.2.5 http://www.davep.org/mutt/muttrc/> will give you an idea about how I manage my ~/.muttrc. I wouldn't claim it's the "ultimate" but I like to think it's a useful approach to keeping a non-trivial muttrc file manageable. -- Dave Pearson: | mutt.octet.filter - autoview octet-streams http://www.davep.org/ | mutt.vcard.filter - autoview simple vcards Mutt: | muttrc2html - muttrc -> HTML utility http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode
Re: configuring headers in Muttrc/ssmtp.conf
On Sat, May 19, 2001 at 11:24:39AM -0400, Keith Mastin wrote: > What I would like to do is have the mail coming from > [EMAIL PROTECTED] instead of > [EMAIL PROTECTED] I figure the place to do this > is either in Muttrc or ssmtp.conf. I haven't been following this thread, but... Your envelope should be handled by Sendmail's MASQUERADE option. But, Mutt's doc says set envelope_from will write the envelope using From: header field. Basic problem of versus is that your machine thinks that it is the first form not the second. Why not edit /etc/HOSTNAME? > > ### Header from Test message to self at other address ### > From [EMAIL PROTECTED] Sat May 19 11:04:20 2001 > Return-Path: <[EMAIL PROTECTED]> > From: Keith Mastin <[EMAIL PROTECTED]> -- William Park, Open Geometry Consulting, <[EMAIL PROTECTED]> -- Mississauga, Ontario, Canada -- 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc
Re: configuring headers in Muttrc/ssmtp.conf
Using a large mallet, Keith Mastin whacked out: > What I would like to do is have the mail coming from > [EMAIL PROTECTED] instead of [EMAIL PROTECTED] I > figure the place to do this is either in Muttrc or ssmtp.conf. Set the from header and put set envelope_from in your muttrc [for ex: see mine at http://www.hserus.net/muttrc.html ...] -- Suresh Ramasubramanian + Lumber Cartel India - mallet @ cluestick.org + Wallopus Malletus Indigenensis EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
Re: Ultimate .muttrc
On Sat, May 19, 2001 at 03:50:09PM +0200, Erik van der Meulen wrote: > Hi, I have seen these realy nice and well documented .muttrc files, that > list all options and explain too. My own file has grown to become such a > mess that I hardly manage to find my way around. If someone can point to > such a nice version, I intend to rebuilt my own file on that template. I > use Mutt 1.2.5 Mutt-1.2.5 comes with 'Muttrc' which has a lots of doc. -- William Park, Open Geometry Consulting, <[EMAIL PROTECTED]> 8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc
configuring headers in Muttrc/ssmtp.conf
Thanks to your responses on this list, ssmpt is now running. I still haven't got the headers configured, which is what I wanted to do by installing ssmtp. I have a small network, with the domainname of beechtree-its (no dot-com on the internal network). This is because Windows machines will not take a domainname longer than 15 characters. I sent a simple test message to myself, and the message is coming from workstation.beechtree-its. This is pretty much unacceptable. (security as well as functionality). I put the header from that test message below if it is needed. What I would like to do is have the mail coming from [EMAIL PROTECTED] instead of [EMAIL PROTECTED] I figure the place to do this is either in Muttrc or ssmtp.conf. Any help is much appreciated. TIA ### Header from Test message to self at other address ### >From [EMAIL PROTECTED] Sat May 19 11:04:20 2001 Return-Path: <[EMAIL PROTECTED]> Received: from localhost (IDENT:kmastin@localhost [127.0.0.1]) by workstation.beechtree-its (8.11.0/8.11.0) with ESMTP id f4hf4K694920 for ; Sat, 19 May 2001 11:04:20 -0400 Received: from maildrop.velocet.ca [ip address] by localhost with POP3 (fetchmail-version) for kmastin@localhost (single-drop); Sat, 19 May 2001 11:04:20 -0400 +(EDT) Received: by spitfire.velocet.net (mbox kmastin) (with Cubic Circle's cucipop (version/datestamp) Sat May 19 11:05:30 2001) X-From_: [EMAIL PROTECTED] Sat May 19 11:05:15 2001 Delivered-To: [EMAIL PROTECTED] Received: from workstation.beechtree-its (H32.C194.tor.velocet.net +[216.138.194.32]) by spitfire.velocet.net (Postfix) with ESMTP id 84583619A0ED for <[EMAIL PROTECTED]>; Sat, 19 May 2001 11:05:14 -0400 (EDT) Received: (from kmastin@localhost) by workstation.beechtree-its (8.11.0/8.11.0) id f4JF43e01605 for [EMAIL PROTECTED]; Sat, 19 May 2001 11:04:03 -0400 Date: Sat, 19 May 2001 11:04:02 -0400 From: Keith Mastin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: test Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: [EMAIL PROTECTED] -- Keith Mastin [EMAIL PROTECTED] BeechTree Information Technology Services Inc. 137 Laird DriveM4G 3V5Tel(416)696-6070 http://www.beechtree-its.com
Re: Ultimate .muttrc
Using a large mallet, Erik van der Meulen whacked out: > Hi, I have seen these realy nice and well documented .muttrc files, that > list all options and explain too. My own file has grown to become such a > mess that I hardly manage to find my way around. If someone can point to > such a nice version, I intend to rebuilt my own file on that template. I > use Mutt 1.2.5 Try Roland Rosenfeld's .muttrc - or take your pick of the other muttrcs at http://www.mutt.org -- Suresh Ramasubramanian + Lumber Cartel India - mallet @ cluestick.org + Wallopus Malletus Indigenensis EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
Ultimate .muttrc
Hi, I have seen these realy nice and well documented .muttrc files, that list all options and explain too. My own file has grown to become such a mess that I hardly manage to find my way around. If someone can point to such a nice version, I intend to rebuilt my own file on that template. I use Mutt 1.2.5 Thanks! -- Erik van der Meulen <[EMAIL PROTECTED]>
score syntax and escaping in .muttrc
Hello, After five years of intensive mutt use I finally started using scoring (especially since applying that wonderful nntp patch ;). I only have a small problem with the escaping rules and syntax of the "score" commands in my .muttc: folder-hook . unscore ## assign a positive score to all messages folder-hook . score ~A 10 ## kill lame posts from mailing lists folder-hook =[a-z] score ~s'(newbie\\|(un)?subscribe\\|no\\\ subject\\|your\\\ mail)' -10 folder-hook =[a-z] score ~s'^\\\ *(test\\|(re:\\\ )?help\\|)\\\ *$' -10 1) After trial and error I finally understood that spaces must be escaped by three (!) backslashes. Is there a better way? I tried using "" but then mutt complains about "unmatched ( or \" 2) How can I cure the leaning-toothpick syndrome in these recipes? 3) Also I couldn't manage to AND or OR together several pattern matches in one score argument, mutt complains of "score: too many arguments" All in all I'd like to better understand how quoting works in the .muttrc. 4) When trying to match folders from my ~/Mail directory starting with a lowercase alphabetic character, is this the proper way? folder-hook =[a-z] It seems the match is case insensitive, but [:lower:] doesn't work there. Thanks in advance for your help, cheers, -- > > Now John, let's keep it all in perspective: ALTER TABLE / ADD CONSTRAINT > > not working isn't going to cost you your job or anything, is it? > I've taken my dried frog pills and I'm feeling much better :-) Yeah, aren't they wonderful? I'm worried about the worldwide depletion of the amphibian populations, though. ;-)
Emacs mode to edit .muttrc
Hello, I've written an emacs mode to edit muttrc files. It can be usefull at least to highlight syntax. It is available at: http://home.earthlink.net/~lpelecq/mutt/muttrc-mode.html I hope this can help. Any comments are welcome. -- Laurent Pelecq <[EMAIL PROTECTED]>
Re: Emacs configuration in .muttrc
On Sat, Nov 25, 2000 at 05:09:16PM +0100, Gian Piero Ascenso wrote: > Hi! > > I'm a new mutt 1.2.5i user and I need some help > to configure Emacs as my editor. Actually it works fine, > but when I have just to write the Subject and nothing else > (as when subscribing to a mail-list) I hit ^X^S then ^X^C > to exit Emacs and the message is aborted. My current > .muttrc line for the editor has: > > set editor="emacs -nw" > > What'd I do? Try this: set abort_unmodified=no -- MfG Waldemar Brodkorb Linux rulez!
Re: Emacs configuration in .muttrc
On Sat, Nov 25, 2000 at 05:09:16PM +0100, Gian Piero Ascenso ([EMAIL PROTECTED]) wrote: > Hi! > > I'm a new mutt 1.2.5i user and I need some help > to configure Emacs as my editor. Actually it works fine, > but when I have just to write the Subject and nothing else > (as when subscribing to a mail-list) I hit ^X^S then ^X^C > to exit Emacs and the message is aborted. My current > .muttrc line for the editor has: > > set editor="emacs -nw" > > What'd I do? Nothing much. :-) What you did was to allow the editor to start and finish without changing the file's modification time, which Mutt treats as an indication that you didn't actually write a message. I find that this behavior is usually accurate for me, so I don't know how to disable it, but for one *particular* message, all you need to do is make some change to the message body such that emacs can save the message -- typing a letter and then deleting the letter will do. -Rich -- -- Rich Lafferty --- Sysadmin/Programmer, Instructional and Information Technology Services Concordia University, Montreal, QC (514) 848-7625 - [EMAIL PROTECTED] --
Emacs configuration in .muttrc
Hi! I'm a new mutt 1.2.5i user and I need some help to configure Emacs as my editor. Actually it works fine, but when I have just to write the Subject and nothing else (as when subscribing to a mail-list) I hit ^X^S then ^X^C to exit Emacs and the message is aborted. My current .muttrc line for the editor has: set editor="emacs -nw" What'd I do? -- Gian Piero
.muttrc etc
Hi all, Im new to the list but have a pretty simple help need. Ive been told its possible to setup a method of +identity for mailing lists. There is only one in particular in mind, but basically +when I receive mail from [EMAIL PROTECTED] I would like the from address/name to change to something +pre-defined when i reply to the list. +I was looking over the .muttrc file and found the following: # Change settings based upon message recipient # # send-hook [!] # # is executed when sending mail to an address matching #send-hook mutt- 'set signature=~/.sigmutt; my_hdr From: Mutt User ' I wasnt sure of the syntax of this or if this is even the section i need to focus on. Can someone help me to set this +so when I reply to the mailing list, my name and email is something else I specify? +Thank you kindly! -Ethan
Re: Another question for the .muttrc gods
On Thu, Nov 16, 2000 at 11:23:01AM -0600, Goblin wrote: > Ok, so now I have the multiline commands thing working for > a singular send-hook, like follows. > > send-hook '~t @domain.com$' "set signature=~/.sig_domain ; \ > my_hdr From: User Name <[EMAIL PROTECTED]>" > > Now, I'd like to have two additional capabilities: > > 1. Define a macro for doing the multiple commands in the >send-hook instead of the way it's done now. What do you mean? > 2. Be able to match the ~t for multiple domains on the >same line. How about using '~t @(a.com|y.com)$' Regular expressions are your friends. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org Maslow's Maxim: If the only tool you have is a hammer, you treat everything like a nail.
Another question for the .muttrc gods
Ok, so now I have the multiline commands thing working for a singular send-hook, like follows. send-hook '~t @domain.com$' "set signature=~/.sig_domain ; \ my_hdr From: User Name <[EMAIL PROTECTED]>" Now, I'd like to have two additional capabilities: 1. Define a macro for doing the multiple commands in the send-hook instead of the way it's done now. 2. Be able to match the ~t for multiple domains on the same line. #1, of course, is the most important, as I intend on using ~/.sig_domain for many dissimilar domains too. (let's say domain.com is my business, and I'd like to set my .sig accordingly when emailing any of my clients. Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
Re: Muttrc, IMAP errors over SSH
1) Apologies for the lack of line wraps; I forgot to turn on auto-fill-mode in Emacs. 2) You were exactly right. An evil, old version of mutt in /usr/bin, which apparently is prepended to my path only when I ssh into my box, not telnet. I'll have to look into that. It always seems to be the simple things that trip me up. Thanks for the quick catch, and the patience to reply. Cheers! B- On Sat, Nov 11, 2000 at 02:18:04PM -0500, Brendan Cully wrote: > On Saturday, 11 November 2000 at 13:59, Brian Stearns wrote: > > > When I telnet into my home machine, I run mutt from the command line. > > It comes up immediately, automatically connects to my IMAP server, and > > allows me to browse my IMAP folders. When I SSH into my machine, > > running mutt from the command line results in a long series of .muttrc > > errors (mostly regarding my PGP commands, which some other errors > > mixed in). I then am told "Secure login is unavailable. Use cleartext > > login? ([n]/y):". Finally, when I answer "y", when I attempt to > > change folders (by pressing "c"), and then attempt to browse my > > folders (by pressing "?"), I get this message: "IMAP folder browsing > > is not currently supported". > > 1. Please wrap your text! > 2. These are very clear signs that you aren't running the same version >of mutt in both cases. You must have another binary lying >around. Do the results of 'which mutt' match up under telnet vs >ssh? You say the environment is the same, but I have a feeling your >PATHs are different. > > -Brendan > > -- > Don't make Godzilla mad! -- Brian Stearns ([EMAIL PROTECTED]) http://chiastic.net/thppt/
Re: Muttrc, IMAP errors over SSH
* Brian Stearns <[EMAIL PROTECTED]> [11/11/00, 13:59:18]: > I've configured OpenSSH at home, and I'm using PuTTY at work to establish > a secure terminal session from work to home. Yet again, works great. It's not a PuTTY issue. I use it at work and it works :) > Finallly, I thought perhaps that this was some strange interaction I'm > seeing with PuTTY. However, if I use PuTTY to SSH into my box, then > telnet to localhost from the same PuTTY terminal, the problem goes away. Brendan's idea seems the right one.. HTH Kai -- Kai Blin Webmasterof http://www.uni-tuebingen.de/uni/thm/molgen/ Univ. of Tuebingen Inst. of Human Genetics fon +49-7071-2974890 Wilhelmstrasse 27 Dept. of Molecular Genetics fax +49-7071-295233 D-72074 Tuebingen Do molecular biologists wear designer genes?
Re: Muttrc, IMAP errors over SSH
On Saturday, 11 November 2000 at 13:59, Brian Stearns wrote: > When I telnet into my home machine, I run mutt from the command line. > It comes up immediately, automatically connects to my IMAP server, and > allows me to browse my IMAP folders. When I SSH into my machine, > running mutt from the command line results in a long series of .muttrc > errors (mostly regarding my PGP commands, which some other errors > mixed in). I then am told "Secure login is unavailable. Use cleartext > login? ([n]/y):". Finally, when I answer "y", when I attempt to > change folders (by pressing "c"), and then attempt to browse my > folders (by pressing "?"), I get this message: "IMAP folder browsing > is not currently supported". 1. Please wrap your text! 2. These are very clear signs that you aren't running the same version of mutt in both cases. You must have another binary lying around. Do the results of 'which mutt' match up under telnet vs ssh? You say the environment is the same, but I have a feeling your PATHs are different. -Brendan -- Don't make Godzilla mad! PGP signature
Muttrc, IMAP errors over SSH
After searching the mutt-user archives as best I could, here's a question I, as a new Mutt user, haven't yet been able to resolve: I've got a Red Hat Linux 6.2 box at home (this box is behind a firewall which gets IP dialtone from a cable modem). It collects email from my various accounts and serves them up to the machines on my home LAN via an IMAP server. The firewall deliberately blocks folks outside of my home LAN from accessing my mail. Works great. Up until today, I've been telnetting to my home machine from work, and running Mutt over the telnet session. I've configured Mutt to use my home IMAP server. Again, works great. However, it's insecure (transmitting passwords and cleartext over the open Net, etc). I've configured OpenSSH at home, and I'm using PuTTY at work to establish a secure terminal session from work to home. Yet again, works great. HOWEVER: When I telnet into my home machine, I run mutt from the command line. It comes up immediately, automatically connects to my IMAP server, and allows me to browse my IMAP folders. When I SSH into my machine, running mutt from the command line results in a long series of .muttrc errors (mostly regarding my PGP commands, which some other errors mixed in). I then am told "Secure login is unavailable. Use cleartext login? ([n]/y):". Finally, when I answer "y", when I attempt to change folders (by pressing "c"), and then attempt to browse my folders (by pressing "?"), I get this message: "IMAP folder browsing is not currently supported". I've checked the environment variables both in telnet shells and in SSH shells; everything appears to be the same, with the exception of the "SSH2_CLIENT" variable set in the SSH shell. Unsetting this variable has no effect on the problem. Finallly, I thought perhaps that this was some strange interaction I'm seeing with PuTTY. However, if I use PuTTY to SSH into my box, then telnet to localhost from the same PuTTY terminal, the problem goes away. Huh?!? Thanks very much in advance for anyone's help on this. Mutt's been such a good program to me so far. B-
Re: Ref. env variables in muttrc
Jack McKinney <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000: > Is it possible to use environment variable values in the .muttrc > file somehow? What I'd like to be able to do is put my KeyID for > my PGP key into an environment variable, and then have my .muttrc > reference this, telling mutt "to find his key id, look in the env > var $KEYID": > > set pgp_sign_as=$KEYID Have you actually tried this? According to the manual's section 3.1, this should work. I haven't personally ever tried this, though. >Alternately, is it possible to supply the keyid on the command line? Sure. mutt -e 'set pgp_sign_as=' Hope this helps, 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 / And don't start a sentence with a conjunction.
Ref. env variables in muttrc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible to use environment variable values in the .muttrc file somehow? What I'd like to be able to do is put my KeyID for my PGP key into an environment variable, and then have my .muttrc reference this, telling mutt "to find his key id, look in the env var $KEYID": set pgp_sign_as=$KEYID My mail is sorted via .qmail files into folders, some of which are for work, and some of which are personal. I have a work key and a personal key. I am subscribed to dozens of email addresses under each ID/key, meaning that it would take well over 100 folder-hook's to supply either of two key-ids to each folder. If I had had the foresight to name the folders work-mbox, work-cisco-users, me-mbox, me-mutt, me-gnupg-users, etc, then I could now use a regexp in a folder hook. Unfortunately, this is not feasible. I currently read my mail via a zsh script I wrote that checks for mail in each of the folders, and sets my MAILHOST/MAILUSER (used by qmail) environment variables accordingly. I could easily add a couple of lines to this script to also set the 'KEYID' environment variable. Alternately, is it possible to supply the keyid on the command line? - -- "Restore your inalienable human rights. Jack McKinney Vote Libertarian. http://www.lp.org http://www.lorentz.com http://www.harrybrowne2000.org [EMAIL PROTECTED] 1024D/D68F2C07 4096g/38AEF076 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.2 (GNU/Linux) iEYEARECAAYFAjnsmf4ACgkQimeon9aPLAcBdQCgpBvAWCkULEfouk8HlYi9Ye82 AGsAoLY9u4hHAnmx3QsW2dhHGkPiyCVA =EN3u -END PGP SIGNATURE-
Re: RH7.0: muttrc \n -> \r ??
On Sat, Oct 07, 2000 at 09:00:08PM -0700, joel wittenberg wrote: > Jan - > > The problem is your term-type; Redhat has changed the details of their > terminfo entries lately; for instance, changing from RH6.0 to RH6.2 > caused Mutt to stop displaying some things correctly (e.g., ACS thread > tree display). The only real solution is to work-over the terminfo > entries (note: sigh. When I rebuild the termcap db I get compilation "rebuild" termcap or terminfo? (I didn't notice much that RH did with the termcap; most of their changes have been in the X resources). > errors on several of the *unmodified* entries. Luckily I don't use any > of those entries). Until I changed my term type I did indeed get > unbound macro problems. You may just be able to change your termtype > (esp, to xterm-xfree86), however you will get problems when rlogging > to other systems which do not have an xterm-xfree86 termcap/info > entry - that's why I suggest modifying the terminfo db (xterm is just an > alias for one of several possible xterm-like term defs). > > Now what RH is trying to accomplish with these terminfo entry changes they're trying (w/o thinking through the problem) to compete with Debian. > Idon't know; presumably it makes something else works better, but if so, > nothing that I have noticed, > > /joel > > Quoting Jan Houtsma <[EMAIL PROTECTED]> ...but problems with OCRNL aren't related to terminfo/termcap. (I'd look in other places - perhaps mutt's not resetting the terminal modes properly). > > > -- > > > > Date: Sat, 7 Oct 2000 10:05:17 +0200 > > From: Jan Houtsma <[EMAIL PROTECTED]> > > Subject: RH7.0: muttrc \n -> \r ?? -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: RH7.0: muttrc \n -> \r ??
Thanks, I didnt think of the terminfo yet. i'll give that a look. Its not a very big deal. I havent noticed any other things that stopped working. I changed the \n into \r for now, but i dont know yet if that still works if i telnet into my server from a remote location. I'll give that a try soon. Otherwise indeed i think i will have to change the xterm entries in the terminfo :) thanks, jan On Sat, Oct 07, 2000 at 09:00:08PM -0700, joel wittenberg wrote: > Jan - > > The problem is your term-type; Redhat has changed the details of their > terminfo entries lately; for instance, changing from RH6.0 to RH6.2 > caused Mutt to stop displaying some things correctly (e.g., ACS thread > tree display). The only real solution is to work-over the terminfo > entries (note: sigh. When I rebuild the termcap db I get compilation > errors on several of the *unmodified* entries. Luckily I don't use any > of those entries). Until I changed my term type I did indeed get > unbound macro problems. You may just be able to change your termtype > (esp, to xterm-xfree86), however you will get problems when rlogging > to other systems which do not have an xterm-xfree86 termcap/info > entry - that's why I suggest modifying the terminfo db (xterm is just an > alias for one of several possible xterm-like term defs). > > Now what RH is trying to accomplish with these terminfo entry changes > Idon't know; presumably it makes something else works better, but if so, > nothing that I have noticed, > > /joel > > Quoting Jan Houtsma <[EMAIL PROTECTED]> > > > -- > > > > Date: Sat, 7 Oct 2000 10:05:17 +0200 > > From: Jan Houtsma <[EMAIL PROTECTED]> > > Subject: RH7.0: muttrc \n -> \r ?? > > > > Running Mutt 1.2.5i (2000-07-28) in a real xterm (not a gnome-terminal) > > after changing to RH7.0 in certain macros (not all!) \n gives me a > > "Key is not bound. Press '?' for help." message. > > However other macros dont seem to have this problem > > macro index"c?\t\n" "Jump directly to $MAIL"UNBOUND > > macro index"c?\t\r" "Jump directly to $MAIL"WORKS > > macro index A "!vimx $HOME/.mutt/aliases\n" "aliases" WORKS > > The difference between the 1st two is only changing the \n i had before to \r. > > Strange also is that the 3'd one DOES work! Tho also has the \n... > > Again this is since i installed RH7.0. Any ideas? > > jan > > - -- > >___ ___ ___ > > / // // / Jan H. Houtsma > > / // // / Comeniushof 92 > > / // // /1216 HH Hilversum > > ___ / _ _ / Netherlands > > / / / // // / > >/ /__/ // // / http://www.houtsma.net > > ///__//__/[EMAIL PROTECTED] > > > > -- > > > > Date: Sat, 7 Oct 2000 08:00:43 -0400 > > From: Thomas Dickey <[EMAIL PROTECTED]> > > Subject: Re: RH7.0: muttrc \n -> \r ?? > > > > On Sat, Oct 07, 2000 at 10:05:17AM +0200, Jan Houtsma wrote: > > > Running Mutt 1.2.5i (2000-07-28) in a real xterm (not a gnome-terminal) > > It shouldn't depend on xterm vs gnome/etc (or even the $TERM value). > > That's a line-protocol issue. > > > after changing to RH7.0 in certain macros (not all!) \n gives me a > > > "Key is not bound. Press '?' for help." message. > > - -- > > Thomas E. Dickey <[EMAIL PROTECTED]> > > http://dickey.his.com > > ftp://dickey.his.com > > > > -- > -- ___ ___ ___ / // // / Jan H. Houtsma / // // / Comeniushof 92 / // // /1216 HH Hilversum ___ / _ _ / Netherlands / / / // // / / /__/ // // / http://www.houtsma.net ///__//__/[EMAIL PROTECTED]
RH7.0: muttrc \n -> \r ??
Jan - The problem is your term-type; Redhat has changed the details of their terminfo entries lately; for instance, changing from RH6.0 to RH6.2 caused Mutt to stop displaying some things correctly (e.g., ACS thread tree display). The only real solution is to work-over the terminfo entries (note: sigh. When I rebuild the termcap db I get compilation errors on several of the *unmodified* entries. Luckily I don't use any of those entries). Until I changed my term type I did indeed get unbound macro problems. You may just be able to change your termtype (esp, to xterm-xfree86), however you will get problems when rlogging to other systems which do not have an xterm-xfree86 termcap/info entry - that's why I suggest modifying the terminfo db (xterm is just an alias for one of several possible xterm-like term defs). Now what RH is trying to accomplish with these terminfo entry changes Idon't know; presumably it makes something else works better, but if so, nothing that I have noticed, /joel Quoting Jan Houtsma <[EMAIL PROTECTED]> > -- > > Date: Sat, 7 Oct 2000 10:05:17 +0200 > From: Jan Houtsma <[EMAIL PROTECTED]> > Subject: RH7.0: muttrc \n -> \r ?? > > Running Mutt 1.2.5i (2000-07-28) in a real xterm (not a gnome-terminal) > after changing to RH7.0 in certain macros (not all!) \n gives me a > "Key is not bound. Press '?' for help." message. > However other macros dont seem to have this problem > macro index"c?\t\n" "Jump directly to $MAIL" UNBOUND > macro index"c?\t\r" "Jump directly to $MAIL" WORKS > macro index A "!vimx $HOME/.mutt/aliases\n" "aliases"WORKS > The difference between the 1st two is only changing the \n i had before to \r. > Strange also is that the 3'd one DOES work! Tho also has the \n... > Again this is since i installed RH7.0. Any ideas? > jan > - -- >___ ___ ___ > / // // / Jan H. Houtsma > / // // / Comeniushof 92 > / // // /1216 HH Hilversum > ___ / _ _ / Netherlands > / / / // // / >/ /__/ // // / http://www.houtsma.net > /____//__//__/[EMAIL PROTECTED] > > -- > > Date: Sat, 7 Oct 2000 08:00:43 -0400 > From: Thomas Dickey <[EMAIL PROTECTED]> > Subject: Re: RH7.0: muttrc \n -> \r ?? > > On Sat, Oct 07, 2000 at 10:05:17AM +0200, Jan Houtsma wrote: > > Running Mutt 1.2.5i (2000-07-28) in a real xterm (not a gnome-terminal) > It shouldn't depend on xterm vs gnome/etc (or even the $TERM value). > That's a line-protocol issue. > > after changing to RH7.0 in certain macros (not all!) \n gives me a > > "Key is not bound. Press '?' for help." message. > - -- > Thomas E. Dickey <[EMAIL PROTECTED]> > http://dickey.his.com > ftp://dickey.his.com > > -- -- joel wittenberg [EMAIL PROTECTED] [work] [EMAIL PROTECTED] [permanent]