Re: How to deal with duplicate messages
Not long ago (exactly Sat, 13 Nov 1999) Roberto Suarez Soto wrote: > > Hi! > > I find myself lately receiving some duplicated messages, and I was > wondering if mutt could handle them (i.e., save the dupes to another folder or > simply delete them) by itself or I need some external script/program :-m I > think I could do some Perl script for this, but first I'd like to know if > there's already something like that :-) I think this' something that has been > discussed before in the list, so a accurate redirection to the list archives > would be useful too :-) This one served me well when experimenting with folder-hooks (mutt-list had 26000 mails after some testing ;-) I have the following as a bash-script: --- formail -q -D 12000 idcache < $1 -s > $1.bk mv $1.bk $1 rm idcache 2> /dev/null --- I named it remdup, so "remdup ~/Mail/mutt-users" would delete all duplicates from the mutt-folder. Greetings Dirk +---Dirk G. Hübner-+ | For PGP-Key send Mail with Subject "Get Key" | | LUGG - Linux User Group Giessen: http://www.lugg.de | +--+
Re: Mail-Followup-to
On 1999-11-13 22:49:12 +0100, Niels Rasmussen wrote: > What´s this Mail-Followup-To and how can I disable it ?? It's all explained in the mailing list archives, and, btw, serves to save bandwidth when someone replies to mailing list messages from you. -- http://www.guug.de/~roessler/
Re: [off - topic] advice on procmail configuration for linux-kernel-digest
On Sat, Nov 13, 1999 at 05:43:51AM -0500 or thereabouts, [EMAIL PROTECTED] wrote: > hi, > > This is slightly offtopic. > I subscribe to linux-kernel-digest mailing list. To split the digest, I have the >foll. rule in my .procmailrc: [magic snipped] > The problem with this is that I lose threading. I suspect that this is > because of the limited no. of headers per mail. I'm told there's a procmail mailing list out there :) But I can give a mutt-related half-answer. Sort by subject. It will at least sort the thing into sections. folder-hook . set sort=whatever you normally use folder-hook kernel set sort=subject Or just 'os' to sort it that way from within mutt. Telsa
Re: [off - topic] advice on procmail configuration for linux-kernel-digest
At 05:43 -0500 13 Nov 1999, [EMAIL PROTECTED] wrote: > I subscribe to linux-kernel-digest mailing list. To split the digest, I have the >foll. rule in my .procmailrc: > The problem with this is that I lose threading. I suspect that this is because of >the limited no. of headers per mail. > What header do I have to add to enable threading? Depends what type of threading you're looking for. Mutt will do some limited group related messages together based on just the subject as long as $strict_threads isn't set. But, in order to do real threading, Mutt needs the Message-ID header (of the original) and either References or In-reply-to (from the reply). Once this information is lost, it's basically gone forever. It would be possible to manually regenerate this information, it's most likely more work that it's worth. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ The only difference between a car salesman and a computer salesman is that the car salesman knows he's lying.
Autocompletion
A typical situation: I receive a message with a couple of files attached. I want to save them in some directory. I press v, then s and Mutt prompts me to enter the file name. Now I want just to prepend a different directory name before the default file name which suits me fine. I move to the start of line and begin typing. After first three characters I remember the file name autocompletion feature and press Tab. The directory name gets expanded, but everything after it (i.e. the default file name) disappears. Very annoying, isn't it? This "feature" plagues all kinds of tab-completion. Marius Gedminas -- The C programming language combines the power of assembly language with the readability of assembly language.
Re: How to deal with duplicate messages
Hi, i wrote: ++ 13/11/99 21:01 +0100 - Rejo Zenger: >> :0 Wh: msgid.lock >-^ >> | formail -D 8192 msgid.cache > >There shouldn't be a space there. You'd better change this to > :0 Wh :msgid.lock > :0 Wh:msgid.lock [...] This is incorrect. Procmail will ignore all the space and it's correct syntax as well. I was mistaken here. Sorry. -Rejo. -- = Rejo Zenger [Sister Ray Crisiscentrum] [EMAIL PROTECTED] = http://mediaport.org/~sister PGP: see headers
Re: Autocompletion
On Sun, Nov 14, 1999 at 13:27:25 +0200, Marius Gedminas wrote: > A typical situation: I receive a message with a couple of files > attached. I want to save them in some directory. I press v, then s > and Mutt prompts me to enter the file name. Now I want just to prepend > a different directory name before the default file name which suits me > fine. I move to the start of line and begin typing. After first three > characters I remember the file name autocompletion feature and press > Tab. The directory name gets expanded, but everything after it (i.e. > the default file name) disappears. Very annoying, isn't it? It doesn't matter. Just type the directory and press enter. Then Mutt will ask: "File is a directory, save under it?", and the attachment will saved in the specified directory with the default filename if you answer yes. -- Byrial
Default editor ??
Hi all I have a challenge for you ;-) The fte-editor contains 2 parts: For the console sfte For X xfte Now how can I twist the lines in set editor="" to use *fte in both enviroments ?? Thanks in advance :-) /Niels -- Niels Rasmussen | "To do is to be" -- Plato [EMAIL PROTECTED] | "To be is to do" -- Kant Registred Linux user #133791| "Do be do be do" -- Sinatra
Re: Default editor ??
On Sun, Nov 14, 1999, Niels Rasmussen wrote: > Hi all > > I have a challenge for you ;-) > > The fte-editor contains 2 parts: > > For the console sfte > For X xfte > > Now how can I twist the lines in > > set editor="" > > to use *fte in both enviroments ?? Set up a script and set that as the editor. The script could be something like --- #!/bin/ksh if [ -n "$DISPLAY" ] then xfte else sfte fi --- -- |Chris Costello <[EMAIL PROTECTED]> |"Virtual" means never knowing where your next byte is coming from. `--
New mail in ... but there isn't any
Hi! I rarely post a question but this one baffles me totally. I've been using mutt since god-knows-when (0.88.x or s.t.h) We use NFS mounted mailboxes on both Solaris 2.6 and Linux 2.2.5-22 here. mutt-1.0i (and 1.0pre3i) work fine except for this: I keep getting "New mail in " even if there isn't any. I have no clue why. On both Linux and Solaris. I get mailboxes marked with "N" although there definitely is no new mail: 1 -rw--- 1 hildeb snelting0 Sep 10 11:22 =inbox 2 N -rw--- 1 hildeb snelting0 Nov 12 11:21 =abuse 3 -rw--- 1 hildeb snelting10173 Nov 12 16:00 =spam 4 N -rw--- 1 hildeb snelting0 Nov 14 15:38 =root 5 -rw--- 1 hildeb snelting0 Nov 14 16:43 =bounces 6 -rw--- 1 hildeb snelting12080 Nov 14 19:09 =unknown-sender Compile options: -DOMAIN -HOMESPOOL -USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK -USE_IMAP -USE_POP +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_PGP2 -BUFFY_SIZE -EXACT_ADDRESS -ENABLE_NLS SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" SHAREDIR="/public/packages/network/mutt-1.0pre3/lib/mutt" SYSCONFDIR="/public/packages/network/mutt-1.0pre3/etc" ISPELL="/usr/bin/ispell" _PGPPATH="/public/bin/pgp" _PGPV2PATH="/public/bin/pgp" Please help me make my mutt usable. -- Ralf Hildebrandt <[EMAIL PROTECTED]> www.stahl.bau.tu-bs.de/~hildeb Remember: if brute force doesn't work, you're just not using enough.
Re: Default editor ??
Sun, Nov 14, 1999 at 01:01:56PM -0600, skrev Chris Costello: > > Hi all > > > > I have a challenge for you ;-) > > > > The fte-editor contains 2 parts: > > > > For the console sfte > > For X xfte > > > > Now how can I twist the lines in > > > > set editor="" > > > > to use *fte in both enviroments ?? >Set up a script and set that as the editor. The script could > be something like > > --- > #!/bin/ksh > > if [ -n "$DISPLAY" ] > then > xfte > else > sfte > fi > --- ---SNIP--- Is that really so simple ??? I am newbie so please correct me if I am wrong ! I am using bash so I presume that the 1 line should be: #!/bin/sh I should name the script editor Move the script to somewhere in my path like mv ~/editor /usr/bin/editor and make it executable with chmod a+x Then it should look like this in ~/.muttrc set editor="editor" Is this correct ?? /Niels -- Niels Rasmussen | "To do is to be" -- Plato [EMAIL PROTECTED] | "To be is to do" -- Kant Registred Linux user #133791| "Do be do be do" -- Sinatra
Final Story: Clueless about NLS
On Nov 12, 1999, David DeSimone wrote: > Howard Arons <[EMAIL PROTECTED]> wrote: > > > > I simply cannot get Mutt to show German characters in the pager. The > > characters either show up as ?'s or (worse yet) as Cyrillic-looking > > letters... > > Are you running Mutt on the console? What font do you have loaded? ... You're right on with that font question. I got to thinking about those Cyrillic chars appearing no matter what I tried, so d/l'd the "The Linux Keyboard and Console HOWTO" from sunsite. All was then revealed (well, almost all; I still don't really understand Unicodes). When I first installed my SuSE 5.2 distro 18 months ago, I made an uninformed choice for a screen font--it turns out to have Cyrillic extended characters :-( So, no amount of fooling around with locales, environment vars, charsets, etc. was going to give me anything but Cyrillic. I'm now loading 'lat1u-16.psf' as the screen font, because it contains its own Unicode table (the "u" denotes that), it looks good and it gives me all those umlauts and esszets. Thanks to you and all who have responded to my past whining. Howard Arons -- Powered by SuSE Linux 5.2 -- Upgraded to kernel 2.0.36 Communications by Mutt 1.0i
why those copies ??
Hi all I still dont get it ?? Why do mutt send a copy of my outgoing messages in the mailfolders of the mailingslists that I am sending to, and noone in my outgoing folder ?? The copy that goes to the mailfolders contains: Mail-followup-to in the header ?? Is this a feature or a bug ?? I have this in my .muttrc: set folder=~/Mail set copy=yes set record=~/Mail/sent-mail And in .procmailrc I have this: :0 Wh: msgid.lock | formail -D 8192 msgid.cache I have read a ton of documentation but still I have no answers ! Its really annoying though, could someone please tell me what to do ?? /Niels -- Niels Rasmussen | "To do is to be" -- Plato [EMAIL PROTECTED] | "To be is to do" -- Kant Registred Linux user #133791| "Do be do be do" -- Sinatra
Re: Default editor ??
On Sun, Nov 14, 1999, Niels Rasmussen wrote: > Is that really so simple ??? > > I am newbie so please correct me if I am wrong ! > > I am using bash so I presume that the 1 line should be: ... > I should name the script ... > Move the script to somewhere in my path like ... > and make it executable with > > Is this correct ?? Yes, although you could always just put it in ~/bin, and add ~/bin to your path. I use that instead. -- |Chris Costello <[EMAIL PROTECTED]> |State-of-the-art: What we could do with enough money. `-
Re: why those copies ??
On Sun, Nov 14, 1999, Niels Rasmussen wrote: > Hi all > > I still dont get it ?? > > Why do mutt send a copy of my outgoing messages in the mailfolders of the > mailingslists that I am sending to, and noone in my outgoing folder ?? Because you're on the list, and you're getting your own email through the mailing list. -- |Chris Costello <[EMAIL PROTECTED]> |Bad style destroys an otherwise superb program. `---
Re: New mail in ... but there isn't any
Thus spake Ralf Hildebrandt ([EMAIL PROTECTED]): > I rarely post a question but this one baffles me totally. I've been > using mutt since god-knows-when (0.88.x or s.t.h) > > We use NFS mounted mailboxes on both Solaris 2.6 and Linux 2.2.5-22 > here. mutt-1.0i (and 1.0pre3i) work fine except for this: > > I keep getting "New mail in " even if there isn't any. I > have no clue why. On both Linux and Solaris. You need to compile mutt again on the NFS client machines. Use ./configure --enable-nfs-fix (along with any other options you may normally use) The problem with some (well, most) nfs server implementations is they cache the c/m/atime attributes of small files. Normally this is no big deal, just slightly annoying at times. Mutt has a problem with this because it uses those attributes to determine if there is new mail in there. It compares the atime (last access) with the mtime (last modification) to see if the file was modified at a later time than the last access. So, if you do not enable the nfs fix you'll notice this happening with mailboxes that are pretty small. -- , oneiros ([EMAIL PROTECTED]) | . OpenPGP Supported . ' "It is easier to port a shell than a shell script." -- Larry Wall
Re: why those copies ??
Sun, Nov 14, 1999 at 02:46:41PM -0600, skrev Chris Costello: > On Sun, Nov 14, 1999, Niels Rasmussen wrote: > > Hi all > > > > I still dont get it ?? > > > > Why do mutt send a copy of my outgoing messages in the mailfolders of the > > mailingslists that I am sending to, and noone in my outgoing folder ?? > >Because you're on the list, and you're getting your own email > through the mailing list. Oh no, you are getting me all wrong. See, the problem is that when I am writing a mail, a copy of that mail goes directly to the "folder" that I write to ! i.e I write to mutt-users, the message appears immediately in folder "mutt-users". The message is sent! After a while, fetch/procmail catch the mail from my ISP and put in the same folder. Now I have two messages that is similar, except that the first one contains Mail-followup-to in the header ?? Now, what I want to, is that the first mail goes to sent-mail Do you see my point ?? How can I change that ?? BTW. thanks for your first reply (editor) :-) /Niels -- Niels Rasmussen | "To do is to be" -- Plato [EMAIL PROTECTED] | "To be is to do" -- Kant Registred Linux user #133791| "Do be do be do" -- Sinatra
Re: why those copies ??
Hi Niels! When you send the message you may have FCC =mutt-users which is caused by the config option set save_name. You could unset it. Sean On Sun, 14 Nov 1999, Niels Rasmussen wrote: > Sun, Nov 14, 1999 at 02:46:41PM -0600, skrev Chris Costello: > > On Sun, Nov 14, 1999, Niels Rasmussen wrote: > > > Hi all > > > > > > I still dont get it ?? > > > > > > Why do mutt send a copy of my outgoing messages in the mailfolders of the > > > mailingslists that I am sending to, and noone in my outgoing folder ?? > > > >Because you're on the list, and you're getting your own email > > through the mailing list. > > Oh no, you are getting me all wrong. > > See, the problem is that when I am writing a mail, a copy of that mail > goes directly to the "folder" that I write to ! > > i.e > I write to mutt-users, the message appears immediately in folder > "mutt-users". > > The message is sent! > > After a while, fetch/procmail catch the mail from my ISP and put in the > same folder. > Now I have two messages that is similar, except that the first one > contains Mail-followup-to in the header ?? > > Now, what I want to, is that the first mail goes to sent-mail > > Do you see my point ?? > > How can I change that ?? > > BTW. thanks for your first reply (editor) :-) > > /Niels > > -- > > Niels Rasmussen | "To do is to be" -- Plato > [EMAIL PROTECTED] | "To be is to do" -- Kant > Registred Linux user #133791| "Do be do be do" -- Sinatra > > Sean -- Born Nov 12 1999 Amber Rose and Victoria May at 2.36pm and 2.49pm. Mother and babies doing fine *all donations of Beer welcome* Linux Uptime = 2 Days, 04 Hours and 24 Minutes
Re: sorting sent mail into subdirectory
Josh Rodman <[EMAIL PROTECTED]> wrote on Sat, 13 Nov 1999: > This will work, and is the best idea probabaly. "S" is unused, and it > seems reasonable. I had imagined I could control what the '=suggestion' > would be on the line, which would require the least training... You can do that too, with save-hooks. (Or fcc-save-hooks, which also affect Fcc.) They work just fine for me. :-) 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 / command, n.: A suggestion made to a computer.
Compilation problem with mutt 1.1.1i
Hi fellow mutt users... Just grabbed a copy of mutt 1.1.1i from ftp.guug.de. Unpack it, then: # ./configure --with-slang # make But I kept getting this messages. Dunno what's wrong =( --- Error messages --- gcc -DSHAREDIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I. -I/usr/local/include -I/usr/src/mutt-1.1.1/intl -Wall -pedantic -g -O2 -c curs_lib.c curs_lib.c: In function `mutt_yesorno': curs_lib.c:149: warning: ANSI C forbids braced-groups within expressions curs_lib.c:149: warning: ANSI C forbids braced-groups within expressions curs_lib.c:154: warning: ANSI C forbids braced-groups within expressions curs_lib.c:154: warning: ANSI C forbids braced-groups within expressions curs_lib.c: In function `mutt_endwin': curs_lib.c:258: parse error before `SLcurses_wattrset' make[2]: *** [curs_lib.o] Error 1 make[2]: Leaving directory `/usr/src/mutt-1.1.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mutt-1.1.1' make: *** [all-recursive-am] Error 2 --- End of errors --- Can anyone help? System is using slang 1.3.10 TIA -- m4v3r1ck -- ICQ UIN #26095019 Old UNIX programmers didn't just die. They turn into zombie processes...
Re: Compilation problem with mutt 1.1.1i
hi, I had faced the same problem. add a semicolon after the move() macro call in line 252 of file curs_lib.c and run make. HTH, Raju On Mon, Nov 15, 1999 at 12:19:35PM +0700, m4v3r1ck [[EMAIL PROTECTED]] wrote: > Hi fellow mutt users... > > Just grabbed a copy of mutt 1.1.1i from ftp.guug.de. Unpack it, then: > # ./configure --with-slang > # make > > But I kept getting this messages. Dunno what's wrong =( > > --- Error messages --- > gcc -DSHAREDIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\" > -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I. -I/usr/local/include > -I/usr/src/mutt-1.1.1/intl -Wall -pedantic -g -O2 -c curs_lib.c > curs_lib.c: In function `mutt_yesorno': > curs_lib.c:149: warning: ANSI C forbids braced-groups within expressions > curs_lib.c:149: warning: ANSI C forbids braced-groups within expressions > curs_lib.c:154: warning: ANSI C forbids braced-groups within expressions > curs_lib.c:154: warning: ANSI C forbids braced-groups within expressions > curs_lib.c: In function `mutt_endwin': > curs_lib.c:258: parse error before `SLcurses_wattrset' > make[2]: *** [curs_lib.o] Error 1 > make[2]: Leaving directory `/usr/src/mutt-1.1.1' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/mutt-1.1.1' > make: *** [all-recursive-am] Error 2 > --- End of errors --- > > Can anyone help? > System is using slang 1.3.10 > > TIA > > -- > m4v3r1ck -- ICQ UIN #26095019 > Old UNIX programmers didn't just die. They turn into zombie processes... - Get free email from CNN Sports Illustrated at http://email.cnnsi.com/
Small hack / save_name folder - [was: sorting sent mail into subdirectory]
* Josh Rodman ([EMAIL PROTECTED]) [991114 07:50]: > * Ronny Haryanto ([EMAIL PROTECTED]) [991114 05:12]: > > On 13-Nov-1999, Josh Rodman wrote: > > > Thus i created ~/Mail/sent. I want two main things: > > > > > A) all automatically saved mail should drop into this directory > > However, I would ideally like to keep the behavior of > "set save_name; unset force_name", but in a different directory. > > Is this possible? With source, anything is possible. Here is the 2 cent hack. I did this as there seemed to be no other possible way to achieve this functionality in mutt. Anyone think this is working into a proper diff to create a config variable called save_name_folder or something like that? The more general solution is of course to provide some kind of syntax or test for conditionally using a mailbox or testing for its existence in a pattern. --- mutt-1.0/hook.c Mon May 31 03:44:42 1999 +++ jsr-mutt-1.0/hook.c Sun Nov 14 21:44:22 1999 @@ -320,7 +320,12 @@ { adr = env->to ? env->to : (env->cc ? env->cc : env->bcc); mutt_safe_path (buf, sizeof (buf), adr); +#define JSR_HACK_DIR "sent" +#ifdef JSR_HACK_DIR + snprintf (path, pathlen, "%s/%s/%s", NONULL (Maildir), JSR_HACK_DIR, buf); +#else snprintf (path, pathlen, "%s/%s", NONULL (Maildir), buf); +#endif if (!option (OPTFORCENAME) && access (path, W_OK) != 0) strfcpy (path, NONULL (Outbox), pathlen); } Please let me know if I'm being an idiot, or if I should send this along to mutt-dev, or elsewise. -josh -- SuSE Inc. Tel: +1-510-628-3380 580 2nd Street, #210Fax: +1-510-628-3381 Oakland, CA 94607 Email: [EMAIL PROTECTED] USA WWW: http://www.suse.com
color mail depending on mail from alias group
hi, I have the foll. aliases: alias jacob [EMAIL PROTECTED] alias sunil [EMAIL PROTECTED] alias jojo [EMAIL PROTECTED] alias pilli [EMAIL PROTECTED] alias mahesh [EMAIL PROTECTED] alias friends jacob,sunil,jojo,pilli,mahesh I want to color all the mails coming from anybody in 'friends' aliases in blue. Is there any other way other than listing out each as color index blue default "~C ^jacobvv@" color index blue default "~C ^su135@" color index blue default "~C ^jojopt@" etc. ? Thanks in advance, Raju - Get free email from CNN Sports Illustrated at http://email.cnnsi.com/