Having different signatures depending on the recipient?

2002-06-03 Thread Markus Fischer

Hi,

I'ld like to know how I can have different signatures
depending on the recipient.

Therefore I'ld like to have a default signature which is
always used except for specific recipient addresses (mailing
lists) for which I'ld like to have a different signature
attached.

Can someone point me into the right direction how I can
accomplish this task?

thank you,

- Markus

ps: please respond to me directly as I'm not susbcribed to
the list, thx

-- 
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc




Re: SuSE RPMs (was Re: to save tagged messages)

2002-06-03 Thread Stephane Lentz

Hi Mutt pals, 


On Thu, May 30, 2002 at 09:28:34AM -0500, David T-G wrote:
 Mads --
 
 
 Hey, awesome!  Would you care to be part of the mutt RPM team?  Drop a
 note to [EMAIL PROTECTED] if you can contribute.  We have one
 SuSE guy but I don't know that he has more than 6.x...



No. I only have some 6.4 machines (the newest machines are running Mandrake 8.0
or 8.2 which I can build RPMs if you want). 
I've stored the SuSE 6.4 RPMs at : 
http://mutt.free.fr/

Regards, 

Stephane



-- 
---
Stephane Lentz / Alcanet International - Internet Services




Re: query-feature

2002-06-03 Thread David T-G

Rocco --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * David T-G [2002-06-03 04:44:10 CEST] wrote:
%  ...and then Rocco Rutte said...
% 
%  % I originally meant the '-Q' switch which has the advantage
% 
%  Oh, neat!  Now I suppose I have a reason to dig into 1.5.1
%  already :-)
% 
% Good, so your References: will hopefully re-appear? It seems
% that your mails only have In-Reply-To.

Um, really?  I had no idea...


% 
% If this is indetended, what are the reasons? A tribute to
% replying to multiple mails at once?

Even tagged reply should include the References: properly.  I guess I'll
have to look into that.  I've done nothing special to this one; let's see
how it comes across...


% 
% Cheers, Rocco


Thanks  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!




msg28524/pgp0.pgp
Description: PGP signature


Re: query-feature

2002-06-03 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
...
% 
% Good, so your References: will hopefully re-appear? It seems
% that your mails only have In-Reply-To.

Well, it gets even better...  My reply to Sven was full of references,
and then *your* reply to me had only two, and so the Refs have been
pruned since then.

So when will *you* be bringing back *your* References? ;-)


More later; [much past!] time to leave for work.

:-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!




msg28525/pgp0.pgp
Description: PGP signature


Re: Having different signatures depending on the recipient?

2002-06-03 Thread Michael Herman

On Mon, 3 Jun 2002 11:06:59 +0200
Markus Fischer [EMAIL PROTECTED] wrote:

 Hi,
 
 I'ld like to know how I can have different signatures
 depending on the recipient.
 
 Therefore I'ld like to have a default signature which is
 always used except for specific recipient addresses (mailing
 lists) for which I'ld like to have a different signature
 attached.
 
 Can someone point me into the right direction how I can
 accomplish this task?

send-hook.  Check out www.mutt.org and RTFM on this topic.



msg28526/pgp0.pgp
Description: PGP signature


Re: viewing 'inbox' as mail and not files?

2002-06-03 Thread David T-G

Martin --

...and then [EMAIL PROTECTED] said...
% 
% I'm running the latest mutt (1.4i?).

Yep.


% 
% For some reason (?), the list of current mail messages was moved to 'inbox'.
% OK, I'm not sure why, but I can deal with that.

Sounds like $move is set to yes.


% 
% When I switch my folder being viewed from default (spool) to 'inbox', mutt
% shows the messages as just a list of files (no, 'from:', 'subject:', etc.), not 
% mail messages.

Sounds like they were kinda sorta moved to a maildir (or an mh mailbox?) --
but like something went wrong along the way.  What are all of these files 
named?  Are they like 1, 2, 3, ... or like mutt-users, davidtg, bob, ... ?


% 
% How can I get mutt to display other folders as messages and not as files lists?

They definitely shouldn't look like this; usually you simply point to the
file (for mbox) or directory (for Maildir/) and mutt figures it out for
you.

For this directory inbox, do you have subdirs cur, new and tmp?
[You should check from your shell rather than from mutt.]  If so, then
you have a Maildir -- but the messages seem to be under the root instead
of under cur where they belong.  If not, is there a .mh_sequences file,
which would indicate it's an MH mailbox.

Take a look at one of the files in your editor (again from your shell);
does it have a line like

  From blah blah blah

at the top, or does it go right to one of

  Date:
  Received:
  From:

(note the colon after the From in the second group; the two headers are
different)?  If so, then you somehow have a bunch of mbox files at one(?)
message per file, and I don't know why they would have been split up
except by perhaps an mbox-hook or save-hook...


% 
% Thank you.

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!




msg28527/pgp0.pgp
Description: PGP signature


Re: Having different signatures depending on the recipient?

2002-06-03 Thread Cedric Duval

Michael Herman wrote:
  Can someone point me into the right direction how I can
  accomplish this task?

 send-hook.  Check out www.mutt.org and RTFM on this topic.

And patterns (hint: ~l and ~A).

-- 
Cedric



Re: query-feature

2002-06-03 Thread Rocco Rutte

Hi,

* David T-G [2002-06-03 13:16:43 CEST] wrote:
 ...and then Rocco Rutte said...

 % Good, so your References: will hopefully re-appear? It seems
 % that your mails only have In-Reply-To.

 Well, it gets even better...  My reply to Sven was full of references,

Not over here.

 and then *your* reply to me had only two, and so the Refs have been
 pruned since then.

 So when will *you* be bringing back *your* References? ;-)

As soon as I know if I can do something about it. This mail
is being answered from my daily unfiltered raw backup. And
not even there are References.

Cheers, Rocco



Re: query-feature

2002-06-03 Thread David T-G

Rocco --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * David T-G [2002-06-03 13:16:43 CEST] wrote:
%  ...and then Rocco Rutte said...
% 
%  % Good, so your References: will hopefully re-appear? It seems
%  % that your mails only have In-Reply-To.
% 
%  Well, it gets even better...  My reply to Sven was full of references,
% 
% Not over here.

Ahhh...  That's quite interesting, then.  I wonder where they went?  I
checked the copy that came back to me through the list, in fact, since it
was just a message or two up in the same folder.  So where did your copy
of the references go?  Hrmmm...


% 
%  So when will *you* be bringing back *your* References? ;-)
% 
% As soon as I know if I can do something about it. This mail
% is being answered from my daily unfiltered raw backup. And
% not even there are References.

How odd.  Time to check all of your posts and see when you quit getting
references, and from whom...

% 
% Cheers, Rocco


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!




msg28530/pgp0.pgp
Description: PGP signature


References (was: Re: query-feature)

2002-06-03 Thread Rocco Rutte

Hi,

* David T-G [2002-06-03 14:01:38 CEST] wrote:
 ...and then Rocco Rutte said...

 %  % Good, so your References: will hopefully re-appear? It seems
 %  % that your mails only have In-Reply-To.
 % 
 %  Well, it gets even better...  My reply to Sven was full 
 %  of references,
 % 
 % Not over here.

 Ahhh...  That's quite interesting, then.  I wonder where
 they went?

Vacation? Lunch break? ;-)

 I checked the copy that came back to me through the list,
 in fact, since it was just a message or two up in the same
 folder.  So where did your copy of the references go?

You mean that yours are complete? If so, this is really
weired. All other messages have correct References including
yours -- until some a certain point, only the In-Reply-To
was available.

 How odd.  Time to check all of your posts and see when you
 quit getting references, and from whom...

You mean, my messages don't have References at your side? If
so, then your setup is broken since everything is identical
in my fcc box.  The References: header of my mails contain
(...where I answered yours) only two entries: the parent
Message- ID (one of yours) and the Message-ID in the
parent's message In-Reply-To: (one of mine).

I conclude: we need a referee... ;-)

Cheers, Rocco



Re: mutt is ignoring hidden files as mailboxes

2002-06-03 Thread Alexander Skwar

So sprach Sven Guckes am 2002-05-27 um 20:28:54 +0200 :
 dejavu.  how about using a not-dotted file in a dot-dir,
 ie +.dir/file, eg +.secret/froschteich ?

?  I don't get it.  Maildir has just three subdirectories, new, cur and
tmp.  And to access a Maildir, you specify the name of the directory
containing the new, cur and tmp directories.

Or what do you mean?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 21 hours 49 minutes



Re: mutt doesn't list new mail in symlinked maildirs

2002-06-03 Thread Alexander Skwar

So sprach Will Yardley am 2002-05-21 um 15:10:19 -0700 :
 i'm pretty sure i've used symlinks in both directions and never had a
 problem either way.

I'm now using symlinks from ML-MUTT-USERS - .ML-MUTT-USERS and
everybody is happy.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 21 hours 51 minutes



Re: to save tagged messages

2002-06-03 Thread Jussi Ekholm

Benjamin Pflugmann [EMAIL PROTECTED] wrote:

 On Fri, May 31, 2002 at 01:43:23PM +0300, Jussi Ekholm wrote
 What I noticed, was, that it doesn't really tag those collapsed threads,
 only the first message. Is there any work-around for this? Would be nice
 to be able to mark a big bunch of (non-interesting) mails read quickly.
 
 Just use 
 
  Escttag-thread tag the current thread

It doesn't do the job either. I did tag a certain thread with
tag-thread, and then pressed ;N. Still, only the first article of that
thread got marked read...

-- 
Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
http://erppimaa.cjb.net/~ekhowl/   | GnuPG Public Key ID:  1410081E



msg28534/pgp0.pgp
Description: PGP signature


Re: to save tagged messages

2002-06-03 Thread David T-G

Dan, et al --

...and then Dan Boger said...
% 
% On Mon, Jun 03, 2002 at 05:17:10PM +0300, Jussi Ekholm wrote:
%  It doesn't do the job either. I did tag a certain thread with
%  tag-thread, and then pressed ;N. Still, only the first article of that
%  thread got marked read...
% 
% try ;wN (Tagged-SetFlag-New)

Aside from the fact that he's trying to *clear* (via toggling) the New
flag instead of *set* it, tagging doesn't work down in collapsed threads.
See my past thread on tricky limiting for some discussion of this as
well as possible workarounds for me that might work for Jussi.

Jussi, I suspect that you'll have to work up a macro which will
uncollapse the thread, do your toggle, and then recollapse it; I've no
idea if you can tag-uncollapse-thread or tag-prefix uncollapse-thread but
I suspect not :-(


% 
% :)
% 
% -- 
% Dan Boger
% Linux MVP
% brainbench.com
% 


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!




msg28536/pgp0.pgp
Description: PGP signature


Re: to save tagged messages

2002-06-03 Thread Michael Maibaum

On Mon, Jun 03, 2002 at 09:44:56AM -0500, David T-G wrote:
 Dan, et al --
 
 ...and then Dan Boger said...
 % 
 % On Mon, Jun 03, 2002 at 05:17:10PM +0300, Jussi Ekholm wrote:
 %  It doesn't do the job either. I did tag a certain thread with
 %  tag-thread, and then pressed ;N. Still, only the first article of that
 %  thread got marked read...
 % 
 % try ;wN (Tagged-SetFlag-New)
 
 Aside from the fact that he's trying to *clear* (via toggling) the New
 flag instead of *set* it, tagging doesn't work down in collapsed threads.
 See my past thread on tricky limiting for some discussion of this as
 well as possible workarounds for me that might work for Jussi.


I use Esc-r to set the messages as read

HTH

Michael



-- 
Dr Michael A. Maibaum - (W)+1 (415) 561 1682 - (H)+1 (415) 626 6733
[EMAIL PROTECTED] URL:http://www.gene-hacker.net/



msg28537/pgp0.pgp
Description: PGP signature


Re: duplicate emails

2002-06-03 Thread Sven Guckes

* blitzkrieg [EMAIL PROTECTED] [2002-06-02 23:03]:
 I've read the changelogs and I've noticed that the 1.4 is able to
 know if there are two (or more) occurences of the same email in a
 mailbox.  Is possible to delete duplicate emails? (not one by one,
 e.g. press X and it deletes all dup mails in a certain mbox)

delete-pattern ~= RET

PS: get a real name!

Sven

-- 
Sven Guckes   [EMAIL PROTECTED] (posting since 1992)
RealName FAQ  Using your realname on the Internet - Pros and Cons:
RealName FAQ  http://www.math.fu-berlin.de/~guckes/faq/using.realname.html



Re: Having different signatures depending on the recipient?

2002-06-03 Thread Sven Guckes

* Markus Fischer [EMAIL PROTECTED] [2002-06-03 11:02]:
 I'ld like to know how I can have different
 signatures depending on the recipient.
 I'd like to have a default signature which is always
 used except for specific recipient addresses
 (mailing lists) for which I'ld like to
 have a different signature attached.
 Can someone point me into the right direction
 how I can accomplish this task?

  send-hook .  'set signature=~/.signature'
  send-hook guckes 'set signature=~/.sig.sven'
  send-hook mutt-u 'set signature=~/.sig.mutt-users'
  send-hook @.*.at 'set signature=~/.sig.oesi'

 ps: please respond to me directly as
 I'm not susbcribed to the list, thx

see sig!

Sven

-- 
Sven Guckes   [EMAIL PROTECTED]
use lists address   when you are *not* subscribed
use subscribe address   when you   *are*   subscribed
- http://www.math.fu-berlin.de/~guckes/mutt/setup.html



Re: indicator color question

2002-06-03 Thread Sven Guckes

* Ken Weingold [EMAIL PROTECTED] [2002-06-02 17:55]:
 I am playing with more colors for the index.  Way too
 cool.  I can't believe I didn't do this stuff earlier.

;-)

 Anyway, I wanted to change the indicator, for
 example, for messages marked for deletion.

  color index blue default ~D

I use the same for message to
which I have already replied:

  color index blue default ~Q

 Can the indicator color not be
 changed like the index and such?

  color indicator white red

one fg/bg color combination - that's it.

Sven  [more color setup files in my sig]

-- 
Sven [EMAIL PROTECTED]  Sample Color Setup for Mutt:
MUTT  http://www.math.fu-berlin.de/~guckes/setup/mutt.color.body WOOF!,,
MUTT  http://www.math.fu-berlin.de/~guckes/setup/mutt.color.header (__/'.
MUTT  http://www.math.fu-berlin.de/~guckes/setup/mutt.color.index  /| |\



about 'mutt-users' mailing list

2002-06-03 Thread Jussi Ekholm

This thing has happened for me twice or thrice already, so now I decided
to ask what's going on. I am subscribed to this list, but on some
occasions (the two or three incidents I mentioned) I have received an
email where I was told, that I wasn't subscribed to mutt-users. Here's
the email I got (last time today):

From: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]: Non-member submission from Jussi Ekholm
To: [EMAIL PROTECTED]

Your submission to the list has been forwarded to the list owner
[EMAIL PROTECTED] for approval because you do not seem
to be on that list.

If you want to join the list, send email to [EMAIL PROTECTED],
with subscribe mutt-users in the message text (not the subject).

So, what's going on -- I *sure am* subscribed to this list. Is the list
configured so, that it automaticly removes the subscription of an user,
who haven't written mails to this list for some period of time?

Well, of course, I can send a new subscription mail to
[EMAIL PROTECTED], but it gets a bit annoying if I have to send them
from time to time. Any ideas what's causing this?

-- 
Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
http://erppimaa.cjb.net/~ekhowl/   | GnuPG Public Key ID:  1410081E



msg28541/pgp0.pgp
Description: PGP signature


Re: about 'mutt-users' mailing list

2002-06-03 Thread David T-G

Jussi --

...and then Jussi Ekholm said...
% 
% This thing has happened for me twice or thrice already, so now I decided
% to ask what's going on. I am subscribed to this list, but on some
% occasions (the two or three incidents I mentioned) I have received an
% email where I was told, that I wasn't subscribed to mutt-users. Here's
% the email I got (last time today):
% 
% From: [EMAIL PROTECTED]
% Subject: [EMAIL PROTECTED]: Non-member submission from Jussi Ekholm
% To: [EMAIL PROTECTED]

That is, I admit, interesting, since that's the address I see above,
which implies that you are subscribed with *that* address.

Let's see, here...  I see that Cedric has approved a few recent mails
from you, but not this one to which I am replying...  I know it's a silly
question, but are you *really* sure you're [still] subscribed from this
address?


% 
...
% If you want to join the list, send email to [EMAIL PROTECTED],
% with subscribe mutt-users in the message text (not the subject).

It never hurts to try, you know :-)


% 
% So, what's going on -- I *sure am* subscribed to this list. Is the list
% configured so, that it automaticly removes the subscription of an user,
% who haven't written mails to this list for some period of time?

No, not after inactivity (there are lots of lurk-only folks out there),
but ...


% 
% Well, of course, I can send a new subscription mail to
% [EMAIL PROTECTED], but it gets a bit annoying if I have to send them
% from time to time. Any ideas what's causing this?

... the list software and the moderator(s) have been known to kick people
off for bounced messages, but if you haven't had any other mail hiccups
this is unlikely.


% 
% -- 
% Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
% http://erppimaa.cjb.net/~ekhowl/   | GnuPG Public Key ID:  1410081E


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!




msg28542/pgp0.pgp
Description: PGP signature


Re: about 'mutt-users' mailing list

2002-06-03 Thread Steve Kennedy

On Mon, Jun 03, 2002 at 01:17:57PM -0500, David T-G wrote:

 % This thing has happened for me twice or thrice already, so now I decided
 % to ask what's going on. I am subscribed to this list, but on some
 % occasions (the two or three incidents I mentioned) I have received an
 % email where I was told, that I wasn't subscribed to mutt-users. Here's
 % the email I got (last time today):
 % 
 % From: [EMAIL PROTECTED]
 % Subject: [EMAIL PROTECTED]: Non-member submission from Jussi Ekholm
 % To: [EMAIL PROTECTED]
 That is, I admit, interesting, since that's the address I see above,
 which implies that you are subscribed with *that* address.
 Let's see, here...  I see that Cedric has approved a few recent mails
 from you, but not this one to which I am replying...  I know it's a silly
 question, but are you *really* sure you're [still] subscribed from this
 address?

The goa-head.org mail starts bouncing, it gets unsubbed ...

Steve

-- 
NetTek Ltd Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU, UK
tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455   mob 07775 755503
SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19



Re: to save tagged messages

2002-06-03 Thread Benjamin Pflugmann

Hi.

On Mon 2002-06-03 at 17:17:10 +0300, Jussi Ekholm wrote:
 Benjamin Pflugmann [EMAIL PROTECTED] wrote:
 
  On Fri, May 31, 2002 at 01:43:23PM +0300, Jussi Ekholm wrote
  What I noticed, was, that it doesn't really tag those collapsed threads,
  only the first message. Is there any work-around for this? Would be nice
  to be able to mark a big bunch of (non-interesting) mails read quickly.
  
  Just use 
  
   Esct  tag-thread tag the current thread
 
 It doesn't do the job either.

It does, as the main concern you expressed in your mail was that the
messages inside the collopsed thread were not tagged. I did not care
to investigate behind the main issue.

You seem to be right that tag-prefix (;) will not work on messages
in the collapsed thread, as tag-prefix seems to always only work on
the displayed messages (which comes in quite handy when you are
working on a limited view).

 I did tag a certain thread with tag-thread, and then pressed
 ;N. Still, only the first article of that thread got marked read...

On this, my answer would have been: Just use

^R   read-threadmark the current thread as read

For the stuff which does not have its own thread command, I fear you
have to rely on some macros as David said.

Bye,

Benjamin.


-- 
[EMAIL PROTECTED]



msg28544/pgp0.pgp
Description: PGP signature


Re: Two questions

2002-06-03 Thread David T-G

Adam --

...and then Adam Fields said...
% 
% I'm new to mutt (moving from mh-e), and I have two questions for which

Welcome!


% I can't find the answers in the docs.
% 
% 1) Is there a way to open part of a folder? Say I have a folder with
%2000 messages, and I want to only look at, say, 190-200?

You can limit your view to just about any slice that you want, but you'll
still be opening the whole folder (mbox, Maildir/, mh, MMDF) and so
processing time can be tough.  Fortunately, mutt is light and lean and
fast, and lots of folks have *huge* folders (my mutt-users folder has
just topped 10k messages! and is still quite responsive) without
problems.


% 
% 2) What's the right way to do batch refiling, particularly of mailing
%lists? Is there a way to specify a save-hook based on To: rather
%than From:?

The actual best way is the same as when it is delivered: run it through
procmail or another MDA.  Otherwise you should probably tag a pattern and
then save that bunch to wherever and go on to the next pattern.


% 
% 
% Thanks!

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!




msg28546/pgp0.pgp
Description: PGP signature


Re: Two questions

2002-06-03 Thread Thorsten Haude

Hi,

* Adam Fields [EMAIL PROTECTED] [02-06-03 23:04]:
1) Is there a way to open part of a folder? Say I have a folder with
   2000 messages, and I want to only look at, say, 190-200?
You have to open the whole thing, but you can limit it to a subset
afterwards. Use 'l'.

2) What's the right way to do batch refiling, particularly of mailing
   lists? Is there a way to specify a save-hook based on To: rather
   than From:?
The save-hook has a default pattern, but you can also use another one.
See $default_hook.

Thorsten
-- 
Der Leser hat's gut: Er kann sich seine Schriftsteller aussuchen.
- Kurt Tucholsky



Re: Two questions

2002-06-03 Thread John Iverson

* On Mon, 03 Jun 2002, Adam Fields wrote:

 1) Is there a way to open part of a folder? Say I have a folder
 with 2000 messages, and I want to only look at, say, 190-200?

Open the folder, then do a limit ('l' by default) using the
pattern ~m 190-200.

 2) What's the right way to do batch refiling, particularly of mailing
lists? 

You could, for example, tag-pattern ('T' by default) all
messages over 2 weeks old using the pattern ~d 2w.
Then save (move) all tagged messages to another folder:

  ;s

-- 
John



Re: Two questions

2002-06-03 Thread Rocco Rutte

Hi,

* John Iverson [2002-06-04 23:51:06 CEST] wrote:
 * On Mon, 03 Jun 2002, Adam Fields wrote:

  2) What's the right way to do batch refiling,
 particularly of mailing lists? 

 You could, for example, tag-pattern ('T' by default) all
 messages over 2 weeks old using the pattern ~d 2w.
 Then save (move) all tagged messages to another folder:

   ;s

That is sort of ``batch'', I guess. I miss one-by-one
instead of all-at-once. It would be nice if I could tag
messages I want to reply to so that I can answer each
individual mail instead of a mass reply...

Cheers, Rocco



Re: Two questions

2002-06-03 Thread Benjamin Pflugmann

Hi.

On Tue 2002-06-04 at 00:50:01 +0200, Rocco Rutte wrote:
[...]
 That is sort of ``batch'', I guess. I miss one-by-one
 instead of all-at-once. It would be nice if I could tag
 messages I want to reply to so that I can answer each
 individual mail instead of a mass reply...

Maybe I completely miss your point, as I am not sure why you would
want to do that. I guess you want to tag messages as you first read
the whole folder, and then start replying to the messages you picked
before.

You could tag the messages in question, then limit your view to tagged
messages and hit reply for each of them.  Considering the amount of
typing involved for answering a message, I doubt that extra r (or
g or L) does hurt.

Does that help or do you want to archieve something else?

Bye,

Benjamin.

-- 
[EMAIL PROTECTED]



msg28550/pgp0.pgp
Description: PGP signature


Re: Two questions

2002-06-03 Thread Adam Fields

On Mon, Jun 03, 2002 at 04:36:35PM -0500, David T-G wrote:
 Welcome!

Thanks!

 % I can't find the answers in the docs.
 % 
 % 1) Is there a way to open part of a folder? Say I have a folder with
 %2000 messages, and I want to only look at, say, 190-200?
 
 You can limit your view to just about any slice that you want, but you'll
 still be opening the whole folder (mbox, Maildir/, mh, MMDF) and so
 processing time can be tough.  Fortunately, mutt is light and lean and
 fast, and lots of folks have *huge* folders (my mutt-users folder has
 just topped 10k messages! and is still quite responsive) without
 problems.

I don't see immediately how to do that. Can you elaborate about the
possibilities here?

I have noticed that it's pretty fast. I'm using my existing mh folders
as-is; is there any info available on whether other folder types are
faster?

 % 
 % 2) What's the right way to do batch refiling, particularly of mailing
 %lists? Is there a way to specify a save-hook based on To: rather
 %than From:?
 
 The actual best way is the same as when it is delivered: run it through
 procmail or another MDA.  Otherwise you should probably tag a pattern and
 then save that bunch to wherever and go on to the next pattern.

My normal usage pattern is to look at all of the messages that come
in, then file them. What I'm looking for is the Pegasus Mail concept
of rules-based filing on main folder close. It seems I might be able
to sort of replicate this with procmail by having the mail filtered
and then picked up from the existing folder, but I'm a little fuzzy on
that.

I'm a little confused about reading new mail - from what I read, I
thought that mutt would pick up my new mail from the spool file and
put it in the mbox folder (+inbox), but it seems that when I open it,
I'm working with the spool file directly, and then I can move read
messages to the inbox on changing to another folder. Can you offer
more explanation of what's going on here? How does this mesh with
having procmail do the filtering?

This reminds me of another question - is there an easy way to rescan
the spoolfile for new mail (I have fetchmail running in daemon mode to
pick it up off the pop server)?


-- 
- Adam

-
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.surgam.net



Forwarding with attachments

2002-06-03 Thread jennyw

Is there a way to forward a message whole?  Including attachments?  I do 
this by using resend which isn't quite what I want to do ...

Also, if resend is the way to go ... is there a way to get messages that 
are resent (and possibly edited) to be saved the same way that outgoing 
messages are via set record=?

Thanks!

Jen



Re: mutt is ignoring hidden files as mailboxes

2002-06-03 Thread Sven Guckes

* Alexander Skwar [EMAIL PROTECTED] [2002-06-03 14:07]:
 So sprach Sven Guckes am 2002-05-27 um 20:28:54 +0200 :
  dejavu.  how about using a not-dotted file in a dot-dir,
  ie +.dir/file, eg +.secret/froschteich ?
 
 ?  I don't get it.  Maildir has just three subdirectories,
 new, cur and tmp.  And to access a Maildir, you specify the name
 of the directory containing the new, cur and tmp directories.
 
 Or what do you mean?

oh, maildir, right?

well, symlink the dot-dir from a non-dot-dir:
  ln -s .dir foo

then access the symlink foo:
  mutt -f /path/foo

wouldn't that work?

Sven



Re: Forwarding with attachments - bounce+reply

2002-06-03 Thread Sven Guckes

* jennyw [EMAIL PROTECTED] [2002-06-04 00:32]:
 Is there a way to forward a message whole?  Including attachments?
 I do this by using resend which isn't quite what I want to do ...

how about bounce?  and then reply to the message,
but then exchange the address of the former sender
with the address of whom you bounced the mail -
then explaining about the bounced message.

that way your recipient will an (almost) true copy
which allows him to reply to the message -
and he can reply to your comment mail, too.
Note:  these replies go separately!

 is there a way to get messages that are resent (and possibly edited)
 to be saved the same way that outgoing messages are via set record=?

hint:  FCC

Sven



Re: Forwarding with attachments

2002-06-03 Thread David Rock

On Mon, Jun 03, 2002 at 05:32:35PM -0700, jennyw wrote:
 Is there a way to forward a message whole?  Including attachments?  I do 
 this by using resend which isn't quite what I want to do ...
 

   Name: mime_forward
   Type: quadoption
   Default: no
   
   
   When set, the message you are forwarding will be attached as a
   separate MIME part instead of included in the main body of the
   message.  This is useful for forwarding MIME messages so the receiver
   can properly view the message as it was delivered to you. If you like
   to switch between MIME and not MIME from mail to mail, set this
   variable to ask-no or ask-yes.

-- 
David Rock
[EMAIL PROTECTED]



Re: Two questions

2002-06-03 Thread David T-G

Adam--

...and then Adam Fields said...
% 
% On Mon, Jun 03, 2002 at 04:36:35PM -0500, David T-G wrote:
%  Welcome!
% 
% Thanks!

*grin*


% 
%  % I can't find the answers in the docs.
%  % 
%  % 1) Is there a way to open part of a folder? Say I have a folder with
%  %2000 messages, and I want to only look at, say, 190-200?
%  
%  You can limit your view to just about any slice that you want, but you'll
%  still be opening the whole folder (mbox, Maildir/, mh, MMDF) and so
%  processing time can be tough.  Fortunately, mutt is light and lean and
%  fast, and lots of folks have *huge* folders (my mutt-users folder has
%  just topped 10k messages! and is still quite responsive) without
%  problems.
% 
% I don't see immediately how to do that. Can you elaborate about the
% possibilities here?

I think that's been answered already; you'd type

  l ~m190-200

while in the index and, voila, you'd see only those messages.  You could
limit to multiple ranges (either ~m190-200 ~m250-300 ... or perhaps all
together like ~m190-200,250-300 ... try it and see :-)  You could also
limit on multiple criteria, like all new messages less than two weeks old
from a certain list: ~N ~F somelist ~d2w (you'll have to check me on the
date spec; I don't use it much).  You get the idea...


% 
% I have noticed that it's pretty fast. I'm using my existing mh folders
% as-is; is there any info available on whether other folder types are
% faster?

There has been nearly endless discussion of Maildir/ and mbox on the
list, all waiting for you in the archives :-)  I haven't seen much talk
of mh or MMDF, but searching for speed and folder might turn up
something for them, too.


% 
%  % 2) What's the right way to do batch refiling, particularly of mailing
%  %lists? Is there a way to specify a save-hook based on To: rather
%  %than From:?
%  
%  The actual best way is the same as when it is delivered: run it through
%  procmail or another MDA.  Otherwise you should probably tag a pattern and
%  then save that bunch to wherever and go on to the next pattern.
% 
% My normal usage pattern is to look at all of the messages that come
% in, then file them. What I'm looking for is the Pegasus Mail concept

Fair enough.  Could you look at them in their own incoming folders and
then file them in their archive or already read folders, or perhaps
just leave the read messages right there with the new ones since mutt not
only shows new ones but also handles threads so elegantly?


% of rules-based filing on main folder close. It seems I might be able
% to sort of replicate this with procmail by having the mail filtered
% and then picked up from the existing folder, but I'm a little fuzzy on
% that.

I'd venture to say that that's what most people do.  So you'd have
procmail sort by list into =F.mutt, =F.gnupg, =F.suse, and so on (where
the = is a shortcut for the mail folder and the F. prefix makes it easy
to specify a mailboxes line in your muttrc) and then you'd have a bunch
of folders catching new mail, with your spoolfile probably catching
anything that didn't get sorted otherwise.  You start mutt either with no
arguments (into your spool file) or with a -y to browse the list of
mailboxes with new mail in them, and then pick one and start reading.
When you're finished reading that one, type 'c' to change folders, hit
tab a couple of times (IIRC), and you have your list of folders that need
attention and you continue on.  As you exit each folder, you might leave
the messages in there or move them all to =OLD/F.mutt and so on so that
your incoming folders stay light; I don't bother, but instead peel off a
few thousand messages every six months and save them in my compressed
archive folder =Z/F.mutt.gz (I bet you can guess where I got the Z if
you've been around *NIX for a while).


% 
% I'm a little confused about reading new mail - from what I read, I
% thought that mutt would pick up my new mail from the spool file and
% put it in the mbox folder (+inbox), but it seems that when I open it,

It will put it there when you're done with it.


% I'm working with the spool file directly, and then I can move read

Yep.  It's there on the system and the mail has been delivered, so why
not work with it that way?


% messages to the inbox on changing to another folder. Can you offer
% more explanation of what's going on here? How does this mesh with
% having procmail do the filtering?

See above, or ask more questions for more details.


% 
% This reminds me of another question - is there an easy way to rescan
% the spoolfile for new mail (I have fetchmail running in daemon mode to
% pick it up off the pop server)?

Check $timeout and $wait_key and perhaps some other fun settings in the
manual; in general, mutt should happily see new mail (as long as you're
not stuck in the pager) when or shortly after it arrives.  If all else
fails, sync the mailbox ('$' by default) to force any changes you've made
and generate a reread -- but, again, you 

scoring

2002-06-03 Thread Michael P. Soulier

Hey people. 

Is there a way to use scoring as a primary sort method but still have
threading take effect? I tried putting threads as an aux sort, but it just
sort of groups them together, it doesn't thread them. 

Thanks,

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08
...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort.  -Harley Hahn, A Student's Guide to Unix



msg28557/pgp0.pgp
Description: PGP signature


Changing from address

2002-06-03 Thread Mike Arrison

Mutters,
I, like most of you, have more than one address I send from.  I
use folder hooks to set from, my_hdr From, and my_hdr Reply-To.
This works perfectly except when I forget to change to the right folder
before sending a message.
So when I find myself at the compose menu with a finished
message and the wrong addresses (a profile if you will) what am I to
do?  I'm think about something like a macro to change everything, but
changing the same vars as my folder hooks doesn't seem to work.  I'm
sure I'm not the only one with this problem.  Any help here?

-Mike Arrison




Re: Changing from address

2002-06-03 Thread Benjamin Pflugmann

Hi.

On Mon 2002-06-03 at 23:07:26 -0400, Mike Arrison wrote:
 Mutters,
 I, like most of you, have more than one address I send from.  I
 use folder hooks to set from, my_hdr From, and my_hdr Reply-To.
 This works perfectly except when I forget to change to the right folder
 before sending a message.
 So when I find myself at the compose menu with a finished
 message and the wrong addresses (a profile if you will) what am I to
 do?  I'm think about something like a macro to change everything, but
 changing the same vars as my folder hooks doesn't seem to work.  I'm
 sure I'm not the only one with this problem.  Any help here?

How about using a send-hook that checks for the to/from/cc. Mine for
this list looks like (1-1 copy from my muttrc):

send-hook '~C ^mutt-(users|dev)@mutt\.org$ | ~f ^benjamin-mutt@pflugmann\.de$' ' \
   my_hdr From: [EMAIL PROTECTED] ; \
   set attribution=On %d, %F wrote: ; \
   set signature=~/.signature_mutt ; \
   set pgp_sign_as=0xDA119C70 '

# in contrast to '~C listadress ( ~P | ~p )' this rule will also
# catch private mail which relates to the list. send-hook assures the
# correct mail address is set.
fcc-save-hook '~f ^benjamin-mutt@pflugmann\.de$ | \
   ~C ^benjamin-mutt@pflugmann\.de$' =archive/rmutt.gz

fcc-save-hook '~C ^mutt-dev@mutt\.org$' =archive/mutt_dev.gz
fcc-save-hook '~C ^mutt-users@mutt\.org$' =archive/mutt_user.gz

HTH,

Benjamin.

-- 
[EMAIL PROTECTED]



msg28560/pgp0.pgp
Description: PGP signature


Re: Two questions

2002-06-03 Thread Rocco Rutte

Hi,

* Benjamin Pflugmann [2002-06-04 01:24:14 CEST] wrote:

 Maybe I completely miss your point, as I am not sure why you would
 want to do that.

...because I'm lazy. But I could think of other purposes as
well for a ``real'' batch mode, for example, when I want to
forward a bunch of mails to same address: inline and and one
by one.

Cheers, Rocco



Re: Forwarding with attachments

2002-06-03 Thread Nicolas Rachinsky

* jennyw [EMAIL PROTECTED] [2002-06-03 17:32 -0700]:
 Also, if resend is the way to go ... is there a way to get messages that 
 are resent (and possibly edited) to be saved the same way that outgoing 
 messages are via set record=?

There was a bug. It now works fine (sorry, don't know exactly since
when).

Nicolas



Set from shows no affect

2002-06-03 Thread Oliver Fuchs

Hello,
in my .muttrc file I set the option:
set [EMAIL PROTECTED]
Sending mail (sendmail) shows no affect in taking this address in the
From Header (I use a genericstable).
How can change this so that my Header is writen with the set from value?

Oliver
-- 
WARNING! POISON! BREATHING THE VAPOR, SKIN OR EYE CONTACT, OR SWALLOWING
THE FRUIT CAN KILL YOU! Contamination causes sudden-onset limb numbness,
muscle weakness, intractable hiccups, consciousness disturbance of
various degrees and seizure. Fire fighting gear (including SCBA) provides
NO protection. If exposure occurs, remove and isolate gear immediately and
thoroughly decontaminate personnel.
REACTS WITH WATER OR ACID TO PRODUCE TOXIC HYDROGEN CYANIDE!
DON'T TOUCH THE BANG-BANG FRUIT.