Re: OT: not able to set textwidth to 65
On 30, Oct, 2001 at 01:20:42AM -0500, Matej Cepl wrote: Hi, trying to set textwidth in my $EDITOR (i.e., vim 6.0) to 65, but even though I have following in my ~/.vimrc, it is always initially set to 78, when starting vim as a message editor (well, when started as ANY editor for that matter). In VIM 6.0 use $VIM/ftplugin/mail.vim to make these settings, and use setlocal instead of set, e.g. (a mix of my own stuff and your settings): setlocal tabstop=3 setlocal shiftwidth=3 setlocal noexpandtab setlocal textwidth=65 spellcheck american :nmap F8 :wCR:!aspell --language-tag=american --mode=email -c %CR:eCR spellcheck danish :nmap F7 :wCR:!aspell --language-tag=da --mode=email -c %CR:eCR help not using acronyms and such imap buffer HAND Have a nice day imap buffer HTH Hope this helps imap buffer IIRC if I remember correctly imap buffer BTW By the way You should consider using expandtab in mail, as you can not know what the recipient has set the TAB character to be displayed as (most likely as 8 SPACEs). Hope this helps Morten -- Morten Liebach [EMAIL PROTECTED] PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD796A4EB https://pc89225.stofanet.dk/ || http://pc89225.stofanet.dk/
Re: unable to post to AOL
On Mon, Oct 29, 2001 at 11:24:24PM -0500, Matej Cepl wrote: On Mon, Oct 29, 2001 at 11:24:28PM -, Rob Park wrote: I have now. I don't know how I existed so long without it. It is unset by default and the ONLY problems I had posting before yesterday were with AOL. That's weird. I just looked through my .muttrc and it wasn't there, so it's been off the entire time I've been using mutt, but I've never had any problems. Can somebody describe that that variable is actually for? The man page is fairly vague about it, imo. If it works without that for you, it means that you have set your SMTP server well. If you check the mail address of the guy has been asking, you find that he has a broken setup of SMTP and refuses to set it right. Ignore it. ---end quoted text--- My 'setup of SMTP' is not BROKEN. It works fine. As I said before, I only have had problems that I am aware of, posting to AOL. I get error messages returned as I quoted previously. BUT, since I set envelope_from, I am able to post to AOL. What I don't understand is WHY I didn't have problems, since I had been unaware of envelope_from and it is unset be default ??? -- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
Re: unable to post to AOL
MuttER mutt [30/10/01 07:26 -0500]: My 'setup of SMTP' is not BROKEN. It works fine. As I said before, I only have had problems that I am aware of, posting to AOL. I get error messages returned as I quoted previously. If you were sending out mail as [EMAIL PROTECTED] it _was_ broken What I don't understand is WHY I didn't have problems, since I had been unaware of envelope_from and it is unset be default ??? Because several providers are yet ignorant of how to properly configure a mailserver to refuse mail from unresolvable domains? -srs
Re: OT: not able to set textwidth to 65
On Tue, Oct 30, 2001 at 09:59:50AM +0100, Morten Liebach wrote: In VIM 6.0 use $VIM/ftplugin/mail.vim to make these settings, and use setlocal instead of set, e.g. (a mix of my own stuff and your settings): Thanks. In meantime I found this solution, which at least seems to work. I have in my ~/.vimrc this (I have added the second autocmd line): if has(autocmd) filetype plugin indent on autocmd FileType text setlocal textwidth=65 autocmd FileType mail setlocal textwidth=65 autocmd BufReadPost * \ if line('\) 0 line('\) = line($) | \ exe normal g`\ | \ endif endif has(autocmd) Hopefully, it is gonna to work. However, thanks for your help. Matej -- Matej Cepl, [EMAIL PROTECTED] 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
Asterisk in threaded view
The threaded view in that mutt offers for viewing mailing list messages is very cool. I haven't performed many modifications to the stock install. Every so often an asterisk will appear in the branch to the message subject. What is the significance of the asterisk? I looked in the manual and couldn't find it. -- Michael Montagne [EMAIL PROTECTED] http://www.boora.com
Re: Asterisk in threaded view
On Tue, Oct 30, 2001 at 08:55:20AM -0800, Michael Montagne [EMAIL PROTECTED] wrote: The threaded view in that mutt offers for viewing mailing list messages is very cool. I haven't performed many modifications to the stock install. Every so often an asterisk will appear in the branch to the message subject. What is the significance of the asterisk? I looked in the manual and couldn't find it. It means that mutt couldn't thread the message by message-id, but it found a likely match based on subject. If you don't want this, you can set $strict_threads. If you want it to be even more liberal about what it attaches to what, you can unset $sort_re. The default settings are probably a good compromise, though. -Daniel -- Daniel E. Eisenbud [EMAIL PROTECTED] We should go forth on the shortest walk perchance, in the spirit of undying adventure, never to return,--prepared to send back our embalmed hearts only as relics to our desolate kingdoms. --Henry David Thoreau, Walking
imap folder settings
Hello all, I'm using imap with mutt, and have my folder settings as follows: set folder={mdm.desktop}Mail set folder_format=%2C %t%N %-40.40f %-20.20d %8s My mailboxes: mailboxes ! mailboxes =Bulk mailboxes =Drafts mailboxes =Sent Items mailboxes =Junk mailboxes =Archive/CurrentMonth mailboxes =Archive/LastMonth mailboxes =Archive/PreviousMonth mailboxes =Lists/AutomatedMail mailboxes =Lists/Commit mailboxes =Lists/Compete I can access my folders just fine, but they are displayed like this: 1 0 imap://mdm.desktop/INBOX 2 456 imap://mdm.desktop/Mail/Archive/CurrentM 3 0 imap://mdm.desktop/Mail/Archive/LastMont 4 0 imap://mdm.desktop/Mail/Archive/Previous 5 0 imap://mdm.desktop/Mail/Bulk 6 0 imap://mdm.desktop/Mail/Drafts 7 0 imap://mdm.desktop/Mail/Junk 8 0 imap://mdm.desktop/Mail/Lists/AutomatedM 9 0 imap://mdm.desktop/Mail/Lists/Commit 10 0 imap://mdm.desktop/Mail/Lists/Compete I'd love to find a way to not have to see the imap://mdm.desktop/Mail each time, and I've seen it just substitute an '=' for that string when using pop. For imap, though, I'm stumped. Any ideas? Thanks! Michael P.S. Please include me directly on replies - I've not yet been approved for admittance to the list.
command line folder alias access (feature request)
As far as I can tell, mutt does not support openning the folder of a user based on an alias. For example, consider user [EMAIL PROTECTED] that is aliased as foo. I'd like to be able to open the folder using mutt -f =foo (perhaps using some other symbol than '='). Right now I've achieved this functionality through a wrapper shell script that greps for the alias name and invokes mutt with the real user name. Have you considered this feature? Would it be something that if I modified on the source code you would be willing to add to the main source tree? Thanks for the great mutt of mailers! Alexander
Re: PGP
Thus spake Stephen E. Hargrove ([EMAIL PROTECTED]): anyone know where i can get a copy of gpg.rc? Although this isn't that file directly, you might be interested in this: http://codesorcery.net/mutt/ -- Justin R. Miller [EMAIL PROTECTED] PGP/GnuPG Key ID 0xC9C40C31 (preferred) PGP signature
question on mime types
so i have application/pdf pdf in the mime.types file for mutt. but when i attatch a pdf file, it doesn't pick up that its a pdf file. same holds for ps files, but not for gz files (as it detects the octet stream.) i have changed the default location of the mime.types file at compile time to a different directory than normal, but that was at compile time, so i dont see how that would be a problem. ideas? i checked the archives, but didn't see anything offhand which was the same problem im dealing withthanks in advance. -- thanks adam Drink tea, there's lots of tea. any and all ideas herein are the sole property of the author, with no implied warranties or guarantees. unless its somebody else's already.
Re: default: no such color
On Mon Oct 22, 2001 at 06:00:59PM -0400, Thomas Dickey wrote: On Mon, Oct 22, 2001 at 01:32:46PM +0100, Jonathan Perkin wrote: Ok, so people might be getting bored with these colour problems, but here's another one which is really starting to bug me and I'm hoping someone can shed fresh clues.. :) there's no indication in the mutt -v, but you're probably missing use_default_colors() - mutt's configure script is easily fooled by *BSD's package-maze, and may be seeing NetBSD's curses as well. Aye, actually had time to investigate this over the weekend and found the offending stuff in mutt's configure script - for the use_default_color checks it only includes curses.h - now on NetBSD this only exists in /usr/include for system curses library, and the ncurses 5 pkgsrc only installs /usr/pkg/include/ncurses.h with no symlink back to curses.h I'm no automake/autoconf expert, so is this a mutt issue where the configure script should be modified to support NetBSD, or should the NetBSD pkgsrc DTRT and symlink /usr/pkg/include/curses.h - ncurses.h ? Jon
Re: default: no such color
On Mon Oct 29, 2001 at 09:08:40AM -0500, Thomas E. Dickey wrote: On Mon, 29 Oct 2001, Jonathan Perkin wrote: Aye, actually had time to investigate this over the weekend and found the offending stuff in mutt's configure script - for the use_default_color checks it only includes curses.h - now on NetBSD this only exists in /usr/include for system curses library, and the ncurses 5 pkgsrc only installs /usr/pkg/include/ncurses.h with no symlink back to curses.h I'm no automake/autoconf expert, so is this a mutt issue where the configure script should be modified to support NetBSD, or should the NetBSD pkgsrc DTRT and symlink /usr/pkg/include/curses.h - ncurses.h ? I think the configure script should be modified - not just NetBSD support. But it does get complicated. The script that I wrote for lynx defaults to curses (which in this case would pick up the NetBSD curses), and allows ncurses as an option. Mutt's configure script tries to find ncurses, but may be relying on a bias toward ncurses rather than making it explicitly an option. I think it should at least look for ncurses.h in the path specified by --with-curses= before curses.h I dunno, something like: --- configure.in.orig Mon Oct 29 14:36:52 2001 +++ configure.inMon Oct 29 14:36:34 2001 @@ -195,7 +195,11 @@ old_LIBS=$LIBS LIBS=$LIBS $MUTTLIBS -CF_CHECK_FUNCDECLS([#include curses.h], start_color typeahead bkgdset curs_set meta use_default_colors resizeterm) + if test x$mutt_cv_curses != x; then + CF_CHECK_FUNCDECLS([#include ncurses.h], start_color +typeahead bkgdset curs_set meta use_default_colors resizeterm) + else + CF_CHECK_FUNCDECLS([#include curses.h], start_color typeahead +bkgdset curs_set meta use_default_colors resizeterm) + fi if test $ac_cv_func_decl_start_color = yes; then AC_DEFINE(HAVE_COLOR) fi ? (Disclaimer: I don't do automake :) Doing an include based on AC_CHECK_HEADERS would obviously be nicer, but I couldn't see a way of doing that. if used --with-curses=DIR if exists DIR/ncurses.h #include ncurses.h else #include curses.h fi fi Jon
Re: unable to post to AOL
On Tue, Oct 30, 2001 at 06:41:39PM +0530, Suresh Ramasubramanian (dis)graced my inbox with: MuttER mutt [30/10/01 07:26 -0500]: My 'setup of SMTP' is not BROKEN. It works fine. As I said before, I only have had problems that I am aware of, posting to AOL. I get error messages returned as I quoted previously. If you were sending out mail as [EMAIL PROTECTED] it _was_ broken Is that what mail would look like with it off? I guess the reason I don't have this problem has more to do with my mutt config than with my postfix config! I had my_hdr's setting the From: and Reply-To: headers, which would avoid that envelope_from problem altogether. -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- The probability of a given even occurring is inversely proportional to it's desirability.
Re: subscribe and lists
Alright, my bad. Shift-L seems to work every time. The seeming randomness was confusing, but I was just doing it wrong. Thanks all. On Sat, Oct 27, 2001 at 02:42:04PM +0200, Michael Tatge wrote: Michael Montagne muttered: I'm familiar with the subscribe and lists commands to place the address of the mailing list in the To: header when replying to a mailing list but mine appear broken. For this list I have: subscribe [EMAIL PROTECTED] And whenever I reply. the senders name appears, not the list address. What's the trick? Some lists I have work and some don't. I've included my mailinglists file which I reference with source ~/.mutt/mailinglists. subscribe [EMAIL PROTECTED] Seems ok. Sure you do a list-reply bound to 'L' by default? HTH, Michael -- PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key -- Michael Montagne [EMAIL PROTECTED] http://www.boora.com
Fcc saving to multiple folders
Is it possible to save an outgoing to more than a single folder? Also should not (or can not) the Bcc: details be saved in the loval folder - this is useful information. thanx -- Eric Smith
how do I automatiaclly moved 'Replied' messages to mbox ?
Hi, I'm discovering all mutt functionalities and I must say this MUA is great. Now, what I'm trying to do is: I have a IN.perso folder where all my private e-mails arrive (thru procmail). This folder has a mbox defined in muttrc: mbox-hook IN.perso ~/Mail/perso I can easily get my read mail to be archived into the mbox using something like: folder-hook IN.perso 'set move=yes' but this isn't quite what I want. I'd like my 'replied' emails (those matching '~Q') to be automatically moved to mbox, but not the read ones. Is there a way of doing this ? Thanks for any tip. Please Cc me. -- Eric VAN BUGGENHAUT Oh My God! They killed init! You Bastards! --from a /. post \_|_/ Andago \/ \/ Av. Santa Engracia, 54 a n d a g o |--E-28010 Madrid - tfno:+34(91)2041100 /\___/\ http://www.andago.com / | \ Innovando en Internet [EMAIL PROTECTED]
Re: Fcc saving to multiple folders
On Tue, Oct 30, 2001 at 06:51:24PM +0100, Eric Smith (dis)graced my inbox with: Is it possible to save an outgoing to more than a single folder? I'm not sure, I've never tried. If it doesn't, though, set up a my_hdr that automatically Bcc's everything back to yourself, and then you can set up a procmail rule that saves messages to yourself in a special folder. As far as I know, it would effectively be the same thing. Also should not (or can not) the Bcc: details be saved in the loval folder - this is useful information. Dunno. -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- The pen is mightier than the sword, and considerably easier to write with. -- Marty Feldman
Re: Fcc saving to multiple folders
* Rob 'Feztaa' Park [EMAIL PROTECTED] [31-10-2001 00:05]: | Is it possible to save an outgoing to more than a single folder? | | I'm not sure, I've never tried. | | If it doesn't, though, set up a my_hdr that automatically Bcc's | everything back to yourself, and then you can set up a procmail rule | that saves messages to yourself in a special folder. As far as I know, | it would effectively be the same thing. This has come up in the archives. | Also should not (or can not) the Bcc: details be saved in the loval | folder - this is useful information. | | Dunno. It does. Sure you're not weeding some headers? -- René Clerc - ([EMAIL PROTECTED]) It's not the fall that kills you. It's the sudden stop at the end. -Douglas Adams PGP signature
Bad Taste, WAS: how do I automatiaclly moved 'Replied' messages to mbox ?
I find your X-echelon header to be in INCREDIBLY poor taste!!! Change you settings or post somewhere else. aloha, dave snip X-Echelon: FBI WTC NSA Handgun Anthrax Afghanistan Bomb Heroin Laden /snip On Mon, Oct 29, 2001 at 08:01:37PM +0100, Eric Van Buggenhaut wrote: Hi, I'm discovering all mutt functionalities and I must say this MUA is great. Now, what I'm trying to do is: I have a IN.perso folder where all my private e-mails arrive (thru procmail). This folder has a mbox defined in muttrc: mbox-hook IN.perso ~/Mail/perso I can easily get my read mail to be archived into the mbox using something like: folder-hook IN.perso 'set move=yes' but this isn't quite what I want. I'd like my 'replied' emails (those matching '~Q') to be automatically moved to mbox, but not the read ones. Is there a way of doing this ? Thanks for any tip. Please Cc me. -- Eric VAN BUGGENHAUT Oh My God! They killed init! You Bastards! --from a /. post \_|_/ Andago \/ \/ Av. Santa Engracia, 54 a n d a g o |--E-28010 Madrid - tfno:+34(91)2041100 /\___/\http://www.andago.com / | \ Innovando en Internet [EMAIL PROTECTED]
Re: OT: not able to set textwidth to 65
On Tue, Oct 30, 2001 at 12:39:24PM +0530, Suresh Ramasubramanian wrote: Matej Cepl mutt [30/10/01 01:20 -0500]: Is anybody able to help me (sorry, for OT question, but I guess that there are many vim users on this list), please? Try this # Use mutt.editor as our editor set editor=vim +':set textwidth=65' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s You could replace the awk invocation with +'/^$/+1' snip Regards, Doug
Re: Bad Taste, WAS: how do I automatiaclly moved 'Replied' messages to mbox ?
Dave Price wrote: I find your X-echelon header to be in INCREDIBLY poor taste!!! Change you settings or post somewhere else. snip X-Echelon: FBI WTC NSA Handgun Anthrax Afghanistan Bomb Heroin Laden /snip ??? that seems kind of silly. weed it out if you don't like it. w -- GPG Public Key: http://infinitejazz.net/will/pgp/
Re: unable to post to AOL
On Tue, Oct 30, 2001 at 03:41:48PM -0700, Rob 'Feztaa' Park wrote: On Tue, Oct 30, 2001 at 06:41:39PM +0530, Suresh Ramasubramanian (dis)graced my inbox with: MuttER mutt [30/10/01 07:26 -0500]: My 'setup of SMTP' is not BROKEN. It works fine. As I said before, I only have had problems that I am aware of, posting to AOL. I get error messages returned as I quoted previously. If you were sending out mail as [EMAIL PROTECTED] it _was_ broken Is that what mail would look like with it off? I guess the reason I don't have this problem has more to do with my mutt config than with my postfix config! I had my_hdr's setting the From: and Reply-To: headers, which would avoid that envelope_from problem altogether. ---end quoted text--- moxnix... As long as the host.domain resolves, the user name does not have to be real apparently. Question -- -- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
Re: unable to post to AOL
At 15:41 -0700 30 Oct 2001, Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: Is that what mail would look like with it off? I guess the reason I don't have this problem has more to do with my mutt config than with my postfix config! I had my_hdr's setting the From: and Reply-To: headers, which would avoid that envelope_from problem altogether. No, it wouldn't. When $envelope_from is not set (the default), using my_hdr From: will only set the From: header. Same for the $from setting. The contents of the Reply-To: header are totally irrelevant. The address that AOL and many other places check is the envelope sender. This is often placed in the the From (note the space) line of mbox folders, or possibly a Return-Path: header. If $envelope_from is set, mutt will attempt to use whatever address is in the From: header for this as well. If $envelope_from is not set, mutt relies on your MTA to choose the envelope sender address by itself. The intended use for $envelope_from is to allow people to fully vary the address that they use, especially for posting to mailing lists that check if the envelope sender is a subscriber. Working around broken MTA configs is only a somewhat nice side benefit. But, even with this it's still a good idea to fix the MTA config, since there may be other programs on your system that send mail. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ To err is human, to forgive, beyond the scope of the Operating System.
Re: unable to post to AOL
On Tue, Oct 30, 2001 at 05:41:10PM -0600, Aaron Schrab (dis)graced my inbox with: At 15:41 -0700 30 Oct 2001, Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: Is that what mail would look like with it off? I guess the reason I don't have this problem has more to do with my mutt config than with my postfix config! I had my_hdr's setting the From: and Reply-To: headers, which would avoid that envelope_from problem altogether. No, it wouldn't. When $envelope_from is not set (the default), using my_hdr From: will only set the From: header. Same for the $from setting. The contents of the Reply-To: header are totally irrelevant. The address that AOL and many other places check is the envelope sender. This is often placed in the the From (note the space) line of mbox folders, or possibly a Return-Path: header. If $envelope_from is set, mutt will attempt to use whatever address is in the From: header for this as well. If $envelope_from is not set, mutt relies on your MTA to choose the envelope sender address by itself. The intended use for $envelope_from is to allow people to fully vary the address that they use, especially for posting to mailing lists that check if the envelope sender is a subscriber. Working around broken MTA configs is only a somewhat nice side benefit. But, even with this it's still a good idea to fix the MTA config, since there may be other programs on your system that send mail. Ah! I get it now ;) Yeah, actually now that you say it, closer inspection of my headers says that my return path header used to be [EMAIL PROTECTED] (address to me on my local machine, I don't use it because my machine is commonly off), but now it's [EMAIL PROTECTED] Thanks :) -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- The most overlooked advantage of owning a computer is that if they foul up, there's no law against whacking them around a bit. -- Eric Porterfield
[Q] reply address to mailing list
Hi, Could you tell me how to make the To: address set to the mailing list addres when I try to make a reply to a mailing list? I always see the writer's address in the To: when I make a reply. Thanks, -- YOON, Joo-Yung / ArBaGo Int'l KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302) Mobile +82.19.350.1369 Fax +82.32.655.855.9 Email [EMAIL PROTECTED]
Re: [Q] reply address to mailing list
On Wed, Oct 31, 2001 at 01:07:12PM +0900, YOON, Joo-Yung wrote: Hi, Could you tell me how to make the To: address set to the mailing list addres when I try to make a reply to a mailing list? snip Check out the 'Mailing Lists' section in the manual. 'lists' and 'subscribe' are the relevant commands. Regards, Doug
Re: OT: not able to set textwidth to 65
Doug Kearns mutt [31/10/01 10:32 +1100]: On Tue, Oct 30, 2001 at 12:39:24PM +0530, Suresh Ramasubramanian wrote: # Use mutt.editor as our editor set editor=vim +':set textwidth=65' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s You could replace the awk invocation with +'/^$/+1' Nice, thanks. -srs