Re: address book

2000-12-19 Thread Luke Ravitch

On Mon, Dec 18, 2000 at 11:12:56PM -0600, Larry wrote:
> Is there a way to create an address book in Mutt?
> Like, say, when I want to list a number of recipients
> of a message is there a way I can open up an address
> book type thing and pick out the names I want the 
> message to go to? 

One option is to use an external address book program, such as abook.
Within mutt, however, you can also have all the functionality you've
described by using aliases.  Create a bunch of aliases (just do
whatever the manual says) for the addresses you need.  It might be
good to read up on aliases in the Mutt manual.  Then, when you hit 'm'
to compose a message, use tab completion (i.e., press the tab key).
Mutt will pop up a list of matching alias (if you press tab without
typing anything, all aliases will be matched).  Tag (using 't') the
ones you want to put in your To: line, press the return key, and
you're set.

-- 
Luke



Scoring addresses in lbdb

2000-12-19 Thread Abhay Ghaisas

Hi, all.

Is it somehow possible to score addresses I use in lbdb?

Here is the problem I have.  If I want to send a mail to somebody with
name "Sudhir", I just type "sudhir" at the To: prompt and hit ^T for
getting all possible completions.  Invariably, I get a lot of
completions that are possible.  Many of them are just alternate
addresses for the same "Sudhir" I want to contact.  The preferred
address is possibly sixth or seventh in the list.  So, I scroll down and
pick it up.  What I want to happen now is that next time when I do the
same operation, this address should get more priority and should be on
top.

I know that lbdb is a separate program and has no direct relation to
mutt.  So, I think, one possible way it can be done is to add some kind
of scoring feature in lbdb and increase the score of selected addressed
from some macro magic from mutt every time I select an address.

Any ideas?

Abhay.
-- 
Abhay Ghaisas / [EMAIL PROTECTED]



Re: Procmail recipe to fetch gpg keys?

2000-12-19 Thread Kai Blin

* Joe Philipps <[EMAIL PROTECTED]> [18/12/00, 15:41:35]:

> >On a related issue, your key is not on the servers:
> >- - -
> >[-- PGP-Ausgabe folgt (aktuelle Zeit: Mon Dec 18 09:50:15 2000) --]
> >gpg: Unterschrift vom Mon 18 Dez 2000 06:29:09 CET, DSA Schlüssel ID FA029353
> >gpg: Schlüssels FA029353 von wwwkeys.eu.pgp.net wird angefordert ...
> >gpg: Schlüssel FA029353: Öffentlicher Schlüssel importiert
> >gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
> >gpg:importiert: 1
> >gpg: FALSCHE Unterschrift von "Joe Philipps (Philipps family sig) 
><[EMAIL PROTECTED]>"
> >[-- Ende der PGP-Ausgabe --]
> >- - -
> >(The important line is the last one saying 'WRONG signature from (...)'.)
> 
> First, sorry, the only language I understand is English, and I've had
> 4 years of Spanish study (meaning I'm not exactly fluent but I
> understand it some).  I'm guessing that's German in your GPG message.

Right. Basically it says:
[-- PGP output follows (current time: Min Dec 18 09:50:15:2000) --]
gpg: signature on Mon 18 Dez 2000 06:29:09 CET, DSA key ID FA029353
gpg: keys FA029353 requested from wwwkeys.eu.pgp.net
gpg: key FA029353: public key imported
gpg: number of keys processed: 1
gpg:imported: 1
gpg: WRONG signature from "Joe Philipps (Philipps family sig) <[EMAIL PROTECTED]>"
[-- End of PGP output --]

HTH
Kai

-- 
Kai Blin Webmasterof  http://www.uni-tuebingen.de/uni/thm/molgen/
Univ. of Tuebingen  Inst. of   Human   Genetics  fon +49-7071-2974890
Wilhelmstrasse 27   Dept. of Molecular Genetics  fax +49-7071-295233
D-72074 Tuebingen   Do molecular biologists wear designer genes?



Re: Scoring addresses in lbdb

2000-12-19 Thread Dave Pearson

On Tue, Dec 19, 2000 at 03:14:03PM +0530, Abhay Ghaisas wrote:

> I know that lbdb is a separate program and has no direct relation to mutt.
> So, I think, one possible way it can be done is to add some kind of
> scoring feature in lbdb and increase the score of selected addressed from
> some macro magic from mutt every time I select an address.
> 
> Any ideas?

Not exactly an lbdb solution, but, why not simply turn it into a mutt alias
instead? The results browser has a `create-alias' function (bound to "a" by
default).

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc -> HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Filtering through a lot of levels

2000-12-19 Thread Kai Weber

Hi,

how can I check, I a message was sent to a certain address? I want to
realise that mails to address <[EMAIL PROTECTED]> is first filtered into
the maillists and if no matching mailbox is found it should go to
mailbox "junk". Mails to address <[EMAIL PROTECTED]> should also be sorted
in its matching filters and unmatched messages should also go to the
junk mailbox. And so on. I have more than 10 email accounts and want to
bring some hierarchical sorting into it...

Any idea how to solve it cleverly?

Kai.
-- 
::: mailto:[EMAIL PROTECTED] . http://www.tu-ilmenau.de/~bond/
::: for my pgp-key mailto:[EMAIL PROTECTED] (automated reply)



GnuPG problem with locking

2000-12-19 Thread Kai Weber

Hi,

I have a problem decoding gnupg stuff. I can not find any lock file from
gnupg. What does the following output mean and how can I solve it?

Output follows:

[-- PGP output follows (current time: Tue Dec 19 11:14:35 2000) --]
gpg: Signature made Die 19 Dez 2000 01:38:55 CET using RSA key ID ED9547ED
gpg: requesting key ED9547ED from wwwkeys.eu.pgp.net ...
gpg: waiting for lock (hold by 5471 - probably dead) ...
gpg: waiting for lock (hold by 5471 - probably dead) ...
gpg: waiting for lock (hold by 5471 - probably dead) ...
gpg: waiting for lock (hold by 5471 - probably dead) ...

gpg: Interrupt caught ... exiting
^@
[-- End of PGP output --]

-- 
::: mailto:[EMAIL PROTECTED] . http://www.tu-ilmenau.de/~bond/
::: for my pgp-key mailto:[EMAIL PROTECTED] (automated reply)



Re: Filtering through a lot of levels

2000-12-19 Thread Dirk Pirschel

* Kai Weber wrote on Tue, 19 Dec 2000:

> [Mail filtering]
> Any idea how to solve it cleverly?

maildrop: http://www.flounder.net/~mrsam/maildrop/
procmail: http://www.procmail.org/

HTH
Dirk

-- 
Windooze is bootiful



Displaying both UTC and CST when reading mail

2000-12-19 Thread Michael C . Wu

Hello Everyone,

How should I have mutt display the time for the mail sent to me
in UTC, CST, and their own sent time?

Like following:

Sent On: Fri, 01 Dec 2000 07:36:18 -aa00 PST
Received On: Friday, 01 Dec 2000 xx:xx:xx  UTC
Received On: Friday, 01 Dec 2000 yy:yy:yy -bb00 CST

i.e. I receive mail from around the world and would like to be able
to tell the sender's local time, my time, and UTC time.

I know that the headers don't have all of this information and the MUA
would have to do a translation.  Is this possible?

Thank you
-- 
+--+
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+--+



Re: where to readup on locale/NLS?

2000-12-19 Thread Michael C . Wu

| For the most part I use the North American flavour of things (i.e., not i18n),
| but occasionally I recieve and send emails in iso-8859-2 charset.  After much
| frustrating experimentation, setting LC_CTYPE to "en_CA.ISO-8859-2" gets me
| the proper charset in mutt.  This works (I get Latin-2 chars when needed, but
| text is in english), but some other apps complain about this wierd mix of
| charset and locale.

Unless we know your OS version and the country/locale/language that you
wish to send to/in, we don't really know the correct locale for you.

| So I would like to read up on this stuff (locale, NLS, charmaps, etc.).  Can
| anyone recommend any beginner/intro stuff on this stuff?  Online URLs
| preferred.  Also if anyone can point out a better way to do what I want above,
| that'd be great too.

Need your OS version(uname -a) and target audience/charset.

Some stuff I wrote for intros:
http://www.freebsd.org/handbook/l10n.html
http://www.ece.utexas.edu/~mwu

You can also check out the M17N stuff at www.mozilla.org
http://www.mozilla.org/docs/refList/i18n/

Then here is a somewhat comprehensive guide at :
http://cns-web.bu.edu/pub/djohnson/web_files/i18n/i18n.html

Mutt still does not handle the Chinese/Japanese/Korean filenames
and titles very well, but I think the European charsets are fine.
-- 
+--+
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+--+

 PGP signature


Re: GnuPG problem with locking

2000-12-19 Thread Nils Vogels

Hi Kai Weber !

On Tue 19 Dec 2000 (11:33), you muttered on the list:

> Hi,
> 
> I have a problem decoding gnupg stuff. I can not find any lock file from
> gnupg. What does the following output mean and how can I solve it?
> 
> Output follows:
> 
> [-- PGP output follows (current time: Tue Dec 19 11:14:35 2000) --]
> gpg: Signature made Die 19 Dez 2000 01:38:55 CET using RSA key ID ED9547ED
> gpg: requesting key ED9547ED from wwwkeys.eu.pgp.net ...
> gpg: waiting for lock (hold by 5471 - probably dead) ...
> gpg: waiting for lock (hold by 5471 - probably dead) ...
> gpg: waiting for lock (hold by 5471 - probably dead) ...
> gpg: waiting for lock (hold by 5471 - probably dead) ...
> 
> gpg: Interrupt caught ... exiting
> ^@
> [-- End of PGP output --]
> 
Yep, that's a locked GPG :)

You can find the lockfine in ~/.gnupg .. be sure that the original process
isnt running anymore before you touch anything.

-- 
GUI
What your computer becomes after spilling your coffee on it.
(pronounced 'gooey')


 PGP signature


Re: Procmail recipe to fetch gpg keys?

2000-12-19 Thread David T-G

Joe, et al --

...and then Joe Philipps said...
% On Sun, Dec 17, 2000 at 03:11:43PM -0600, Lance Simmons wrote:
% >A day or two ago, someone on this list mentioned setting up a procmail
% >recipe to have gpg get keys automatically.
...
% >Does anyone have an example
% >of such a recipe?

I like the idea of having gpg fetch keys for me in the background, but on
a quick connection it isn't too necessary.  I haven't played with setting
up such a procmail rule because ...


% 
% I'm curious...do users usually use a separate keyring for things like

... I absolutely do; that was a big seller of gpg or pgp for me, since my
key list currently says

  % gpg --list-keys | grep ^pub | wc -l
  100

and that's way too many to manage in one ring.

Attached for the interest of those who would have it are portions of my
gpg options file (defining keyrings), .cshrc (defining a gpg command that
does not use the options file and thus does not know about the extra
keyrings), and an absolutely ugly hack to move keys from my catch-all
ring to a named ring (eg mutt).  I know that I should rewrite the latter
in a decent language or at least even clean it up, and that I should
probably look into cascading options files so that I can skip the ugly
$GNOPG setting, but I've been lazy and this has worked.

Whenever I'm reading a folder and I see gpg tell me that it has imported
a key, I simply

  !.gnupg/gpg--move  

to move it to the associated keyring; my catch-all ring stays fairly
empty.  mutt and gpg are so good at retrieving keys that I sometimes miss
it, so I have a few keys in 'misc' that I can't find in any mailing list
to know which ring *should* have them :-)


HTH & HH

:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




# Uncomment the next line to get rid of the copyright notice
no-greeting

# where to go for keys  ### thanks to c^2 in mutt-users
keyserver wwwkeys.eu.pgp.net
#keyserver wwwkeys.us.pgp.net
#keyserver certserver.pgp.com
#keyserver keyserver.net

# I know, already; be quiet
no-secmem-warning

# keyrings to use (in search order)
keyring pubring.gpg
secret-keyring secring.gpg
keyring pubring.davidtg-old-keys.gpg 
secret-keyring secring.davidtg-old-keys.gpg 
keyring pubring.corona.gpg
secret-keyring secring.corona.gpg
keyring pubring.certkeys.gpg
secret-keyring secring.certkeys.gpg
keyring pubring.corporate+group.gpg
secret-keyring secring.corporate+group.gpg
keyring pubring.rsa-keys.gpg
secret-keyring secring.rsa-keys.gpg
keyring pubring.other-old-keys.gpg
secret-keyring secring.other-old-keys.gpg
keyring pubring.tlinux.gpg
secret-keyring secring.tlinux.gpg
keyring pubring.freenet.gpg
secret-keyring secring.freenet.gpg
keyring pubring.mutt.gpg
secret-keyring secring.mutt.gpg
keyring pubring.misc.gpg
secret-keyring secring.misc.gpg
keyring pubring.move.gpg
secret-keyring secring.move.gpg
keyring pubring.catch-all-keys.gpg
secret-keyring secring.catch-all-keys.gpg



setenv GNOPG "gpg --options /dev/null --no-greeting --no-secmem-warning"# for 
no-options running


#!/bin/sh

# quick hack to move keys from catch-all ring to specified ring

# Usage: $0 KEYID ringname [-s]

NOOPTS="--options /dev/null --no-greeting --no-secmem-warning"  # --load-extension rsa 
--load-extension idea"

[ $# -lt 2 ] && { echo "Barf!  Insufficient args!" ; exit ; }

KEY=$1 ; KEY=`echo $KEY | sed -e "s@.*/@@" -e "s/0x//"` ### check for RSA?
RING=$2

echo "KEY = $KEY" ; echo "RING = $RING" ###

# look for key; puke if not found
gpg --list-keys $KEY 2>/dev/null || { echo "Barf!  Key not found!" ; }


# move seckey first
[ "$3" = "-s" ] && \
  gpg --export-secret-key $KEY | gpg $NOOPTS --secret-keyring secring.$RING.gpg 
--import

# move pubkey next
gpg --export $KEY | gpg $NOOPTS --keyring pubring.$RING.gpg --import


# wipe seckey first
[ "$3" = "-s" ] && \
  { gpg $NOOPTS --secret-keyring secring.$RING.gpg --list-secret-key $KEY 2>/dev/null 
|| \
  { echo "Barf!  Key not found on $RING secring!" ; } 
gpg $NOOPTS --secret-keyring secring.$RING.gpg --secret-keyring 
secring.catch-all-keys.gpg --list-secret-keys
gpg $NOOPTS --secret-keyring secring.catch-all-keys.gpg --delete-secret-key $KEY ; }

# wipe pubkey next
gpg $NOOPTS --keyring pubring.$RING.gpg --list-key $KEY 2>/dev/null || \
  { echo "Barf!  Key not found on $RING pubring!" ; }
gpg $NOOPTS --keyring pubring.$RING.gpg --keyring pubring.catch-all-keys.gpg 
--list-keys
gpg $NOOPTS --keyring pubring.catch-all-keys.gpg --delete-key $KEY


### gpg --armor --export 18F78541 | gpg --options /dev/null --no-greeting 
--no-secmem-warning --keyring pubring.mutt.gpg --armor --import
### gpg --options /dev/null --no-greeting --no-secmem-warning --keyring 
pubring.mutt.gpg --keyring pubring.catch-all-keys.gpg --list-keys
### gpg --options /dev/null --no-greeting --no-

Re: feature-request: delayed resubmission, follow-up

2000-12-19 Thread David T-G

Heinrich --

...and then Heinrich Langos said...
% hi
% 
% often i get mails that i would like to be reminded of later.
% like i get a mail from my girlfriend in the morning that i should
% fetch something on the way home in the evening. 
% but in the evening that mail has been scrolled way off the screen
% and is lost between tons of more or less important stuff.

It sounds like you aren't using threading or other particularly
interesting methods of sorting your mail, so you could just do what I do
when pressed by a bunch of junk: go back every once in a while, tag the
messages containing your reminders, and tag-save them to the current
mailbox.  If you're looking at the box in unsorted mode, they are dropped
to the bottom and are right under your nose.

If you're going to do this sort of thing, then a reminder folder would
be a good way to go.  You could also use the X-Label: header to write
yourself a note (or even any string like "rem") and then very simply
limit to that string later.


HTH & HH

:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: bulk mailing

2000-12-19 Thread David T-G

John-Mark --

...and then jmj@charm said...
% Can anyone out there tell me if it is possible to send many email's out using
% Bcc from mutt?

Absolutely; I do it all of the time to my family announcement aliases,
for instance.


% I have tried to cut and paste the email addresses i  the appropriate place
% when composing mail but no joy, the mailer manages to put in two and then
% put a few in the subject line and the rest in the message body.

That sounds like a problem with your cut-n-paste instead of the mailier.
My guess is that you're trying to shove in all of those addresses, cut
from multiple lines, at the To: or Bcc: prompt, and so the embedded
return gets passed to mutt and mutt moves on to the next field and then
eventually to the message body.

In this case, I'd set edit_headers and do my pasting within the editor
where newlines will simply push down the rest of the headers.


% Also is there any kind of address book I can use with mutt.

There are lots.  mutt has support for aliases, which you can either keep
in your .muttrc file or a separate file.  See the manual for more info.


% I have had trouble subscribing to this list so please mail me directly.
% Many thanks for your time

HTH & HH


% John-Mark


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: "You may not delete the only attachment."

2000-12-19 Thread David T-G

Darxus --

...and then [EMAIL PROTECTED] said...
% On 12/17, Suresh Ramasubramanian wrote:
% > Leave the message body blank, willya?  That should solve the 
% > problem.  
% 
% Then I have a 0 byte attachment that I *still* can't delete, which is just
% more annoying.

mutt says that you do, but unless you've specifically told mutt to send
your empty attachment in a MIME format, it will just be simple plain text
with no MIME headers and so nobody will know that you have an
"attachment".

Trouble deleting all those lines in your sig?  You could use 

  dG

to delete from the current line to the end, or set your sig to null based
on the address to which you're sending (something like

  send-hook . set signature=.sigfile
  send-hook majordomo set signature=/dev/null

ought to do it, though that is untested) and don't even mess with the
message body, or whip up a macro to do the deleting for you, or ...

Or, as you said before, you could patch the source.  Seems to me like
more work than a simple dGWZZ (I have a vim macro W which pushes :w^M for
me, which is necessary before the ZZ to write a completely empty file)
every once in a while or even a clever send-hook or two...


HTH & HH

:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Mutt on AFS

2000-12-19 Thread David Petrou

I'm running Mutt 1.2.5i (2000-07-28) and I'm having trouble running on
top of AFS.

I set my folder variable to an AFS directory in my .muttrc file.

I can read files of my old saved mail just fine, but I can't edit
them.  Mutt reports that the folders are read-only.  I have AFS tokens
and I'm able to read and write those files at the command-line.  I'm
not sure why Mutt doesn't think it can also.

Another problem: I tried to save an e-mail message to a folder in AFS
and mutt complained that it was unable to lock the folder file.

So has anyone out there had better luck running over AFS?

thanks,
david




Re: Mutt on AFS

2000-12-19 Thread David T-G

David --

...and then David Petrou said...
% 
% I can read files of my old saved mail just fine, but I can't edit
% them.  Mutt reports that the folders are read-only.  I have AFS tokens
% and I'm able to read and write those files at the command-line.  I'm
% not sure why Mutt doesn't think it can also.

mutt doesn't do any locking, but hands that off to mutt_dotlock.  Try

  mutt_dotlock -t /afs/some/mail/file

and see what you get.  If mutt_dotlock cannot lock the file, you'll have
to look into sgid ownership and permissions on the afs dir; perhaps root
or mail at your machine has no ability to set a lock in the afs tree.


% 
% Another problem: I tried to save an e-mail message to a folder in AFS
% and mutt complained that it was unable to lock the folder file.

Yep; that sounds like the same thing.


% 
% So has anyone out there had better luck running over AFS?

HTH & HH


% 
% thanks,
% david


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Mutt on AFS

2000-12-19 Thread David T-G

David --

...and then David Petrou said...
% > % them.  Mutt reports that the folders are read-only.  I have AFS tokens
% > % and I'm able to read and write those files at the command-line.  I'm
% > % not sure why Mutt doesn't think it can also.
% > 
% > mutt doesn't do any locking, but hands that off to mutt_dotlock.  Try
% > 
% >   mutt_dotlock -t /afs/some/mail/file
% 
% I tried that and that worked fine:
% 
% > mutt_dotlock -t /afs/cs/user/dpetrou/huy 
% >
% 
% The file /afs/cs/user/dpetrou/huy is a mail folder I put on AFS.
% mutt_dotlock returned nothing.

Whoops; I think you have to check the exit code.  You could also try to
really lock the file and see if it spits at you, but you might still have
to check the exit code.


% 
% any ideas?

Only that, so far.


% 
% > % So has anyone out there had better luck running over AFS?
% > 
% > HTH & HH
% 
% I take it these are famous mutt people.  What are their names / e-mail
% addresses?

Sorry about that; that was "Hope This Helps and Happy Holidays" :-)


% 
% > :-D
% > -- 
% > David T-G   * It's easier to fight for one's principles
% 
% Thanks,
% David
% 
% P.S.: I'm not subscribed to the mutt list, so people respond to me as
% well as to the list.  David T-G's mail is the only one I received --
% I'm unsure if anyone else responded but forgot to cc: me.

I didn't see any others, FYI.


HAND (Have A Nice Day ;-)

:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


next-unread in all monitored mailboxes.

2000-12-19 Thread Scott A. McIntyre

Is it possible to bind \t (or whatever) so that next-unread will also
jump to the next mailbox (as specified by the mailboxes option) that
has unread mail?

At present my mutt (1.3.12i) seems only to jump to the next unread in
the currently open mailbox, and "c" will default to change to the next
mailbox that has unread mail -- I'd prefer it to do that with the tab
key if possible.

I'm sure it's in here somewhere, just can find it

Thanks,
Scott