Re: alias creation out of received emails (mutt 1.4i)
* Lukas Ruf <[EMAIL PROTECTED]> [2002-10-09 05:45]: > creating aliases out of received emails creates > headaches to me since I switched to mutt 1.4i. > > = Personal Name: > - Mike Miller > = [mike.miller = [EMAIL PROTECTED]] Accept? ([yes]/no): > > The problem now is found that the Personal Name > is neither proposed nor saved when I entered it. huh? then why do you present mutt's prompt for the personal name? is this merely the fictitious prompting? > In my alias file there is only > alias mike.miller [EMAIL PROTECTED] > Why? Has anyone any idea? no. it certainly does work with mutt 1.4 for me just tested it again on your very email. result: alias ruf Lukas Ruf <[EMAIL PROTECTED]> so take another look at the structure of that From: line. Sven
saving several attachments in a specified directory
Hi List, I recently received a message with a huge number of pictures attached. Now I want to store all these (or tagged ones) pics in a specified folder. Can anybody tell me how to do this? Perhaps a sample? I am just able to store the files in my home dir (default...) Thanks, jochen -- jochen issing mailto:[EMAIL PROTECTED] http://www.mcf-music.de GPG:0A121BC
Re: saving several attachments in a specified directory
* jochen issing <[EMAIL PROTECTED]> [09-10-2002 13:56]: > I recently received a message with a huge number of pictures attached. > Now I want to store all these (or tagged ones) pics in a specified > folder. Can anybody tell me how to do this? Perhaps a sample? Currently, mutt asks per file where and under what name this file has to be saved. IM(H)O these are not prompts you want to skip. > I am just able to store the files in my home dir (default...) Change dir to the destination folder and fire mutt from there... -- René Clerc - ([EMAIL PROTECTED]) A Smith and Wesson beats four aces. -Canada Bill Jones msg31673/pgp0.pgp Description: PGP signature
Re: saving several attachments in a specified directory
jochen issing ([EMAIL PROTECTED]) muttered: > I recently received a message with a huge number of pictures attached. > Now I want to store all these (or tagged ones) pics in a specified > folder. Can anybody tell me how to do this? Perhaps a sample? This has become an FAQ. Check the archives. HTH, Michael -- "Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs." (By Dennis Ritchie) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: saving several attachments in a specified directory -> macro adds /path
* jochen issing <[EMAIL PROTECTED]> [2002-10-09 11:55]: > I recently received a message with a huge number of pictures attached. > Now I want to store all these (or tagged ones) pics in a specified > folder. Can anybody tell me how to do this? Perhaps a sample? > I am just able to store the files in my home dir (default...) oh, my, this *is* a faq by now... and the answer is: "use a macro!" macro attach S /path this makes the cursor jump to the "beginning-of-line" ("bol") at the prompt for the filename, thus adding the "/path" before the filename (if there is one). when you to to the attachments menu with "view-attachments" ('v') then you can tag-entry ('t') all the parts you want to save and then use the tag-prefix (';') command before you use save-entry ('s'); mutt will prompt you before saving each "entry" (attachment/file/part), and the macro will add the selected path automatically. drawback:the /path is *fixed* in the macro. workaround: maybe use $DIR_ATTACH in the macro.. wish:add an option to set the favourite directory for saving attachments in. (fefe - can you please add this to the faq?) Sven [who will add this macro to the setup page] -- Sven Guckes [EMAIL PROTECTED] http://www.guckes.net/mutt/the MUTT PAGES: Binaries| Bugs| DOWNLOAD| History| Intro| Installation| Links| MailList| NEWS| Patches| Philosophy| Pictures| Quotes| SETUP| Sites| Usenet| Users| Utilities| Windows| Wishlist -- Comparison to Elm|.. Not for everyone!| Pet Peeves| Sigs.
Re: alias creation out of received emails (mutt 1.4i)
On Wed, 09 Oct 2002, Sven Guckes wrote: > > The problem now is found that the Personal Name > > is neither proposed nor saved when I entered it. > > huh? then why do you present mutt's prompt for the personal name? > is this merely the fictitious prompting? > I checked with your email address. Your Personal Name is proposed. > no. it certainly does work with mutt 1.4 for me > just tested it again on your very email. result: > This results in alias guckes [EMAIL PROTECTED] So, I miss your personal name? Any idea? Is there any format-option for aliases somewhere? Thanks, -- Lukas Ruf http://www.lpr.ch http://www.maremma.ch http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org} Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org
Re: saving several attachments in a specified directory -> macro adds /path
[ no cc to fefe ] Hi, * Sven Guckes [02-10-09 14:24:56 +0200] wrote: [...] > wish:add an option to set the favourite > directory for saving attachments in. Because mutt sucks in this particular sence I made a patch which is kind of ``works for me''. It's attached. How it works: It prepends the value of $attach_dir _before_ prompting so that one can change it from case to case. bye, Rocco [ not cc'ing to mutt-dev ] --- globals.h.orig Sun Aug 4 13:03:23 2002 +++ globals.h Sun Aug 4 13:03:42 2002 @@ -34,6 +34,7 @@ WHERE char *AliasFmt; WHERE char *AttachSep; WHERE char *Attribution; +WHERE char *AttachDir; WHERE char *AttachFormat; WHERE char *Charset; WHERE char *ComposeFormat; --- init.h.orig Sun Aug 4 13:03:57 2002 +++ init.h Sun Aug 4 13:05:27 2002 @@ -193,6 +193,11 @@ ** If set, Mutt will prompt you for carbon-copy (Cc) recipients before ** editing the body of an outgoing message. */ + { "attach_dir", DT_PATH, R_NONE, UL &AttachDir, UL "~"}, + /* + ** .pp + ** Default location where attached files should be saved to. + */ { "attach_format", DT_STR, R_NONE, UL &AttachFormat, UL "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " }, /* ** .pp --- recvattach.c.orig Wed Sep 26 12:33:09 2001 +++ recvattach.cSun Aug 4 13:07:50 2002 @@ -379,7 +379,16 @@ int append = 0; if (body->filename) -strfcpy (buf, body->filename, sizeof (buf)); + { +if (AttachDir) +{ + snprintf (buf, sizeof (buf), "%s/", AttachDir); + strncat (buf, body->filename, _POSIX_PATH_MAX - + strlen (body->filename) - strlen (AttachDir) + - 1); +} +else strfcpy (buf, body->filename, sizeof (buf)); + } else if(body->hdr && body->encoding != ENCBASE64 && body->encoding != ENCQUOTEDPRINTABLE &&
Problem with IMAP and patterns
Good Morning All, I am having a problem using patterns with mail on an IMAP server. I believe the problem is that mutt does not fetch the headers from the IMAP server and thus is not able to match patterns against them. Here is what I am trying to do. I want to move all my mail from the linux kernel mailing list, so I run the mutt macro: T~elinux-kernel However, instead of tagging all the mail from the linux-kernel mailing list, it only tags the messages I have already read. I tried to work around this by copying all my mail to a dummy folder: T~A;Cxyz and while this does dump it into a file called xyz, it does not seem to cause mutt to read the headers, so this workaround didnt work. Does anyone have any ideas for making this work? Thanks, Jim
short time in index view?
Hi, I'm trying to get the short time to come up in my index view. I got all the %d %D and other variations regard sending time zone and receiving time zone (great if you are using Qmail). However, it's giving me very long date and time fields. How can I just get something like: 10/09/02 10:15 or 10/09 1:15. Something short and concise. TIA! -- Eric
Re: Update IMAP Immediately
On Tue, Oct 01, 2002 at 09:02:18PM -0400, Kurt Lieber wrote: > On Tue, Oct 01, 2002 at 05:49:28PM -0700 or thereabouts, Jack Bates wrote: > > How can I force mutt to update my IMAP server - changing, for instance, > > the "new" flag - immediately, instead of waiting until I quit? Thanks, > > $, by default, resyncs your IMAP mailbox. $ also expunges deleted messages in the mailbox. An alternative, which does not have this effect, is to leave the message index for the folder browser, and re-open the folder. Paul
Re: short time in index view?
* Eric <[EMAIL PROTECTED]> [2002-10-09 13:19]: > However, it's giving me very long date and time fields. How can I > just get something like: > > 10/09/02 10:15 > > or 10/09 1:15. Something short and concise. From the manual, section 6.3.84: %d date and time of the message in the format specified by ``date_format'' converted to sender's time zone %D date and time of the message in the format specified by ``date_format'' converted to the local time zone Set date_format to something short. Another option are the %{}, %(), %<>, and %[] formats: %{fmt} the date and time of the message is converted to sender's time zone, and ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales %[fmt] the date and time of the message is converted to the local time zone, and ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales %(fmt) the local date and time when the message was received. ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales % the current local time. ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales. (darren) -- One cannot make an omelette without breaking eggs -- but it is amazing how many eggs one can break without making a decent omelette. -- Professor Charles P. Issawi
Re: short time in index view?
On Wed, Oct 09, 2002 at 01:34:26PM -0400, darren chamberlain wrote: > > Set date_format to something short.s Grrr, now I get it. I seem to have missed the date_format section in the .muttrc. Jeez > > Another option are the %{}, %(), %<>, and %[] formats: I tried these but I think my syntax was incorrect. Does anyone have an example syntax. -- Eric
Re: short time in index view?
* On 2002.10.09, in <[EMAIL PROTECTED]>, * "Eric" <[EMAIL PROTECTED]> wrote: > > > > Another option are the %{}, %(), %<>, and %[] formats: > > I tried these but I think my syntax was incorrect. Does anyone have > an example syntax. man strftime. %m/%d %H:%M gives "10/09 12:49" right here, now. You can test strftime sequences with (for example): date "+%m/%d %H:%M" -- -D.We establised a fine coffee. What everybody can say Sun Project, APC/UCCO TASTY! It's fresh, so-mild, with some special coffee's University of Chicago bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!" [EMAIL PROTECTED] Please love CAFE MIAMI. Many thanks.
Re: short time in index view?
On 10/09 10:46, Eric wrote: > I tried these but I think my syntax was incorrect. Does anyone have > an example syntax. I got this from someone on this list and I like it a lot: set index_format="%3C%?M?+& ?%Z %[%b %d] %-16.16F [%-9.9O] %-33.33s (%4l)" What is get is this: 118 Oct 09 To mutt-users@mutt [mutt-user] short time in index view? \ (16) For some reason, my head is stuck this morning. I use `date +%d%whatever` all the time but I'm having a hard time understanding the index_format. How can I get: 118 Oct 09 11:35 To mutt-users, etc, etc, ^ In the above example? (Or even 118 10/09 11:35 To mutt-users, etc, etc) Thanks for all your help so far! -- Eric
Re: short time in index view?
* Eric <[EMAIL PROTECTED]> [2002-10-09 14:35]: > How can I get: > > 118 Oct 09 11:35 To mutt-users, etc, etc, >^ > In the above example? > > (Or even 118 10/09 11:35 To mutt-users, etc, etc) Change the part in %[ ] to be something like %[%b %d %H:%M] or %[%m/%d %H:%M]. (darren) -- How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter? -- Woody Allen
Re: short time in index view?
On 10/09 15:51, darren chamberlain wrote: > > Change the part in %[ ] to be something like %[%b %d %H:%M] or %[%m/%d %H:%M]. Thanks! I'm feeling a little out of it today. -- Eric
imap troubles
I've nuilt mutt with imap and ssl support, but when i start it and try to connect to any imaps server it tells me that "SSL in unavailable". I don't understand whu it thinks SSL is unavaiable. (%:~)- ldd /usr/local/bin/mutt |egrep '(crypto|ssl)' libssl.so.2 => /lib/libssl.so.2 (0x4005c000) libcrypto.so.2 => /lib/libcrypto.so.2 (0x40089000) I can also connect to the imaps server using all 3 SSL protocols using command line openssl tools openssl s_client -host mars -port 993 -verify -debug -tls1 verify depth is 0 CONNECTED(0003) write:errno=104 ssl2 and ssl3 report the same thing. Mutt 1.4i (2002-05-29) Copyright (C) 1996-2001 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.4.19 (i686) [using ncurses 5.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 any ideas why this isn't wokrking? dan
imap issues
in the process of playing with imap i noticed something strange. when opening any mailbox, the current highlighted message appears to have the same text, foreground and background colors. in other words it appears as a solid red bar, where it should have white text. if i move to another message sometimes the solid red bar will remain on that first message, and the newly selected message also appears hihglighted, but displays as it it should. has anyone seen this before? thanks, dan Mutt 1.4i (2002-05-29) Copyright (C) 1996-2001 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.4.19 (i686) [using ncurses 5.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 SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/local/share/mutt" SYSCONFDIR="/usr/local/etc" EXECSHELL="/bin/sh" -MIXMASTER To contact the developers, please mail to <[EMAIL PROTECTED]>. To report a bug, please use the flea(1) utility.
imap troubles
I've nuilt mutt with imap and ssl support, but when i start it and try to connect to any imaps server it tells me that "SSL in unavailable". I don't understand whu it thinks SSL is unavaiable. (%:~)- ldd /usr/local/bin/mutt |egrep '(crypto|ssl)' libssl.so.2 => /lib/libssl.so.2 (0x4005c000) libcrypto.so.2 => /lib/libcrypto.so.2 (0x40089000) I can also connect to the imaps server using all 3 SSL protocols using command line openssl tools openssl s_client -host mars -port 993 -verify -debug -tls1 verify depth is 0 CONNECTED(0003) write:errno=104 ssl2 and ssl3 report the same thing. Mutt 1.4i (2002-05-29) Copyright (C) 1996-2001 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.4.19 (i686) [using ncurses 5.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 any ideas why this isn't wokrking? dan
Re: alias creation out of received emails (mutt 1.4i)
* Lukas Ruf <[EMAIL PROTECTED]> [2002-10-09 12:28]: > I checked with your email address. Your Personal Name is proposed. good. > This results in > alias guckes [EMAIL PROTECTED] oops? > So, I miss your personal name? Any idea? it all depends on how you treat your doggie. did you try to teach him new tricks, perhaps? fed him any weird patches lately? or maybe you should take it for walkies? > Is there any format-option for aliases somewhere? well, there is the option "alias_format" - but this would affect the presentation in the alias menu only. i hope. but if it *does* affect the creation of an alias with the create-alias command then it must be because you changed its value. but you didn't, right? > From: Lukas Ruf <[EMAIL PROTECTED]> > Reply-To: Lukas Ruf <[EMAIL PROTECTED]> the Reply-To is completely redundant. Sven
Re: imap issues - color of indicator
* dan radom <[EMAIL PROTECTED]> [2002-10-09 21:27]: > Mutt 1.4i (2002-05-29), Linux 2.4.19 (i686) [using ncurses 5.2] > in the process of playing with imap i noticed something strange. > when opening any mailbox, the current highlighted message appears to > have the same text, foreground and background colors. in other > words it appears as a solid red bar, where it should have white text. this happens on imap folders only? and why is there color when mutt's default is to show no color at all? so what is your color configuration? does the same happen with mutt linked to slang (1.4.6 now)? this following works fine for me: color indicator white red perhaps your setup is using some "default" color there? > if i move to another message sometimes the solid red > bar will remain on that first message, and the newly > selected message also appears hihglighted, but displays > as it it should. has anyone seen this before? no. then again, i don't use imap. ;-) > Cc: [EMAIL PROTECTED] please - don't CC yourself - especially when sending to a mailing list. some people never get it right with group-reply vs list-reply... use "Bcc: self" - or "set copy" along with "set record=!". > Mail-Followup-To: [EMAIL PROTECTED], [EMAIL PROTECTED] so you're another one of those who are not subscribed to this list? Sven -- Sven Guckes [EMAIL PROTECTED] S-Lang 1.4.6 [2002-10-07] ftp://ftp.fu-berlin.de/unix/misc/slang/v1.4/ used eg by these programs: SLANG 605347 Oct 7 20:37 slang-1.4.6.tar.bz2 jed (editor), most (pager), SLANG 772503 Oct 7 20:37 slang-1.4.6.tar.gz mutt (mailer), slrn (newsreader).
Re: Problem with IMAP and patterns -- ~e -> ~C
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-10-09 14:19]: > I am having a problem using patterns with mail on an IMAP server. hmm? are there any special patterns for use with IMAP servers? > I believe the problem is that mutt does not fetch the headers from > the IMAP server and thus is not able to match patterns against > them. Here is what I am trying to do. I want to move all my mail > from the linux kernel mailing list, so I run the mutt macro: > > T~elinux-kernel > > However, instead of tagging all the mail from the linux-kernel > mailing list, it only tags the messages I have already read. try this pattern instead then: T ~C linux-kernel > I tried to work around this by copying > all my mail to a dummy folder: > > T~A;Cxyz > > and while this does dump it into a file called xyz, > it does not seem to cause mutt to read the headers, > so this workaround didnt work. well, when you have copied the messages into a *local* folder then you *should* get the headers with the messages, right? ps: please do *not* use the address "[EMAIL PROTECTED]" but "[EMAIL PROTECTED]" - thankyou. Sven
Re: ISO cancel option in quit prompt from send-message
On Tue, Oct 08, 2002 at 09:59:27PM -0400, Ken Weingold wrote: > On Tue, Oct 8, 2002, rex wrote: > > On Tue, 08 Oct 2002 at 06:10:11PM -0700, Michael Elkins wrote: > > > Technically, control-G is not a valid command in that context. It only > > > works inside of prompts, and there is no help menu available when using > > > the line-editor. It would be misleading to put it elsewhere. > > > > Rather a large number of people have trouble discovering it and it's an > > essential command. IMHO, it ought to be easier to find. > > Then why not put it in the Help line for newbies? For the same reason that it shouldn't be put in the help menu. The help line is just a short form of the help menu. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
wu-imapd, mutt, recursive dir listings
I'm in the process of setting up a new mail server, I installed uw-imap (debian sid uw-imap-ssl 2001adebian-7 ppc). During login (debian sid mutt 1.4.0-4 x86) the connection hangs for ~ 20 minutes. This same configuration works fine on the old mail server (rh 6.2 uw-imap 2000c x86). Strace reveals that the client is hanging on a read while the server recursively calls stat on every file in my home directory (and follows sym links). Using stunnel and tcpdump I can watch the connection. Here's the stripped down version: S: * OK [CAPABILITY IMAP4REV1 X-NETSCAPE LOGIN-REFERRALS AUTH=PLAIN S: * AUTH=LOGIN] mail-server IMAP4rev1 2001.315 at Wed, 9 Oct 2002 02:30:37 -0600 S: * (MDT) C: a00 login username password S: a00 OK [CAPABILITY IMAP4REV1 X-NETSCAPE NAMESPACE MAILBOX-REFERRALS SCAN S: SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User username S: authenticated C: a01 list "" "" spin disks and wait forever here S: * LIST (\NoSelect) "/" "" S: a01 OK LIST completed Everything works fine with no long waits after this. Twiddling with imap_namespace in .muttrc didn't change this initial listing command. Anyone seen anything like this? The lack of output for so much work and previous versions not doing such makes me think there is a uw-imap bug, but it works fine with other clients. The initial list ignoring namespace configs suggests a bug in mutt as well. Any thoughts or ideas? On a slightly related issue. How do people like cyrus's imap server? Is it worth converting large mail archives and scripts to the new format? How much trouble does the new format and accessibility cause with procmail and friends? Thanks... >>>--> -- +-+---+---+ | Ed Schaller | [EMAIL PROTECTED] | mistymushroom | +-+---+---+ msg31694/pgp0.pgp Description: PGP signature