Re: Setting From when replying

2000-02-04 Thread Terje Elde

* David DeSimone ([EMAIL PROTECTED]) [000203 22:29]:
  What I want is for mutt to set the From: field when I reply to a message
  to the same address as the To: field in the original message.
 
 There is a 'reverse_name' option you can enable to do this.
 
 You will need to make sure that your 'alternates' setting matches all
 the different addresses you can receive mail as, so that Mutt can tell
 which To: lines refer to you, and which do not.
 
 Something like this should work:
 
 set alternates='^((dav|two)@abc\.com|[EMAIL PROTECTED]|[EMAIL PROTECTED])$'

New challenge:

My box is set with my email addr as [EMAIL PROTECTED], because that's what I
want when I just get lazy and pipe things into mail, and when I reply to
news postings using slrn and such. However, for mutt I want the default
email to be [EMAIL PROTECTED], which I've solved by setting 
my_hdr From: Terje Elde [EMAIL PROTECTED]
That's not normally a problem, but what happens when I want that for my
default email, but I want [EMAIL PROTECTED] when I reply to emails sent to
that addr? Normally my_hdr overrides any good done by reverse_name :(

It's a bit strange that it gets overridden too. Group replies don't :(

Terje Elde
--
Xlehveh rhkau fudwuh få mydtemi dåh tk aqd rhkau jyt få kdyn (jyt ==
fudwuh?)

 PGP signature


mutt/eterm

2000-02-04 Thread mike irwin

can anyone tell me if, and how to set up mutt to be run in eterm?  i was just using 
xterm before, but now i would like to use eterm with trans on (if possible).  when i 
try to run mutt in eterm it gives me this message:

unknown terminal: /usr/bin/Eterm
check the TERM environment variable.
also make sure that the terminal is defined in the terminfo database.
alternatively, set the TERMCAP environment variable to the desired termcap entry.

any help is greatly appreciated.
-- 


mike irwin
[EMAIL PROTECTED] -

"...all that we see or seem, is but a dream within a dream."



Re: Setting From when replying

2000-02-04 Thread Marius Gedminas

On Fri, Feb 04, 2000 at 01:07:06AM +0100, Terje Elde wrote:
 New challenge:
 
 My box is set with my email addr as [EMAIL PROTECTED], because that's what I
 want when I just get lazy and pipe things into mail, and when I reply to
 news postings using slrn and such. However, for mutt I want the default
 email to be [EMAIL PROTECTED], which I've solved by setting 
 my_hdr From: Terje Elde [EMAIL PROTECTED]
 That's not normally a problem, but what happens when I want that for my
 default email, but I want [EMAIL PROTECTED] when I reply to emails sent to
 that addr? Normally my_hdr overrides any good done by reverse_name :(

Since you're using 1.1.x, you can use `set from' instead of `my_hdr From:'.
AFAIK $from was introduced in order to solve this problem (my_hdr
overriding reverse_name).

Marius Gedminas
-- 
If you are angry with someone, you should walk a mile in their shoes... then
you'll be a mile away from them, and you'll have their shoes.



IMAP and saving messages when read

2000-02-04 Thread Simon Atack


I am using IMAP for all messages including the inbox.  I want it so that
whenever messages have been read in the inbox they are saved automatically
to the imap directory INBOX.read

I have tried setting move=yes but it doesnt move them to the folder on the
IMAP server,  I have even changed it to sent it to a local folder same
result.  I have also tried to use mbox-hook


Can anyone explain what im doing wrong?

Thanks

Simon Atack



df

2000-02-04 Thread Eric Smith

How may I best send an attachment to certain recipients and not others
all receiving the the same email?

thanx
-- 
Eric Smith
[EMAIL PROTECTED]
00 27 21 4265311

The fact that something is "tried and tested", says nothing about whether
it has been found to actually work or not.



Re: df

2000-02-04 Thread Lars Hecking

Eric Smith writes:
 How may I best send an attachment to certain recipients and not others
 all receiving the the same email?
 
 Write the email message into a text file email.txt and

 $ mutt -s subject recip1 recip2 recip3 ... email.txt
 $ mutt -s subject -a attachment.file recip5 recip6 recip7 ... email.txt

 I can't think of a way to do all recipients with just one single command.



Re: Regular Expressions Question

2000-02-04 Thread Randall J . Million

 Does "{,m}" mean "{0,m}" or "{1,m}"?  I don't know; I haven't looked at
 the source to tell.

I would assume (from my understanding of English) that it should be
"{0,m}". If not, the manual shoould be changed to reflect this.

randy

-- 
Five hundred, twenty-five thousand six hundred minutes, how do you measure...?
 
[EMAIL PROTECTED]  http://www.louisville.edu/~rjmill01/
Triangle Fraternity   http://www.louisville.edu/rso/triangle/
Association for Computing Machinery   http://acm.louisville.edu/



index is reversed on :source .muttrc

2000-02-04 Thread Jim Breton

I'm wondering if this is a bug or something.  I am sorting my index by
threads/reverse-date-received, and any time I source my .muttrc the
order of my index (message list) is reversed.

If I re-read the mailbox (c ! for example) the listing returns to
normal.

Is it supposed to do this?



Re: mutt/eterm

2000-02-04 Thread Jim Breton

How about setting:

export TERM=xterm

prior to running Mutt?


On Fri, Feb 04, 2000 at 06:19:14AM -0500, mike irwin wrote:
 can anyone tell me if, and how to set up mutt to be run in eterm?  i was just using 
xterm before, but now i would like to use eterm with trans on (if possible).  when i 
try to run mutt in eterm it gives me this message:
 
 unknown terminal: /usr/bin/Eterm
 check the TERM environment variable.
 also make sure that the terminal is defined in the terminfo database.
 alternatively, set the TERMCAP environment variable to the desired termcap entry.
 
 any help is greatly appreciated.
 -- 
 
 
 mike irwin
 [EMAIL PROTECTED] -
 
 "...all that we see or seem, is but a dream within a dream."



search order in 'mailboxes'

2000-02-04 Thread Charles Cazabon

I've specified my 'mailboxes' in my .muttrc, and when using 'c' to change
mailboxes, mutt (v.1.0)  always defaults to the _first_ mailbox with new
mail.  Is there a way to make the default the _next_ mailbox instead?

i.e. mailboxes = 'a b c d e'
I read all the mail in 'a', 'b', and 'c'.  While reading 'c', new mail arrives
in 'a'.  When I use the c key to changes mailboxes, mutt will default back
to 'a', whereas I would like it to check for new mail in 'd', 'e', and only
after that go back to 'a'.

Charles
-- 

Charles Cazabon  [EMAIL PROTECTED]
Any opinions expressed are just that -- my opinions.




Re: Problem verifying gpg signatures with pgp

2000-02-04 Thread Jim Breton

On Fri, Feb 04, 2000 at 06:51:25AM -0600, Christopher Uy wrote:
 
 Does this happen with any message you sign, no matter how simple it
 is?  I know I had problems verifying signatures for a while, but the
 problem was intermittent and ultimately turned out to be related to a
 procmail bug and a line in my signature file. :-/

Yah pretty much.  I am using qmail for my MTA and procmail for my MDA,
but I'm not using any "recipes" at all.  Just normal delivery to
/var/spool/mail/.  Strange how the PGP sigs are verifiable by both GPG
and PGP, yet the GPG sigs can only be verified by GPG.

There must be something more than meets the eye happening.  :)
Shouldn't be a GPG bug because making a sig from the shell works fine.
I guess I'll have to look at the arguments Mutt sends to GPG and start
changing them one by one until I find out which one breaks it.  Will
post to the list once I figure it out of course.  :)

Thanks.



Re: send-hook, multiple hooks in one line?

2000-02-04 Thread Michael Elkins

On Fri, Feb 04, 2000 at 03:01:05PM -0600, freix wrote:
 send-hook .* 'unset pgp_autoencrypt'
 send-hook '~t ^user@host\.domain\.com$' 'set pgp_autoencrypt'
 send-hook '~t ^user@host\.domain\.com$' 'set pgp_autosign'
 
 Is the only way I seem to be able to achieve both.  Any variation of
 syntax, pipes, diff quotes, no quotes, etc, doesn't seem to take.
 
 send-hook '~t ^user@host\.domain\.com$' 'set (pgp_autosign|pgp_autoencrypt)'

send-hook '~t ^user@host\.domain\.com$' set pgp_autosign pgp_autoencrypt

will do the trick.  remember, you can set multiple variables in one shot..
Here is a real world example from my own .muttrc:

send-hook ~A "set signature realname='Michael Elkins' 
hostname=toesinperil.com;unmy_hdr from"

It resests the value of $signature, sets $realname and $hostname, then in a
separate command, it removes the custom from: field (unmy_hdr).

me
-- 
pgp key available from http://www.cs.hmc.edu/~me/elkins-pgp-key.asc

 PGP signature


PGP/MIME and other mail clients...

2000-02-04 Thread Christopher Smith

Sigh... I have to say, I've been discovering PGP/MIME to be quite a
problem. :-( There has to be something which can be done about this.

Here are problems I've encountered:

1) PGP/MIME signed documents don't work well with Outlook Express. In
particular, it seems to think the plaintext has to be viewed as an
attachment.

2) PGP/MIME support in basically ALL the windows mail clients out
there is shoddy at best. I still haven't found one that will properly
recognize a message as PGP/MIME, decode an encrypted message and then
validate the signature.

3) PGP/MIME seems to cause some e-mail clients (in particular Eudora)
to crash upon opening. I have no idea what the deal is with this.

4) Getting a windows e-mail client which can SEND PGP/MIME is next to
impossible... no wait, it is impossible. ;-) This makes using PGP/MIME
almost impossible.

5) I'm getting weird cases where a lot of mailers are claiming my PGP
signatures are invalid... regardless of whether I use PGP/MIME or if I
use encrypt  sign all inline.

6) When windows eudora people read my PGP/MIME e-mails from Mutt, they
claim the end-of-line character isn't working... it seems almost like
it's all decoding to a Unix "\n" instead of "\r\n".

The whole thing is that PGP is complicated enough by itself. When you
add in all these other problems, it makes it almost impossible for
most people to use. The success of things like PGP largely depends on
how convenient it is for people to do things the right way.

So, I guess I have two questions: 
1) what can be done to improve upon the situation, and 
2) if anyone else has had similar problems to mine, how did they get
around them?

--Chris
 PGP signature