Re: conditionals

2000-07-22 Thread Thomas Roessler

On 2000-07-21 17:25:30 +0200, Johannes Zellner wrote:

> is it possible to have conditionals in ~/.muttrc ?
> I want for example slightly different colors in
> xterm than in linux console.

I'm doing it this way:

source ~/.mutt/colors.`if [ "$TERM" = "linux" ] ; then echo \
linux ; else echo default ; fi`


-- 
Thomas Roessler  <[EMAIL PROTECTED]>



Re: Questions not covered at www.mutt.org

2000-07-22 Thread Thomas Roessler

On 2000-07-22 11:28:34 +1000, Rob Watkin wrote:

> * Color does not work - I have tried all the
>   suggestions in the FAQ.

This depends on several factors:

- Your curses library must support colors.  Make sure that
  "mutt -v" displays "+HAVE_COLOR", not "-HAVE_COLOR".
  
- Your terminal must support colors.  Setting TERM to
  xterm won't give you color support. Try xterm-color, or,
  if you have a sufficiently-recent xterm and ncurses
  version installed, TERM=xterm-xf86-v33.

- Finally, you should put some color definitions into your
  ~/.muttrc. ;-)

-- 
Thomas Roessler  <[EMAIL PROTECTED]>



Re: Questions not covered at www.mutt.org

2000-07-22 Thread Thomas Dickey

On Sat, Jul 22, 2000 at 11:04:36AM +0200, Thomas Roessler wrote:
> On 2000-07-22 11:28:34 +1000, Rob Watkin wrote:
> 
> > * Color does not work - I have tried all the
> >   suggestions in the FAQ.
> 
> This depends on several factors:
> 
> - Your curses library must support colors.  Make sure that
>   "mutt -v" displays "+HAVE_COLOR", not "-HAVE_COLOR".
>   
> - Your terminal must support colors.  Setting TERM to
>   xterm won't give you color support. Try xterm-color, or,
>   if you have a sufficiently-recent xterm and ncurses
>   version installed, TERM=xterm-xf86-v33.

The 3.3.x series isn't the most recent - that would be the 4.x series
(I made some improvements to keyboard layout in 4.x, as well as added
optional support for UTF-8).

The XFree86 xterm supports ANSI color and VT220 emulation
There's an faq at
http://dickey.his.com/xterm/xterm.faq.html
ftp://dickey.his.com/xterm

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com



Re: : : SMTP

2000-07-22 Thread Magnus Stenman

On Fri, Jul 21, 2000 at 10:46:19AM +0530, Suresh Ramasubramanian wrote:
> Magnus Stenman proclaimed on mutt-users that:
> 
> > How nice if I could do my mail. I got [S]IMAP for incoming,
> > but outgoing often gets munged or refused when I try to
> > use my "home" address with the local SMTP system.
> > 
> > Too bad I cannot just post my mail on my "home" box
> > using SMTP +auth...
> 
> What you can do is to set up a lightweight smtp client like ssmtp (get
> it from google or freshmeat).  That can be made to speak smtp auth -
> and mutt can send through it using set sendmail in .muttrc

Yes, but it would be nice if I didn't have to add any extra stuff,
just use any mutt from anywhere, quickly.

Compiling ssmtp with sasl auth libraries on different
platforms every now and then is a bit messy.

I tend to find myself a netscape messenger instead,
enable SMTP auth and use my SIMAP mailboxes from there.

I'd rather slap my portable .muttrc in place and
use good old mutt.


/m

> 
> >  Get it up, keep it up.  Linux -- Viagra for your PC
> 
> scarfed for my sigfile if you don't mind ;)


That's how I got it in the first place...

> 
> -- 
> Suresh Ramasubramanian + [EMAIL PROTECTED]
> The giraffe you thought you offended last week is willing to be nuzzled
> today.

-- 
 Magnus Stenman   mailto:[EMAIL PROTECTED]   http://www.hkust.se

 Get it up, keep it up.  Linux -- Viagra for your PC



gnupg and pgp incompatibility

2000-07-22 Thread Dennis Robertson

Hello List,
I am trying to correspond with a friend who uses Windows and Eudora 4.3.2 (gasp!) with 
PGP
6.5.3. I use mutt and gnupg 1.0.1 ;).  When he invokes decrypt on my messages  all he 
sees
is: "Content-type: text/plain: charset=us-ascii".  That is the end of the process;  no 
text
is visible.  He has no difficulty corresponding with me and others using pgp and 
windows. I
have read of mutt's alleged shortcomings with mime on the qmail list.
Is there a way to make mutt/gnupg and windows/eudora/pgp 6.5.3 talk to each other?
TIA.


-- 
Dennis Robertson  2/2 Sylvia Street  NOOSAVILLE QLD 4566
Phone: 61 7 54742343  Mob: 0419 535539



POP3 fetching redirect to other mailbox

2000-07-22 Thread Daniel Roesen

Hi!

Is it possible to redirect mails fetched by the built-in POP3
fetching facility to any other mailbox folder than the standard
inbox? Having the fetched mails saved into the current or a
predefined (in muttrc) mailbox would be very convenient.


Best regards
Daniel




Re: POP3 fetching redirect to other mailbox

2000-07-22 Thread Michael Tatge

Daniel Roesen muttered:
> 
> Is it possible to redirect mails fetched by the built-in POP3
> fetching facility to any other mailbox folder than the standard
> inbox?

According to the manual mutt delivers to $spoolfile.
'Mutt will fetch all your new mail and place it in the local
spoolfile.'
If you did not set $spoolfile explicitly. If defaults to the value
of $MAIL.

> Having the fetched mails saved into the current or a
> predefined (in muttrc) mailbox would be very convenient.

If you don't like this behavior set $spoolfile to any path you like.
I wouldn't recommend altering $spoolfile but use fetchmail / procmail
instead. 

HTH,

Michael
-- 
Staff meeting in the conference room in %d minutes.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Re: Questions not covered at www.mutt.org

2000-07-22 Thread Michael Tatge

Rob Watkin muttered:
> 
> I'm new to mutt

Welcome!

> There are a couple of things that don't seem to be working and some
> features I don't understand.
> 
> * Color does not work - I have tried all the suggestions in the FAQ.

Don't you see any colors or what 'does not work'?

> * The 'screenshots' at http://www.mutt.org show an X enhanced menu but
>   I can't figure out how to get that to work.

iirc, that's an eterm theme.

> * How (or where) does mutt save my 'sent mail'.

set copy=yes (default)
set record=/your/sent-mail/file

> I really thing that I must be missing some important piece of
> documentation which helps new users get oriented with mutt's
> philosophy.

For starters you could give the manual a chance :)
Presuming you installed mutt at the default place:

/usr/local/doc/mutt/manual.txt
/usr/local/doc/mutt/html/manual.html

HTH,

Michael
-- 
No directory.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13
 



gnupg

2000-07-22 Thread L Vogtmann

Hello,
I'm new to this list, so I'm sorry if this question has been answered before.
I have mutt-1.2.4i and gnupg-1.0.2 installed.  Using the supplied 
sample/gpg.rc file I can sign messages fine.  But I cannot encrypt.  I just prompts 
for a key id, and when I enter that (every way I know how, Full Name , 
email@address, and 0xNUMBERABC) it just beeps at me.  I then press ^G, and it says 
Looking for keys matching "Full Name "...
What am I doing wrong?  Gpg by itself will encrypt just fine, and the commands 
in the rc file seem to work when I substitute the variables myself.
I will attach my .muttrc and .gnupg files to this message.
Thanks for you help.
-- 
Vmann <[EMAIL PROTECTED]>
PGPkey 
ICQ #14259386



# -*-muttrc-*-
#
# Command formats for gpg.
# 
# This version uses gpg-2comp from 
#   http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp.tar.gz
#
# $Id: gpg.rc,v 1.5.2.1 2000/05/23 08:15:02 roessler Exp $
#
# %pThe empty string when no passphrase is needed,
#   the string "PGPPASSFD=0" if one is needed.
#
#   This is mostly used in conditional % sequences.
#
# %fMost PGP commands operate on a single file or a file
#   containing a message.  %f expands to this file's name.
#
# %sWhen verifying signatures, there is another temporary file
#   containing the detached signature.  %s expands to this
#   file's name.
#
# %aIn "signing" contexts, this expands to the value of the
#   configuration variable $pgp_sign_as.  You probably need to
#   use this within a conditional % sequence.
#
# %rIn many contexts, mutt passes key IDs to pgp.  %r expands to
#   a list of key IDs.

# ID
set pgp_sign_as=0x9E5CF3BB

# Default algorithm
set pgp_sign_micalg=pgp_sha1

# decode application/pgp
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"

# verify a pgp/mime signature
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"

# decrypt a pgp/mime attachment
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"

# create a pgp/mime signed attachment
# set pgp_sign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0 
--armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor 
--detach-sign --textmode %?a?-u %a? %f"

# create a application/pgp signed (old-style) message
# set pgp_clearsign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 
0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor --textmode --clearsign %?a?-u %a? %f"

# create a pgp/mime encrypted attachment
# set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt 
--textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_only_command="pgpewrap gpg -v --batch --output - --encrypt --textmode 
--armor --always-trust -- -r %r -- %f"

# create a pgp/mime encrypted and signed attachment
# set pgp_encrypt_sign_command="pgpewrap gpg-2comp --passphrase-fd 0 -v --batch 
--output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch --output - 
--encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"

# import a key into the public key ring
set pgp_import_command="gpg --no-verbose --import -v %f"

# export a key from the public key ring
set pgp_export_command="gpg --no-verbose --export --armor %r"

# verify a key
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"

# read in the public key ring
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 

# read in the secret key ring
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons 
--list-secret-keys %r" 

# receive key from keyserver:
#set pgp_getkeys_command="wrap.sh -g %r"
set pgp_getkeys_command=""


set folder=~/Mail
set alias_file=".alias"
set postponed="~/Mail/.postponed"
set record="~/Mail/SendMessages"
set signature="~/Mail/.signature"
my_hdr From: L Vogtmann <[EMAIL PROTECTED]>
source =".alias"
source =".gnupg"



Re: conditionals

2000-07-22 Thread Eugene Lee

On Sat, Jul 22, 2000 at 10:58:18AM +0200, Thomas Roessler wrote:
: On 2000-07-21 17:25:30 +0200, Johannes Zellner wrote:
: 
: > is it possible to have conditionals in ~/.muttrc ?
: > I want for example slightly different colors in
: > xterm than in linux console.
: 
: I'm doing it this way:
: 
: source ~/.mutt/colors.`if [ "$TERM" = "linux" ] ; then echo \
:   linux ; else echo default ; fi`

Can't you do something like:

source ~/.mutt/$TERM

and then just create a different muttrc file for each terminal?


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: Questions not covered at www.mutt.org

2000-07-22 Thread Juergen Salk

* Michael Tatge <[EMAIL PROTECTED]> [000722 20:28]:

> > * The 'screenshots' at http://www.mutt.org show an X enhanced menu but
> >   I can't figure out how to get that to work.
> 
> iirc, that's an eterm theme.

I am wondering how a *theme* can add GUI functionality to a non-GUI program.

Best regards - Juergen.





Re: Questions not covered at www.mutt.org

2000-07-22 Thread Anton Graham

Submitted 23-Jul-00 by Juergen Salk:
> * Michael Tatge <[EMAIL PROTECTED]> [000722 20:28]:
> 
> > iirc, that's an eterm theme.
> 
> I am wondering how a *theme* can add GUI functionality to a non-GUI program.
> 

ETerm "themes" allow you to customize the menus at the top of the
window.  It's not really adding "GUI functionality." Essentially what
Eterm does is push keystrokes into the window.  So it's like "mouse
selectable macros"

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / <[EMAIL PROTECTED]>
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!

 PGP signature


Re: gnupg and pgp incompatibility

2000-07-22 Thread David Champion

On 2000.07.22, in <[EMAIL PROTECTED]>,
"Dennis Robertson" <[EMAIL PROTECTED]> wrote:
> Hello List,
> I am trying to correspond with a friend who uses Windows and Eudora 4.3.2 (gasp!) 
>with PGP
> 6.5.3. I use mutt and gnupg 1.0.1 ;).  When he invokes decrypt on my messages  all 
>he sees
> is: "Content-type: text/plain: charset=us-ascii".  That is the end of the process;  
>no text

Are you certain that you have mutt properly configured?  What do you
for a content-type if you bcc yourself one of these messages?  What
about Fcc:?

> is visible.  He has no difficulty corresponding with me and others using pgp and 
>windows. I
> have read of mutt's alleged shortcomings with mime on the qmail list.
> Is there a way to make mutt/gnupg and windows/eudora/pgp 6.5.3 talk to each other?

I don't know about these allegations.  As far as I know, mutt does
PGP/MIME perfectly, but does not do SMIME or application/pgp.  Eudora
4.3.2 will issue valid PGP/MIME, which mutt can read, but it can not
read PGP/MIME issued by either mutt or itself.  (Yes: Eudora cannot
read its own output.)

There are procmail rules for bending Eudora's usual PGP output into a
format Mutt can work with.  Check the web site or list archives.

So, short answer: Eudora can send to Mutt, but Mutt can't send to
Eudora, and it's Eudora's fault.

(Actually there are ways to make Mutt send messages that Eudora can
handle, but these are kludgy and don't involve proper MIME.  I think
they involve macros.  Again, check the web or archives.)

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



gpg encrypt

2000-07-22 Thread L Vogtmann

Still can't encrypt, but I've narrowed it down to a problem with the 
"pgp_getkeys_command".

I don't get a "menu" as described in the FAQ or manual.  I just get a prompt to enter 
the key id for who I am encrypting to.  And it will not accept ANYTHING is a valid key.

I started with mutt-1.2.4i and gnupg-1.0.1.  I've since read all of the Mutt+PGP/GnuPG 
HOWTO, FAQ, Manual, and quite a few muttrc files.  I've upgraded to gnupg-1.0.2, I've 
downgraded to mutt-1.2i.

I can sign things fine.  I just can't encrypt.  Please help, this is bugging the crap 
out of me!

-- 
Vmann <[EMAIL PROTECTED]>
PGPkey 
ICQ #14259386


 PGP signature