Re: Wildcards in the mailboxes command?
* David T-G [EMAIL PROTECTED] [001012 04:42]: % mailboxes ! `cd ~/mail ; for x in * ; do echo -n '=' ; echo -n $x ' '; done` mailboxes ! `echo ~/mail/*` try this one in .muttrc mailboxes `find ~/Mail -type f -print | grep -v sent | xargs` works fine for me -- Patric Mrawek - [EMAIL PROTECTED] - Networks Security WEB ISS GmbH - Scheffelstr. 17a - 76135 Karlsruhe - 0721/9109-0 Linux is like a wigwam - no windows, no gates, but an Apache inside.
Re: Wildcards in the mailboxes command?
On Thu, Oct 12, 2000 at 10:00:31AM +0200 or thereabouts, Patric Mrawek wrote: * David T-G [EMAIL PROTECTED] [001012 04:42]: % mailboxes ! `cd ~/mail ; for x in * ; do echo -n '=' ; echo -n $x ' '; done` mailboxes ! `echo ~/mail/*` try this one in .muttrc mailboxes `find ~/Mail -type f -print | grep -v sent | xargs` works fine for me Ok, so any ideas for an IMAP server then? mailboxes `echo {server}Inbox/*` doesn't work! Sheesh! This Dvorak keyboard layout takes some getting used to! www.mindprod.com/dsk.html -- Conor Daly Met Eireann, Glasnevin Hill, Dublin 9, Ireland Ph +353 1 8064217 Fax +353 1 8064275
Re: Wildcards in the mailboxes command?
I'm subscribed to many mailing lists and I love the idea of mutt telling me which mailboxes have new mail. However, that would make the mailboxes line be yet another list of subscriptions that I would have to keep up to date. What I really want to do is something like: mailboxes ! =* Is it possible to do this? If not, consider it a feature request. :) weasel@marvin:~$ grep mailboxes .mutt/muttrc mailboxes /var/spool/mail/weasel `echo $HOME/.Mail/{IN,People*,Projects*,Debian*,Maillists*,Newsletters*,Cron*,Errors*,spam}` I don't think this works as expected. It will only see the folders that actually exist when mutt is started (and .muttrc parsed). It won't pick up any folders that come into being while mutt is running.
signature to appear on top when replying mail
how can the signature file be placed on top rather than below when replying a mail? Top as in above the content of the mail i m replying to. Benny -- I don't want Perl to be beautiful, I want you to write beautiful programs in Perl. --Larry Wall, Culture of Perl, August 1997
Re: signature to appear on top when replying mail
Benny Chee writes: how can the signature file be placed on top rather than below when replying a mail? Top as in above the content of the mail i m replying to. That's a rather daft idea. Many mail clients/editors are configured to snip anything below the signature separator - which in that case would remove content.
Re: signature to appear on top when replying mail
On 2000-10-12 19:36:45 +0800, Benny Chee wrote: how can the signature file be placed on top rather than below when replying a mail? If it's possible, you don't want to do this. Read the section on quoting in http://members.aol.com/intwg/guide.htm Best regards Martin P.S.: Mail-Followup-To: ignored -- Martin Schröder, [EMAIL PROTECTED] ArtCom GmbH, Grazer Straße 8, D-28359 Bremen Voice +49 421 20419-44 / Fax +49 421 20419-10 PGP signature
mutt and IMAP
just started playing with IMAP a little (mostly to read postmaster mail) and I was wondering about mutt's IMAP support... Is anyone using it? Here's some of my questions... Is there a way to browse the server folders, without knowing in advance which folders are available? Does the new mail notify work for imap folders? Is there a way (without macros) to teach mutt which IMAP servers/folders I usually read, and have it selectable? :) -- Dan Boger System Administrator [EMAIL PROTECTED] PGP signature
Re: signature to appear on top when replying mail
Martin Schröder proclaimed on mutt-users that: On 2000-10-12 19:36:45 +0800, Benny Chee wrote: how can the signature file be placed on top rather than below when replying a mail? If it's possible, you don't want to do this. Read the section on quoting in http://members.aol.com/intwg/guide.htm Sadly, nobody told m$ outhouse users that ;) Anyway, set attribution="`cat .signature`\nOn %d you wrote" (or whatever) ought to work. -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI A man said to the Universe: "Sir, I exist!" "However," replied the Universe, "the fact has not created in me a sense of obligation." -- Stephen Crane
Re: signature to appear on top when replying mail
Sitting at the campfire, Martin Schröder told: [...] P.S.: Do we have some pointers to netiquette in the manual/newbie guide? Not up to now. But you could write something, if you like :) Yes, I read the url you supplied, it's a good one, too. Looks like I'm going to send it to quite a bunch of people.. :) Greets, Kai -- Kai Blin(mailto:[EMAIL PROTECTED]) Webmaster Inst. of Human Genetics Dept. of Molecular Genetics Wilhelmstr 27 phone (49)7071-2974890 D 72074 Tuebingen, Germany fax (49)7071-295233 http://www.uni-tuebingen.de/uni/thm/molgen/molgen.html Do molecular biologists wear designer genes? -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/CS d- s++: a--- C++ UL P+ L+++ E W+++$ N+ w---@ O- M-@ PS+ PE Y+ PGP++ t--- 5-- X- R+ tv b+++ DI+ D+ G e* y? --END GEEK CODE BLOCK--
Re: Wildcards in the mailboxes command?
Conor -- ...and then Conor Daly said... % On Thu, Oct 12, 2000 at 10:00:31AM +0200 or thereabouts, Patric Mrawek wrote: % * David T-G [EMAIL PROTECTED] [001012 04:42]: % % mailboxes ! `echo ~/mail/*` % % mailboxes `find ~/Mail -type f -print | grep -v sent | xargs` [BTW, Patric, you shouldn't even need the xargs on there.] % Ok, so any ideas for an IMAP server then? % % mailboxes `echo {server}Inbox/*` % % doesn't work! Hmmm... Yeah, I can see that. No, that would be quite a trick. Perhaps one of the IMAP experts here knows if there's a simple way to query an IMAP server for a directory listing so that something like mailboxes `get_imap_server_folder_list | egrep 'only|wanted|folders'` would work... % % Sheesh! This Dvorak keyboard layout takes some getting used to! % % www.mindprod.com/dsk.html Hey, thanks! % % -- % Conor Daly % Met Eireann, Glasnevin Hill, Dublin 9, Ireland % Ph +353 1 8064217 Fax +353 1 8064275 % :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. PGP signature
Re: signature to appear on top when replying mail
On 2000-10-12 12:44:59 +0100, Lars Hecking wrote: how can the signature file be placed on top rather than below when replying a mail? Just abuse the $attribution setting and include your signature there. For instance, I could do something like this: set attribution="-- \nThomas Roessler [EMAIL PROTECTED]\n\n\nOn %d, %n wrote:" Top as in above the content of the mail i m replying to. That's a rather daft idea. Many mail clients/editors are configured to snip anything below the signature separator - which in that case would remove content. Well, it depends. In certain corporate settings, that much-hated Notes-style quoting is actually useful: Just imagine a lengthy exchange of e-mail messages on a certain topic, where, at some point, a third party is included. That person can easily read the entire exchange of messages, and thus easily enter the exchange without having to be briefed. -- Thomas Roessler [EMAIL PROTECTED]
Re: mutt and IMAP
Sitting at the campfire, Dan Boger told: just started playing with IMAP a little (mostly to read postmaster mail) and I was wondering about mutt's IMAP support... Is anyone using it? Yes, I am. It works fine. Here's some of my questions... Is there a way to browse the server folders, without knowing in advance which folders are available? None that I'm aware of, but perhaps Brendan (he did most of the IMAP stuff) knows more about it. Does the new mail notify work for imap folders? Yes, it works nicely Is there a way (without macros) to teach mutt which IMAP servers/folders I usually read, and have it selectable? You mean like the mailboxes option in .muttrc? Yes! :) [Note: its quoted, not :) (little devil) :) ] Greets, Kai -- Kai Blin(mailto:[EMAIL PROTECTED]) Webmaster Inst. of Human Genetics Dept. of Molecular Genetics Wilhelmstr 27 phone (49)7071-2974890 D 72074 Tuebingen, Germany fax (49)7071-295233 http://www.uni-tuebingen.de/uni/thm/molgen/molgen.html Do molecular biologists wear designer genes? -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/CS d- s++: a--- C++ UL P+ L+++ E W+++$ N+ w---@ O- M-@ PS+ PE Y+ PGP++ t--- 5-- X- R+ tv b+++ DI+ D+ G e* y? --END GEEK CODE BLOCK--
Re: mutt and IMAP
On Thu, Oct 12, 2000 at 03:00:27PM +0200, Kai Blin wrote: Does the new mail notify work for imap folders? Yes, it works nicely ok, how do I get it to work? I put the IMAP folders I want in my $mailboxes, but I never get notified still? Is there a way (without macros) to teach mutt which IMAP servers/folders I usually read, and have it selectable? You mean like the mailboxes option in .muttrc? Yes! I actually meant without putting them in the $mailboxes - I guess that ties into folder browsing in general.. :) -- Dan Boger System Administrator [EMAIL PROTECTED] PGP signature
Re: mutt and IMAP
Sitting at the campfire, Dan Boger told: ok, how do I get it to [mail notifying] work? I put the IMAP folders I want in my $mailboxes, but I never get notified still? I have a line like this in my .muttrc mailboxes ! {[EMAIL PROTECTED]/ssl}inbox note the ! (exclamation mark, is it?). Now it will show an N in the "change to another mailbox" window. (the one you reach through c?tab) Other than that, I'm not shure. Is there a way (without macros) to teach mutt which IMAP servers/folders I usually read, and have it selectable? You mean like the mailboxes option in .muttrc? Yes! I actually meant without putting them in the $mailboxes - I guess that ties into folder browsing in general.. No, not if you leave $folder on ~/Mail... Kai -- Kai Blin(mailto:[EMAIL PROTECTED]) Webmaster Inst. of Human Genetics Dept. of Molecular Genetics Wilhelmstr 27 phone (49)7071-2974890 D 72074 Tuebingen, Germany fax (49)7071-295233 http://www.uni-tuebingen.de/uni/thm/molgen/molgen.html Do molecular biologists wear designer genes? -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/CS d- s++: a--- C++ UL P+ L+++ E W+++$ N+ w---@ O- M-@ PS+ PE Y+ PGP++ t--- 5-- X- R+ tv b+++ DI+ D+ G e* y? --END GEEK CODE BLOCK--
vi-like line editing
Hey, is there a way to get vi-like key bindings on mutt's built-in line editor? Something like `set editing-mode vi' does in my .inputrc? You can fake it a little bit with stuff like bind editor h backward-char as long as you don't use `h' anywhere in the text [:-/ TIA/x
Re: Mutt and vim enhancment
Again, there were some "bugs" in the function. Here's the final version. No more "set edit_headers" assumption, no quotation problems. function M_settitle() let i = 1 let line = getline(i) while (match(line, "To:") == -1 line != "") let i = i + 1 let line = getline(i) endwhile if (line != "") let i = match(line, " ") + 1 let j = match(line, "") - 1 if j == -2 let j = match(line, ",") endif if j == -1 let j = strlen(line) endif let len = j - i let address = strpart(line, i, len) let title = "Mail to " . address let title = substitute(title, " ", " ", "g") let title = substitute(title, "\"", "", "g") execute 'set titlestring=' . title execute 'set iconstring=' . title else execute 'set titlestring=Mutt' execute 'set iconstring=Mutt' endif execute 'set titleold=Mutt' endfunc Is it useful for someone besides me? :-) Regards, Peter.
Mutt in batch mode
Hi, I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. Is it possible to do it? And, if yes, do you know how to do it? Thanks Jean-Paul Laberge
Re: Wildcards in the mailboxes command?
David T-G [EMAIL PROTECTED] wrote on Thu, 12 Oct 2000: % mailboxes `find ~/Mail -type f -print | grep -v sent | xargs` [BTW, Patric, you shouldn't even need the xargs on there.] Really? I thought it was a known "feature" that Mutt's ``-expansion only pays attention to the first line of the output? If that's so, then the xargs is useful in converting multi-line listing to a single-line listing. IMAP server for a directory listing so that something like mailboxes `get_imap_server_folder_list | egrep 'only|wanted|folders'` would work... That feature could be added into the command-line IMAP filtering tool that's been speculated about. ;-) 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 / Signature quotes retired from active duty.
Re: signature to appear on top when replying mail
On Thu, Oct 12, 2000 at 07:36:45PM +0800, Benny Chee wrote: how can the signature file be placed on top rather than below when replying a mail? Top as in above the content of the mail i m replying to. you could always do something like this: set editor = '/bin/vi -c /^$/:r.signature' or set editor = '/bin/vi -c /^$/:r!makesig' -- Dan Boger System Administrator [EMAIL PROTECTED] PGP signature
Re: Changing my_hdr back to default
Ben, On 00-08-07 15:33, Ben Beuchler [EMAIL PROTECTED] wrote: I've setup up a macro for sending mail as another "persona" that looks something like this: macro index M ":my_hdr From: [EMAIL PROTECTED]enterm" What I'm trying to work out is a way to automatically switch back to using my normal information for any future emails. Any suggestions? I didn't see this one mentioned, but since I sort my messages (using procmail) into separate folders, I just use folder hooks to switch identities: # Don't let mutt set the header # This will be a personalities thing, # which will let me author messages based on current mailbox # default folder-hook . "my_hdr From: -kevin- [EMAIL PROTECTED]" folder-hook . "my_hdr Organization: none" folder-hook . "set signature=~/.signature" send-hook '~t [EMAIL PROTECTED]' "set signature=~/.signature_love" # [EMAIL PROTECTED] folder-hook =in-birdbrain "my_hdr From: -kevin- [EMAIL PROTECTED]" folder-hook =in-birdbrain "my_hdr Organization: BirdBrain Systems" folder-hook =in-birdbrain "set signature=~/.signature.birdbrain" fcc-hook '~f [EMAIL PROTECTED]' =out-birdbrain This is actually handy because generally I want my identity to match the messages I am responding to. I also threw in stuff which stores outbound messages in separate folders. -- -* -kevin-*- -* sick with the good infection *- -* [EMAIL PROTECTED] *- -* http://www.pobox.com/~kathey *-
mutt on Linux via ssh from FreeBSD
Hi all! I've some problem when I try to use mutt via ssh connection from FreeBSD 4.1.1 to Linux 2.0.36 The problem is: I'got some mess on the screen if I try to scroll message by pressing Return. The bottom and top lines around the message body are disappear, old value of row number is scrolled with the message text. There isn't such problem in xterm and linux console. Just from FBSD one. The TERM variable is set to `cons25r', and I have appropriate entry in /etc/termcap on linux. All the other programs are run correctly. Here is my mutt compile-time configuration: Mutt 1.2.5i (2000-07-28) Copyright (C) 1996-2000 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.0.36 [using slang 10202] Compile options: -DOMAIN -DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK -USE_IMAP -USE_GSS -USE_SSL -USE_POP +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +ENABLE_NLS SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/spool/mail" SHAREDIR="/usr/local/share/mutt" SYSCONFDIR="/usr/local/etc" -ISPELL To contact the developers, please mail to [EMAIL PROTECTED]. To report a bug, please use the muttbug utility. slrn (which uses slang, sure) has the same problem too. How can I correct this. Wrong termcap? Problem with slang? 10x -- Dennis Melentyev C/C++ programmer @ Mebius-KB, Kiev, Ukraine [EMAIL PROTECTED]
Re: vi-like line editing
On Thu, Oct 12, 2000 at 09:20:25AM -0500, the/eXtreme wrote: Hey, is there a way to get vi-like key bindings on mutt's built-in line editor? Something like `set editing-mode vi' does in my .inputrc? No. All the keymaps in Mutt have only a single mode, so it's not possible to do this really. Although... You could do something like: bind editor i source ~/.mutt/insert-mode bind editor \e source ~/.mutt/command-mode Nasty hack but you might be able to get this to switch between the two modes. PGP signature
Re: Mutt in batch mode
On Wed, Oct 11, 2000 at 03:53:51PM -0400, Jean-Paul Laberge ([EMAIL PROTECTED]) wrote: Hi, I'd like to know how to use 'mutt' in batch mode, without a user intervention. I use the following command: mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca but I'm always going in the user interface. It expects something on STDIN. It makes sense if you don't attach something, that this: mutt -s "test" [EMAIL PROTECTED] take you into the UI, but this: mutt -s "test" [EMAIL PROTECTED] content.txt not do so. If you *only* want to send an attachment but without any message body, then mutt -a attached.txt -s "test" [EMAIL PROTECTED] /dev/null Cheers, -Rich -- -- Rich Lafferty --- Sysadmin/Programmer, Instructional and Information Technology Services Concordia University, Montreal, QC (514) 848-7625 - [EMAIL PROTECTED] --
Mutt on Mac OS X ?
Just wondering if anyone has gotten Mutt to work under the Mac OS X Public Beta. -- Eugene Lee [EMAIL PROTECTED]
Re: Newbie questions
On Fri, Oct 06, 2000 at 07:28:36AM +0300, Mikko Hänninen wrote: Perry The Cynic [EMAIL PROTECTED] wrote on Thu, 05 Oct 2000: [...] Is there a way to *not* have to type the initial "=" character? It works of course if I chdir to ~/mail before running mutt, but that's a wee bit lame. Well, you can make c into a macro, that will first invoke the change-folder function and then pre-type the = for you. macro index c change-folder= That way you don't have to type it. :-) Of course, if you don't want it there for some reason sometimes, you have to then manually erase it. Perfect. And obvious, after you pointed it out. :-) Thank you all for your advice. This is pretty cool. -- perry --- Perry The Cynic [EMAIL PROTECTED] To a blind optimist, an optimistic realist must seem like an Accursed Cynic. ---
Re: mutt on Linux via ssh from FreeBSD
On Thu, Oct 12, 2000 at 07:17:21PM +0300, Dennis Melentyev wrote: Hi all! I've some problem when I try to use mutt via ssh connection from FreeBSD 4.1.1 to Linux 2.0.36 The problem is: I'got some mess on the screen if I try to scroll message by pressing Return. The bottom and top lines around the message body are disappear, old value of row number is scrolled with the message text. probably something is not setting your screen size properly. cons25r is close enough to vt100 that most of the cursor movement will work properly - but it has 25 lines rather than 24. programs that set scrolling margins (cons25r appears to have none, so it's worse than normal for this condition) will not work properly. There isn't such problem in xterm and linux console. Just from FBSD one. The TERM variable is set to `cons25r', and I have appropriate entry in /etc/termcap on linux. All the other programs are run correctly. but is that $TERM on your local or remote connection? Here is my mutt compile-time configuration: Mutt 1.2.5i (2000-07-28) Copyright (C) 1996-2000 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.0.36 [using slang 10202] ... slrn (which uses slang, sure) has the same problem too. How can I correct this. Wrong termcap? Problem with slang? slang does have some hardcoded cases - perhaps it's "fixing" your terminal description on the fly by recasting it as a vt100 (newer versions are not quite as obtrusive, btw, but it falls short of perfection on non-vt100 terminals). -- Thomas E. Dickey [EMAIL PROTECTED] http://dickey.his.com ftp://dickey.his.com
Re: Mutt and vim enhancment
on Wed, Oct 11, 2000 at 12:39:46PM -0400, Peter Solodov [EMAIL PROTECTED] wrote: Is it useful for someone besides me? :-) Im using it. I modified the first one to include the Subject but then the 2nd one arrived and I started to modify again but decided to wait for the finished version. There is room in my title bar for the subject, what about yours? BB -- Bevan Broun ph (08) 9380 1587 Computer Systems Officer fax (08) 9380 1065 Dept. Electrical and Electronic Engineering University of Western Australia rm. G70