Re: Thread Display

2002-09-24 Thread Christian Ordig

On Mon, Sep 23, 2002 at 08:04:11PM -0400, PeterKorman wrote:
 Here are the gory details. Much of my communication is not through
 mailing lists. As a rule I don't go to a folder to exchange mail with 
 a particular person.
that's what I meant ... nearly nobody has one folder per person.

 I want to keep a record of everything I send.
sure ... that's what I meant with: 
# default record location
folder-hook . set record==sent

 So send gets its own folder. This is nonnegotiable. I want keep a
 record of everything I receive. I dont want to hand sort that stuff.
that's what procmail/maildrop is for.

 (maildrop switches destination folders for me just fine, but that is
 not the kind of data I'm processing.) So all my non-newsgroup
 inbound goes to 1 folder. That is also non negotiable.
well ... _everything_ not going to a mailing list goes to let's
say =inbox ?
This would simplyfy stuff a lot ... you'd need only _one_ further
folder-hook:
folder-hook =inbox set record==inbox

so everything sent from within =inbox would be recorded to =inbox.
And when replying to someone who sent a mail directly to you, it's
unlikely you're in a mailinglist folder ... isn't it?

-- 
Christian Ordig
Germany



Re: fast conversion of html mail to text

2002-09-24 Thread Christian Ordig

On Tue, Sep 24, 2002 at 03:36:49PM +0200, Eric Smith wrote:
 I am getting a bit irritated by the second or two I need to wait
 for `lynx -dump' or similiar to work when viewing the _many_ html
 mails that happen upon my inbox - what are mutters doing to strip
 the tags faster?
let procmail kill it before it gets to my mutt .-)

-- 
Christian Ordig
Germany




Re: Thread Display

2002-09-23 Thread Christian Ordig

On Wed, Sep 18, 2002 at 03:48:39AM +0200, René Clerc wrote:
 * PeterKorman [EMAIL PROTECTED] [17-09-2002 19:21]:
 
  I think I can correctly interpret what you said in more than 1 way.
  So I wont try.
  
  given:
  1)message to Sally
  2)reply from Sally
  3)reply to reply from Sally.
 
 fcc-hook will store _any_ message to Sally in the folder which you
 specify (probably sally).
that's not really useful for conversations ... you'd need for everybody
a new procmail rule ... and a fcc-hook ... and you'd end up with one
folder per person ... 
 
 If you configure procmail correctly, it can deliver every message
 _from_ Sally in that same folder.
yes ... that is useful for people communicating with only 5-10 other 
guys ... 
 
I'd suggest the following:

- sort incoming mail using procmail as you'd also do normally 
  (everything coming to [EMAIL PROTECTED] goes to folder xyz and so on)
- use folder-hooks for setting record to the same folder you're
  currently in
  - example: 
# default record location
folder-hook . set record==sent
# every mail sent from inside folder =xyz is saved to =xyz
folder-hook =xyz set record==xyz
- now when there comes a message to =xyz and you reply, your answer will 
  also be stored to =xyz. Mails sent from any other folder, not having
  such a folder-hook are saved to =sent

Any further suggestions?

-- 
Christian Ordig
Germany




Re: mutt and mail archives

2002-09-03 Thread Christian Ordig

On Wed, Aug 28, 2002 at 10:45:17AM +1200, Volker Kuhlmann wrote:
  lazyness ;-) I simply do a tar czf archiv.year  folderlist ... converting
  to mbox would include some more steps.
 
 Sorry you can not simply cat maildir/* mbox.
I never claimed this.

[...]
I know all the things you wrote ... and I only wanted to tell, why I simply
tar my Maildir folders ...
 
-- 
Christian Ordig
Germany




Re: filtering mails in different folders with imap

2002-02-20 Thread Christian Ordig

On Tue, Feb 19, 2002 at 04:32:54PM +0100, Gerhard Häring wrote:
 This is typically done with procmail on the server. You can search this
 list a little, it's cerainly one of the most frequently asked questions.

the problem is often that you cannot store any procmail recipies at the
provider's server ;-(

-- 
Christian Ordig
Germany




Re: Sorting in mailbox question

2002-02-06 Thread Christian Ordig

On Mon, Feb 04, 2002 at 02:40:48PM -0600, Kenneth Pronovici wrote:
 I guess what I'm looking for is a way to sort by thread/subject/date
 rather than just thread/subject.  It doesn't look like I can use sort
 and sort_aux to do this.  Anyone have a suggestion for some other way to
 accomplish this (other than just using procmail to put these things in a
 different folder)?
I'd be also interested in such a solution. I am using
sort=threads
sort_aux=score
but so my mails aren't sorted by date anymore ... and new mails show up
as first lines after opening the mailbox.

I'd really like to see something like 
sort=threads/score/date
or
sort=thread
sort_aux=scoredate
or which syntax ever seems usable, but having only 2 levels of sorting
seems not enough ... ;-(

btw. I am still using 1.2.5.1 ... is there something like that in 1.3.x
already and I haven't seen it, yet? 

Thanks

-- 
Christian Ordig
Germany



Re: Sorting in mailbox question

2002-02-06 Thread Christian Ordig

On Wed, Feb 06, 2002 at 10:25:43AM -0600, Kenneth Pronovici wrote:
sort=thread
sort_aux=subject
sort_aux2=date
 
 implying a fixed number of sort criteria, just more than are
 available now.  Second:
 
sort=thread/subject/date
 
 implying an arbitrary number of sort criteria.  

I think a fixed maximum number would be easier to handle the question
is just _which_ number this should be. Imagine a mixture of your and
my scenery ... this could result in something like:
sort=thread
sort_aux=score
sort_aux2=subject
sort_aux3=date

or 

sort=thread/score/subject/date

and maybe someone else can imagine even worse sort scenes ... ,-)

-- 
Christian Ordig
Germany



Re: Sorting in mailbox question

2002-02-06 Thread Christian Ordig

On Wed, Feb 06, 2002 at 12:10:34PM -0500, Mike Schiraldi wrote:
 I suggest
 sort=thread
 sort_aux=score
 sort_aux_aux=subject
 sort_aux_aux_aux=date
 sort_aux_aux_aux_aux=...
*g* that was also my first intension ... but _who_ the hell 
should count all the _aux ? :-))

-- 
Christian Ordig
Germany




Re: Sorting in mailbox question

2002-02-06 Thread Christian Ordig

On Wed, Feb 06, 2002 at 01:13:13PM -0500, Daniel Eisenbud wrote:
 and then sort and sort_aux are what's used for secondary and tertiary
 sorting, or primary and secondary if threads=off.  Make sense to people?
I think it would do it. (at least for me :-) 

-- 
Christian Ordig
Germany



Re: Mutt IMAP -- how good?

2002-01-22 Thread Christian Ordig

On Mon, Jan 21, 2002 at 09:30:19PM -0800, [EMAIL PROTECTED] wrote:
 I must say that the its speed in
 processing IMAP stores strikes me as slow.  I think this is because
 mutt doesn't seem to have any caching mechanism.  As a result, each
 tim you open an imap subfolder you have to wait for it to spool th
 count.
 
 If you have a folder with lots of messages this can be a substantial
 wait time.
yes. I thought it was because of only using a P90 as IMAP Server,
but after changing to NFS mounted ~/Mail everything is really
faster (with the Same Maildir folders Courier IMAPd used!)
 
 If you archived locally and just kept y our inbox for initial
 reception it might not be too bad...
well ... I have this computer on my LAN and also use it for archiving
mails, so I have access from everywhere I am.

-- 
Christian Ordig
Germany



Re: maildir over mbox?

2002-01-21 Thread Christian Ordig

On Sun, Jan 20, 2002 at 09:39:52PM -0500, Derek D. Martin wrote:
 But how does it compare to mbox on the same FS?  I'll bet it's still
 significantly slower.
opening times might be ... but think about updating times and the
no locking needed goodies :-)

-- 
Christian Ordig
Germany



Re: maildir over mbox?

2002-01-21 Thread Christian Ordig

On Mon, Jan 21, 2002 at 10:37:01PM +0100, Alexander Skwar wrote:
 running reiserfs.
well ... as tests showed, ReiserFS seems to be a _really_ slow
beast when it comes to read Maildir folders ... tried with Ext2/3?
Should be really faster.

-- 
Christian Ordig
Germany



Re: maildir over mbox?

2002-01-20 Thread Christian Ordig

On Sun, Jan 20, 2002 at 07:33:10PM +0100, Benjamin Michotte wrote:
 opening a mbox with ± 7000 mails : less than 10 seconds.
 opening the same in Maildir : 3 minutes...
uhhh ... what kind of system did you use for measurement??

on my P100 with a quite old HDD running OpenBSD 2.9 it takes
about one minute to open the whole mutt archive of last year
(about 9900 messages)...

the advantage of Maildir over mbox I see: deleting a single message
in a really big mailbox is nothing more than simply deleting one
file with mbox it means writing the whole folder again leaving out
this one message .

Not to tell the locking which is obsolete with Maildir, which makes
it easier with Mailfolders over NFS as I also use it ;-)

-- 
Christian Ordig
Germany



Re: maildir over mbox?

2002-01-20 Thread Christian Ordig

On Sun, Jan 20, 2002 at 09:39:05PM +0100, Benjamin Michotte wrote:
 On Sun, Jan 20, 2002 at 09:01:39PM, Christian Ordig wrote:
  uhhh ... what kind of system did you use for measurement??
 P2-350 with a 20Gb HDD running Linux 2.4.17 on a Slackware 8.0.
 My ~/mail is on a 600 Mb reiserfs partition. I think I will convert my
 /home dir to ext3 and then try Maildir to compare.
well ... promises of ReiserFS should even tell us it's optimized for 
filesystems holding thousands of small files ... 

  on my P100 with a quite old HDD running OpenBSD 2.9 it takes
  about one minute to open the whole mutt archive of last year
  (about 9900 messages)...
 It takes about 7 seconds to open my mutt archive with 7914 messages.
ok this system should be quite faster per default than the stuff I use,
but should UFS be really _that_ faster?
I took a watch and measured time.
First opening the folder (sorting by threads and displaying) takes
57seconds. (in words: fifty-seven  :-)
Number of messages: 9089 (mutt-users archive of 2001)
Hardware: P100, 128MB RAM, Socket7 ASUS Mainboard, 2.5GB Western Digital
  IDE Harddrive
System: OpenBSD 2.9
Mutt-Version: 1.2.5 compile options: 
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  -USE_DOTLOCK  -USE_FCNTL  +USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS

Filesystem: UFS, mounted sync

 yes, I know. I tried to convert my mbox to Maildirs, but about 3 minutes
 to open a folder is really awfull, so I keep mbox
sure it is... but I think it should really be faster with your hardware,
shouldn't it? (I just guess so, since the HDD alone should already be
faster than my old IDE drive ...)

... strange ...

maybe I'll copy a big folder over to my Dual PIII system with a 
UDMA100 drive having Linux and Ext2 and verify the poor results.

Are there others having such poor performance with Maildir as Benjamin
has? And with which filesystem OS combinations?

confused greetings ... :-)

-- 
Christian Ordig
Germany



Re: maildir over mbox?

2002-01-20 Thread Christian Ordig

 Oh my good... convert my reiserfs partition to ext3...
 about 10-15 seconds to open my mutt Maildir now !!!
ooops ... I should have already read this mail before answering the
last subthread ,-)

little question: cached or first opening ?

 Absolutly... reiserfs sucks.
*g* 

-- 
Christian Ordig
Germany



Re: Handling high volume mailing lists - looking for ideas

2002-01-17 Thread Christian Ordig

On Wed, Jan 16, 2002 at 09:17:38PM +0100, Balazs Javor wrote:
 lists. I usually flag threads that I'd like to follow later.
 I have hooks set up to display messages in the index in
 different colors if they are from me, new, flagged or old.
 This helps somewhat but for some lists (e.g. debian-user or
 linux-kernel) there can be more then 300 messages a day,
 so it's hard to keep track of interesting threads. In two
 or three days even flagged messages can get so far down the
 list that they are hard to find...
what about scoring?

-- 
Christian Ordig
Germany



Re: Address books and mutt

2002-01-13 Thread Christian Ordig

On Sat, Jan 12, 2002 at 11:55:07PM -0500, Sam Carleton wrote:
 How does one implement an address book in mutt?
http://freshmeat.net/projects/muttaddressbook/

-- 
Christian Ordig
Germany



Re: how best to use addressbook queries?

2001-12-19 Thread Christian Ordig

On Tue, Dec 18, 2001 at 11:37:31PM -0700, Mark Johnson wrote:
 Question: How do I insert both addresses into the To: line, without typing
 one out the long way? 
just tag them (using t) and then say write message (m) and
they magically appear in your To:

If only one appears, make sure auto_tag is set in your .muttrc

-- 
Christian Ordig
Germany



Re: use of scoring

2001-12-15 Thread Christian Ordig

On Sat, Dec 15, 2001 at 04:56:16PM +0100, Johannes Segitz wrote:
 I would use it but mutts scoring abilities don't met my demands. I
 need something like the ability of slrn to create a scoring entries with
 one key (like k in slrn)
You could bind any key not bound to a function, yet to a macro which 
does whatever you like.

-- 
Christian Ordig, Germany| Homepage: http://thor.prohosting.com/~chrordig/

open(IN,distris.txt)||die(Keine Distris, Du Affe!);while(IN){chomp;
print $_??? hätte ich was besseres erwartet!!! naja,was solls...\n;}
close(IN);



msg21625/pgp0.pgp
Description: PGP signature


Re: Negative scores and regexp questions

2001-12-14 Thread Christian Ordig

On Fri, Dec 14, 2001 at 07:53:36AM +0530, Prahlad Vaidyanathan wrote:
  manual.txt coming with mutt ;-)
 Well, that doesn't have anything on what scoring is, and why one would
 use it, does it ? or do I have the abridged version ? ;-)
ah ... you're right. Isn't there something on the internet?

-- 
Christian Ordig
Germany




Re: Negative scores and regexp questions

2001-12-12 Thread Christian Ordig

On Wed, Dec 12, 2001 at 04:55:39PM +0100, Cliff Sarginson wrote:
  That's the point. Imagine someone you don't really care about.
 snipped -- regretfully
 Ok, that is a good explanation.
 It still does sound a little complex (since you have been the only
 active scorer to reply so far, it does not seem widely used).
well, at least not amongst mail reading people ... in usenet it's
used more often than with eMail ... but it has also its advantages
in a high volume email environment and helps deciding which mail is
important.

 Interesting though, I have a *prime* candidate for a person on a
 particular list (I won't name list or person, but it's no-one on
 this list .. unless he lurks..) whose messages I usually crudely filter into
 a mailbox called bollocks. Unfortunately he sometimes appears cc'ed
 or to'ed or whatever on a subject I want to hear about. Sounds like
 scoring might help.
yes. and this is only one way to use scores.
You could also like different subjects, but prefer mails having both 
subjects over those only having one of the subjects.

let's continue with the Linux Kernel stuff.
You're interested in anything about Linux.
And you're interested in anything about Kernels.
But most interestting are Linux Kernels.
so you give Linux a score of +1000, Kernel a score of +1000, and 
everything having Linux and Kernel in the subject will get +2000
automaticly and you have them sorted as more important ...
And imagine you're also interested in BSD, but not that much as in Linux,
so you could give BSD a score of +500.
this would result in the following combinations:

Linux   +1000
BSD  +500
Kernel  +1000

== Linux Kernel - +2000
== BSD Kernel - +1500

 Mmm. food for thought.
ok. just to have some more food ... and your brain won't starve ... ,-))

-- 
Christian Ordig
Germany



Re: Negative scores and regexp questions

2001-12-12 Thread Christian Ordig

On Wed, Dec 12, 2001 at 09:19:01PM +0530, Prahlad Vaidyanathan wrote:
 Is anyone here an 'active scorer' ? Do point us mortals to some good
 docs please ;-)
manual.txt coming with mutt ;-)

-- 
Christian Ordig
Germany



Re: Negative scores and regexp questions

2001-12-11 Thread Christian Ordig

On Fri, Jun 29, 2001 at 06:43:04PM +0200, Stefan Frank wrote:
 Does that mean, that I have to add a default score to all received
 messages before I can delete them (or mark them read) by score?
yes, I think so.
add:

score ~A 5000 

as your first scoring rule and everything should be fine (or 5 instead 
of 5000 if you only need 10 steps ...)

 This is a little bit strange, isn't it?
yes. I think so. I'd also prefer a range of - to  (or something 
like that)

-- 
Christian Ordig, Germany| Homepage: http://thor.prohosting.com/~chrordig/

open(IN,distris.txt)||die(Keine Distris, Du Affe!);while(IN){chomp;
print $_??? hätte ich was besseres erwartet!!! naja,was solls...\n;}
close(IN);



msg21507/pgp0.pgp
Description: PGP signature


Re: Address Book for Vim?

2001-09-22 Thread Christian Ordig

On Mon, Sep 17, 2001 at 08:13:39AM -0700, Ryan Allen wrote:
 I'm just curious what people are using for an address book application
 if anything at all?? 
http://freshmeat.net/projects/muttaddressbook/

-- 
Christian Ordig
Germany



Re: send public key

2001-09-13 Thread Christian Ordig

On Thu, Sep 13, 2001 at 09:18:58AM +0200, Cliff Sarginson wrote:
 -BEGIN PGP PUBLIC KEY BLOCK-
 -END PGP PUBLIC KEY BLOCK-
well why to the list and why the hell 7 times ?!?

-- 
Christian Ordig, Germany| Homepage: http://thor.prohosting.com/~chrordig/

open(IN,distris.txt)||die(Keine Distris, Du Affe!);while(IN){chomp;
print $_??? hätte ich was besseres erwartet!!! naja,was solls...\n;}
close(IN);

 PGP signature


Re: Address Book

2001-09-02 Thread Christian Ordig

On Wed, Aug 22, 2001 at 03:25:39PM -0400, steve wrote:
 Could someone please point me in the right direction for information.
you could use mutt-aliases but they're not really flexible (no flame
ware please!)
I also didn't like the mentioned abook, because it didn't integrate with
mutt as I wished and doesn't have the feature to search for a comment
I add to an address. (at least it hadn't when I checked)
So I decided to write a little address book for mutt which has this
ability. Furthermore it supports simply adding addresses to the
address book from the browser/index in mutt.

URL: http://thor.prohosting.com/~chrordig/
and there in the Linux section.

any feedback is welcome.

-- 
Christian Ordig
Germany



Re: abook

2001-09-02 Thread Christian Ordig

On Wed, Aug 22, 2001 at 11:25:34PM -0700, Will Yardley wrote:
 is there a way to add email addresses / names to abook instead of using
 the 'alias' command in mutt?  i have mutt setup to query abook which
 works pretty well but it would be nice to be able to add addresses to
 abook as well.  a quick web search didn't turn up anything...
 
I don't know how the file format of the abook address book file is, but
maybe the address_add function of my own mutt address book script may help.

URL: http://thor.prohosting.com/~chrordig/
there in the Linux section.

good luck ;-)

-- 
Christian Ordig
Germany



Re: Question about the VVV nntp patch - design issue and comments.

2001-08-09 Thread Christian Ordig

  ok ... might be quite slow, I never relly realized this because I have a
  quite fast connection ... so I am really happy with this. But I can
  believe having a modem and no local NNTPd might be a pain. I used leafnode
  the days I still had a modem ... maybe this helps ;-))
  
 No, I don't think it's the connection speed.  I am on a cable modem.
 The problem is that my isp doesn't really give a rats nose wether the
 nntp service is fast.  The server is notorious for having a short
 expiration of postings, and an occasional drop - though the drops may
 not be so frequent as to be outrageous. 
well ever thought about using another NNTP service? Or are you 
restricted by your provider in any way to use only HIS NNTPd?

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Question about the VVV nntp patch - design issue and comments.

2001-08-07 Thread Christian Ordig

On Sun, Aug 05, 2001 at 10:54:25PM -0400, Louis LeBlanc wrote:
 When I connect to an nntp server, Mutt checks for new messages and new
 newsgroups.  Due to the nature of nntp, coupled with M1s 'who the hell
 uses usenet anyway' attitude (LOW priority), this can be a little
 slow. 
.
.
.
 Does anyone else using the NNTP patch notice this?
ok ... might be quite slow, I never relly realized this because I have a
quite fast connection ... so I am really happy with this. But I can
believe having a modem and no local NNTPd might be a pain. I used leafnode
the days I still had a modem ... maybe this helps ;-))

-- 
Christian Ordig
Germany




Re: maildir much slower, is it normal?

2001-05-15 Thread Christian Ordig

 Nope, simply via a pretty slow IDE disk on my laptop.
continouse reading large files and parsing them might be faster on
old harddisks and computers with low memory than openeing hundreds
of different files ...

Maildir works quite nice in my LAN over NFS ... 

 (maildir uses no locks)
right.

-- 
Christian Ordig
Germany



Re: address book

2001-04-16 Thread Christian Ordig

On Fri, Apr 13, 2001 at 03:06:19PM +0200, Christian Ordig wrote:
  It's some months ago. If there's some interest I could repost it or put 
  it onto my website.
it's finally done.
My Mutt Address Book can be found in the Linux section of my website.

For further information read the hints on the page and the INSTALL file 
coming with the scripts or drop me a mail.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2001-04-13 Thread Christian Ordig

On Thu, Apr 12, 2001 at 08:00:36PM +0200, Christian Ordig wrote:
 I've posted a complete addressbook for use with the Query function
 and some mutt macros to add addresses to it the way you intend to do 
 it.
 It's some months ago. If there's some interest I could repost it or put 
 it onto my website.
I've checked it. I sent this script on Dec 21st 2000. 

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2001-04-12 Thread Christian Ordig

On Wed, Apr 11, 2001 at 07:02:47AM -0400, Frederick V. Heitkamp wrote:
 Is there a way to pull specific addresses out
 of message headers and add them to the address
 book?
I've posted a complete addressbook for use with the Query function
and some mutt macros to add addresses to it the way you intend to do 
it.
It's some months ago. If there's some interest I could repost it or put 
it onto my website.

Features:
Full name of person
eMail address
comment

every field is searched when using ^T or Q. so you can also search for 
comments easyly.
Adding new addresses and comments is done using a macro from the index 
or browser directly in mutt.

ok ... that's it.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2000-12-20 Thread Christian Ordig

On Mon, Dec 18, 2000 at 11:12:56PM -0600, Larry wrote:
 
 I have looked all through the docs and haven't found
 anything that pertains to this. Maybe I'm looking for
 the wrong description or something.
aliases are one thing.

I prefer using an external query script I made with Perl. Using this script
is more comfortable and I can search for full names and even on comments
I save to every address... so I am not forced to memory any alias name ...

If anyone is interested in this little thing I made ... simply ask ...

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2000-12-20 Thread Christian Ordig

On Wed, Dec 20, 2000 at 09:59:58PM +0530, Suresh Ramasubramanian wrote:
 Christian Ordig proclaimed on mutt-users that: 
 
  I prefer using an external query script I made with Perl. Using this script
  is more comfortable and I can search for full names and even on comments
  I save to every address... so I am not forced to memory any alias name ...
  If anyone is interested in this little thing I made ... simply ask ...
  
  please post it / put it up on your webpage and post a link ;)
I didn't know there's such a high demand ... I already got quite a
lot of mails asking for this thing ...

I'll clean up the code a little so it's possible for guys not knowing
perl to install and use it...

I think it'll be online later this evening...

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: address book

2000-12-20 Thread Christian Ordig

On Wed, Dec 20, 2000 at 09:59:58PM +0530, Suresh Ramasubramanian wrote:
 Christian Ordig proclaimed on mutt-users that: 

  I prefer using an external query script I made with Perl. Using this script
  is more comfortable and I can search for full names and even on comments
  I save to every address... so I am not forced to memory any alias name ...
  If anyone is interested in this little thing I made ... simply ask ...
  
  please post it / put it up on your webpage and post a link ;)
ok here we go ...

I recognized it is only about 1kBytes ... so I'll post it here.

Install:


It's only a quick and dirty hack I did some Sunday afternoon ... so 
please don't blame me for any damages or datalosses ... or exploding
cats or whatever.

I am using an extra account for eMailing, so these scripts are simply
in ~/ on my system. You might want to install them in ~/bin or something
like that. But be careful when doing so: pathes are still hardcoded
(but it shouldn't be a problem in a 500bytes script, should it? ;_)

1. simply copy the attached perl scripts to your home directory and make
   them executable.

2. the address database file will also reside in ~/ and is called "addresses"
   by default.
   It has the following format:
   
   Full Name;[EMAIL PROTECTED];comment1 comment2 comment3
   
   one line per record and table columns delimited by ";"

3. there will be a file called ~/addresses.added which holds newly added
   addresses (they can simply be appended to the main database using
   cat ~/addresses.added  ~/addresses;rm ~/addresses.added
   this file is created by mutt_add.pl - which is called by pressing "a"
   in the index or pager view. (look at my .muttrc parts below) and adds
   the eMail address under the cursor to the address database.
   mutt_add.pl needs a temporary file ~/msg.txt ! If this file exists it'll
   be deleted !
   The brave of you can also add the new addresses directly to ~/adresses
   simply change the filename in ~/mutt_add.pl accordingly...

4. change your .muttrc:
    SNIP 
   macro index "a" "\eC~/msg.txt\n\n!~/mutt_add.pl\n"
   macro pager "a" "\eC~/msg.txt\n\n!~/mutt_add.pl\n"  
   set query_command = "~/mutt_query.pl '%s'"
    SNAP 
   
   this will allow:
   - searching thru the addressbook using "Q"
   - email address completation using ^T
   - adding new eMail addresses with comments to the addressbook 
 using "a" (Full name and eMail address are seperated automaticly.
 you'll be presented with the result and will be asked for comments.)
   - "Q" and ^T search the whole record for matching strings ... so you can
 also search for comments
   - to list the whole address book use Q or ^T without query string.

5. There's no tool for editing the address book, yet. But vi should do it...

I am using those scripts with mutt 1.1.11i

Any hints are welcome. You may also ask if you have any problems 
using these scripts.

Hope to help making everyday's live a little easier ... 

I am using this script with about 200 addresses and it's nicer then
aliases ever could be ,-))

--
Christian Ordig     | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 mutt_add.pl
 mutt_query.pl
 PGP signature


Re: How can I use mutt on disconnected laptops?

2000-10-25 Thread Christian Ordig

I think IMAP would probably be the best solution for this setup.

But another thing comes to my mind: what about (mis)using CVS for this
task?

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: how to extract the sender from a message?

2000-08-06 Thread Christian Ordig

On Sun, Aug 06, 2000 at 06:23:04PM +0200, Attila Csosz wrote:
 I'd like to extract the sender name ( From field ) from a message with 
 pressing a key then append this to a file ot write it a temporary file.
I did it by piping the message including the header to a perl script, which
does the extraction. I am using this for an address book to add new users to
it.

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Automatic mail archiving

2000-07-26 Thread Christian Ordig

On Wed, Jul 26, 2000 at 09:47:57AM +0200, Nils Vogels wrote:
   Therefore I would like to build like an autoarchiver which moves the mail
   monthly into a seperate, gzipped folder, so this months mail for the mutt list
   would end up in =mutt-july-2000.gz
   
   How would I go by this using mutt ?
 
 Hmm.. procmail sounds indeed better than mutt, but this leaves me with quite a
 new challenge: how do i make procmail run a piece of its config file only once
 a month, and not on every mail delivery ? ;-)
strnge seems there went something wrong with the message I sent some hours ago
... I'll simply include the text here again:

- snip -
hmmm... do you really want to solve this with mutt? I suppose you're using 
procmail for delivering your mail into different mailboxes, aren't you?
remember procmail can expand Shell expressions when interpreting its config.
so why don't use a foldername like
 folder-`date %m-%Y`/
so every month's mail would be sorted into the month's folder.

Using mutt is also quite simple ...

simply tag the messages using a regular expression (and the "T" key ;-) :
~d 30d
would tag all messages in the current folder being older than 30 days.
then you could simply move all the tagged messages to a folder ...

ok... now it's up to you which way you like better ... the first one would be
mine...

cu.
--- SNAP -

hopefully this will show up on the list this time ... ;-)

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Automatic mail archiving

2000-07-26 Thread Christian Ordig

On Wed, Jul 26, 2000 at 01:19:44AM +0200, Nils Vogels wrote:
 Therefore I would like to build like an autoarchiver which moves the mail
 monthly into a seperate, gzipped folder, so this months mail for the mutt list
 would end up in =mutt-july-2000.gz
 
 How would I go by this using mutt ?
hmmm... do you really want to solve this with mutt? I suppose you're using 
procmail for delivering your mail into different mailboxes, aren't you?
remember procmail can expand Shell expressions when interpreting its config.
so why don't use a foldername like
 folder-`date %m-%Y`/
so every month's mail would be sorted into the month's folder.

Using mutt is also quite simple ...

simply tag the messages using a regular expression (and the "T" key ;-) :
~d 30d
would tag all messages in the current folder being older than 30 days.
then you could simply move all the tagged messages to a folder ...

ok... now it's up to you which way you like better ... the first one would be
mine...

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Sorting by score and threads

2000-07-06 Thread Christian Ordig

On Thu, Jul 06, 2000 at 01:53:41PM +0200, Frederik Strauss wrote:
 So I can see important stuff before i read interesting
 stuff.
Simply sort mails directly to you into different folders, than mail 
going to mailing lists... that's the way I do it.

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Idea: saving vs. deleting

2000-05-26 Thread Christian Ordig

On Thu, May 25, 2000 at 01:21:50AM +0200, Marius Gedminas wrote:
 Perhaps.  I'm using 1.2.  I don't remember when that was introduced.

in 1.1.11 it's also s and S ...

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Maildir support in Procmail 3.14 -- how?

2000-05-15 Thread Christian Ordig

On Mon, May 15, 2000 at 05:17:47AM -0400, Russell Hoover wrote:
 I know that I'm calling version 3.14 of procmail in my
 .forward file, and I use the trailing slash in all recipes.
Well, you're calling procmail from your .forward file? Which version of
procmail is the system wide one?
is procmail used by the local sendmail to deliver local eMail? If so does it
really use the 3.14?

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: bind pager Q query

2000-05-15 Thread Christian Ordig

On Mon, May 15, 2000 at 04:21:54AM +0200, clemensF wrote:
 why, o why does "bind pager Q query" in .muttrc always give errors like "no
 such function"?
Q should be bound to the external query function by default. (at least I didn't
have to bind it manually)
Have you supplied the externel query command to be called when Q is pressed?

set query_command="your_command '%s'"
%s is the query string typed in mutt... your program/script has to read it
and has to "answer" to mutt in the following format:
- SNIP 
This is superquery... xyz records found!
[EMAIL PROTECTED]Full Name   Comment
[EMAIL PROTECTED]Full Name   Comment
- SNAP 

A TAB (\t) character is to be used for seperating the columns.

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany     |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Christian Ordig

On Fri, May 12, 2000 at 03:39:42PM +0300, Mikko Hänninen wrote:
 Well, if you sort your emails into separate folders for each list, you
 can create a macro which is changed for each folder with a folder-hook.
 Not perhaps the most elegant solution but it should work.
why a macro? You can simply use the "my_hdr To: list" combined with a 
folder-hook ... that's the nicest solution I think...

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: printf like sequences for folder_format

2000-05-12 Thread Christian Ordig

On Thu, May 11, 2000 at 06:44:16PM +0300, Mikko Hänninen wrote:
 Marius Gedminas [EMAIL PROTECTED] wrote on Thu, 11 May 2000:
  I mean there's no percent display.  With mbox you see: 
  `Reading foo... 310 (10%)', with Maildir you only see the number of
  messages.  Psychologically this makes the waiting seem longer ;)
 
 Oh right.  It shouldn't be difficult to add a display like that to
 Maildir though?  I mean, you can find out how many files there are in
 advance, and you don't even need to worry about the messages being
 different sizes since only the mail headers get read, anyway.
not even the header needs to be read when just searching for the number of
new / old mail... 
simply count the files in ./new and the files in ./cur ... the sum of them
is the total count of messages and in ./new are the new ones...
I've got some information to my private eMail address about where these
printf like sequences are interpreted. If someone is interested I'll bounce
the mail.
As I am consumed quite much with my scanner driver project I don't think I'll
have enough time to understand/change the mutt sources.
If there should really be noone willing to try it, I'll go and do it... but
don't expect it to be today or tomorrow... 
 
cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: 'browser' - what is it?

2000-05-11 Thread Christian Ordig

On Thu, May 11, 2000 at 10:08:12AM +0100, Chris Green wrote:
 Well, I sort of know what the 'browser' is but there's nowhere in the
 manual that actually tells you.  There is also nowhere that tells you
 how to get to the [file] browser.
this should be the directory listing you get by pressing c
 
 Are the only ways to it 'c' followed by '?' and 's' followed by '?' or
 are there other ways there?  There's also no indication of *what*
 files it browses - i.e. where does it start from?
the browser should appear everywhere you need access to folders or files,
so you will also get the "browser" when attaching files.
I am using a macro bound to key "y" which shows all the mailboxes marked
to be receiving mails. it's done like this:
macro "y" "c?\t" 

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany     |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: printf like sequences for folder_format

2000-05-10 Thread Christian Ordig

On Wed, May 10, 2000 at 05:19:47PM +0200, Wilhelm Wienemann wrote:
 Hello Christian!
 
 On Tue, 09 May 2000, Christian Ordig wrote:
 
  I start mutt by calling "mutt -y" to see which of my folders has new mail.
  The format the folders are displayed isn't really what I want...
  I am not really interested in permissions or owner of the folders,
  but more in how many mails are in the folder and how many of them are
  unread...
 
 Maybe the '[n]frm' tool on your box will do what you want.
 
   nfrm Mail/mutt-user
Well... I'd like to see it in mutt... externaly I could also hack together
a short Perl script, to count the files in ~/Mail/mutt-users/new and
~/Mail/mutt-users/cur add them together and show how many new mails and
how many total mails are in this folder... but the point was, I wanna see
it in the menu (called "browser"?) I get when starting mutt with command line
"mutt -y"

 will show you how many *new* articles are in your mbox
 $HOME/Mail/mutt-user and
well... I don't use any mbox style folders ...
 
-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany         |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: printf like sequences for folder_format

2000-05-10 Thread Christian Ordig

On Tue, May 09, 2000 at 11:53:05PM +0200, Gero Treuner wrote:
 Hi!
 
  I know this would user quite a lot of time parsing the folders, but since
  I am using Maildir style eMail folders this would be speeded up quite much.
  Is there any way to achieve this? The docs only tell me about the folder-
  permission and owner stuff for the folder_format setting.
 
 You have a point here, and that could be a killer feature for mbox
 format ;-)
right... but who really uses mbox when it comes to have more than
1000 or 2000 messages in a folder? On the other hand nobody would be forced
switching it on... ;_)

 Unfortunately it is still waiting to be implemented. Write me if you
 need pointers where to start in the mutt sources.
Maybe this is the wrong mailing list for discussing this... I think the
mutt-devel list would fit better... How about the traffic on this list?
(I only have a MODEM ;-) 
I'd be glad about any hint... 

Thanks

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: user must domain must exist

2000-05-08 Thread Christian Ordig

On Sun, May 07, 2000 at 05:27:07PM -0500, Kelly Scroggins wrote:
 
 Well,
 
 I guess I made a big beginers mistake.  I made these changes to my ~/.muttrc but I 
didn't close mutt and reopen mutt to apply the changes.
ohhh... 

 my_hdr From: Kelly Scroggins [EMAIL PROTECTED]
 set sendmail="/usr/sbin/sendmail -oem -oi [EMAIL PROTECTED]"
 
well... maybe you shouldn't set the command line switch directly... but it
will do the same as the .muttrc line suggested by me...

btw.: please use proper line breaks... editing an answer to your mail is a
pain... Thank you. (I intentionally left your mistakes in!)

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-08 Thread Christian Ordig

On Mon, May 08, 2000 at 02:35:57AM +0300, Mikko Hänninen wrote:
 Christian Ordig [EMAIL PROTECTED] wrote on Mon, 08 May 2000:
  I have to tell procmail manually to use folder/new/ or mutt won't find the 
  newly arrived mail... is THIS the right way to use procmail, shouldn't
  procmail recognize the Maildir-style and put the mail to folder/new/ 
  automaticly?
 
 Yes it should, but maybe you have an old version of procmail that
 doesn't support Maildir.  The latest version is 3.14, and versions
 before that don't support it.
well... I still have 3.11pre7 ... I'll update and check again...
What criteria is used by procmail to recognize a Maildir folder?
 
 The reason why it "kind of" works is that procmail does support MH
 (or whatever the folder format is) which has files in one directory,
 and it treats that folder/new dir as a MH mail folder.  But the names
 that the files get aren't "proper" Maildir files, and also you end up
 having to specify the new subdir too.
They also don't get proper MH names (they aren't numbered...)

Thanks.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-08 Thread Christian Ordig

On Mon, May 08, 2000 at 08:02:01AM -0400, Pete Toscano wrote:
 christian,
 
 the only way i was able to "fix" this bug was to switch to maildir
 format folders.  overall, it was the right thing to do (my mail store is
 nfs mounted to a few different machines, all putting mail in the mail
 store via procmail with maildir patch).
Yes, I've also switched to Maildir and everything is fine now... the
only drawback is, that nearly no other MUA supports Maildir... whereas MH
is mainly supported...

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-08 Thread Christian Ordig

On Mon, May 08, 2000 at 08:34:00AM -0400, Hardy Merrill wrote:
 Yes - I recently experienced the same problem.  Mikko suggested to me
 that he had the same problem, and that it might be related to the folders
 sitting on an NFS filesystem - and that Mutt may have a bug working with
 NFS filesystems.  He suggested getting the Mutt source and recompiling
 with the "--enable-nfs-fix" option.  So I did the same thing, and it
 worked for me too.
 
 So, you might try getting the Mutt source, and recompiling with the
 "--enable-nfs-fix" option.
Thanks for the hint, but my folders aren't mounted via NFS... they're 
local ones...

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-08 Thread Christian Ordig

On Mon, May 08, 2000 at 04:30:48PM +0200, Christian Ordig wrote:
  Yes it should, but maybe you have an old version of procmail that
  doesn't support Maildir.  The latest version is 3.14, and versions
  before that don't support it.
 well... I still have 3.11pre7 ... I'll update and check again...
it finally works after compiling and installing procmail 3.14...

Thanks.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-08 Thread Christian Ordig

On Mon, May 08, 2000 at 06:45:21PM +0300, Mikko Hänninen wrote:
 I don't know about procmail, but the official definition is something
 along the lines of "a directory containing the three subdirectories
 named new, cur and tmp".  And oh, all the dirs need to be on the same
 filesystem, and no symlinks or anything allowed I think.
Well, I still don't really know how procmail decides whether it's a
Maildir or a regular folder with one file per eMail... but it works fine
now.

Thanks

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-07 Thread Christian Ordig

On Sun, May 07, 2000 at 06:25:12PM +0200, Gianmarco Giovannelli wrote:
 I am experiencing the same behaviour on mutt 1.0.1i on FreeBSD.
 
 I thought it was my fault (or a fault of my configs) ... now I am 
 happier... :-)
Well,
really happy I'll only be from the moment on this problem is solved...

using common mbox folders is not what I want, since it's really
slowly when having about 3000 Mails in a mbox style folder...

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: user must domain must exist

2000-05-07 Thread Christian Ordig

On Sun, May 07, 2000 at 12:49:57PM -0500, Kelly Scroggins wrote:
 
 I saw this subject just recently.  I tried the resolution offered by Dirk but it 
still does not work.
 
 my_hdr From: Kelly Scroggins [EMAIL PROTECTED]
 
 I can send some email messages out but no all.  Any other suggestions?
 
 Thanks,
 Kelly
I think you may have problems with the eMail-Envelope, right?
The mailserver you're contacting tells you something like "Sender Domain
must exist!"... and your local domain isn't a real one... am I right?

ok... so you should use:
set envelope_from

in your .muttrc ... (and hope your sendmail understands the -t switch)

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-07 Thread Christian Ordig

On Sun, May 07, 2000 at 09:21:36PM +0200, Christian Ordig wrote:
 On Sun, May 07, 2000 at 06:25:12PM +0200, Gianmarco Giovannelli wrote:
  I am experiencing the same behaviour on mutt 1.0.1i on FreeBSD.
  
  I thought it was my fault (or a fault of my configs) ... now I am 
  happier... :-)
 Well,
 really happy I'll only be from the moment on this problem is solved...
well... I've switched to Maildir style mailboxes and everything is fine...

maybe off topic, but how to tell procmail it's a Maildir folder?
I am sorting to ~/Mail/folder/new now... is this the way to do it?

cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: New mail in MH style folders, even if there is none

2000-05-07 Thread Christian Ordig

On Mon, May 08, 2000 at 01:36:41AM +0300, Mikko Hänninen wrote:
 That works, but it's not the right way.  What you do is add a / at
 the end of the directory name, eg.
 
   ~/Mail/folder/
 
 ... and procmail will deliver it there and treat it as Maildir.
 You do need to have the latest version of procmail though, only the
 latest has "real" procmail support.  Or a patched version of procmail
 if you're using something older.
oops...
forgot the "/" in my mail... the correct target in my .procmailrc is
~/Mail/folder/new/

and this works quite nice... but this wasn't the intention of my question...
I have to tell procmail manually to use folder/new/ or mutt won't find the 
newly arrived mail... is THIS the right way to use procmail, shouldn't
procmail recognize the Maildir-style and put the mail to folder/new/ 
automaticly?

Hope it's  better understood now...

Thank you.
-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |    eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


New mail in MH style folders, even if there is none

2000-05-06 Thread Christian Ordig

Hallo,

I am using MH style folders to store my mail...

I start mutt (1.1.11i) with the -y command line switch abd it shows me
my folders and every one is marked to have new Mail...
even if I've read all the mail in my folders and change back to the 
folder overview mutt tells me there is new mail in the folders...

Another scenario:
imagine 2 folders A and B...
I open A and read all my mails ... then open B ... when entering B mutt
tells me there arrived new mail in A, but it hasn't (I am offline!)

Any ideas?

Thank you.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature