Re: mutt 1.2.5i and cyrus iamp ssl

2000-12-26 Thread Marc Richter

On Sun, Dec 24, 2000 at 04:58:54PM -0500, Ilya wrote:
 I also noticed that if I turn on ssl I am asked each time I start mutt of I
 want to reject certificate or save it once. Why is there no option to save
 it permanently?
 thx


Hi Ilya !

There is an option with which you can store all your certificates in !
But if mutt doesn't know where to store it it'll ask you each time you connect
to the server ;-)

try this option:

set certificate_file=~/mail/.certificates

and your certificates will be stored to that file !

have fun
Marc
-- 
registered Linux User #165939



Re: reloading mutt aliases file

2000-12-26 Thread Jesper Holmberg

I have tried to put an unalias statement in my alias-file, to reset
everything before reloading the file. However, no matter if I use

unalias .

or

unalias *

it doesn't seem to work: it doesn't forget all previously defined aliases
as I expect it to do. In fact, it doesn't forget anything.

What do I do wrong?

TIA

Jesper

-- 
"But how can one be warm alone?"

Jesper Holmberg [EMAIL PROTECTED]



ssh and default bg color problem

2000-12-26 Thread Nathan Cullen

I currently run mutt in two different situations:
1. on my home machine (linux) in a transparent Eterm window
2. ssh-ing into my home machine from a Windows box.

When I'm home, I set all my background colors to "default" so that the
transparent Eterm effect works in X.  However, when I'm on a Windows box
and I ssh into my machine, the "default" background color causes
problems.  The "current message" bar's colors bleed into the next item
in the message index, and when viewing in the pager, the header colors
bleed into my message text.

To solve this issue, I set the background to "black" when I ssh into the
box and everything color-wise is ok.  This works because I don't need
the transparent backgrounds when I ssh in.

But now, based on where I am, I constantly have to rename my
.mutt_colors file (which is "sourced" by my .muttrc) depending on
whether I'm using ssh or whether I'm local, running under X.  This is
very frustrating.

So who's at fault?  Is it mutt for not using slang/ncurses correctly?
Is it slang/ncurses not being able to handle the default color?  Is it
my ssh client not supporting the correct terminal type?

-- 
Nathan Cullen
[EMAIL PROTECTED]




Re: ssh and default bg color problem

2000-12-26 Thread Thomas Dickey

On Tue, Dec 26, 2000 at 11:29:28AM -0500, Nathan Cullen wrote:
 I currently run mutt in two different situations:
 1. on my home machine (linux) in a transparent Eterm window
 2. ssh-ing into my home machine from a Windows box.
 
 When I'm home, I set all my background colors to "default" so that the
 transparent Eterm effect works in X.  However, when I'm on a Windows box

...what terminal emulator are you using?  - that's the place to start.

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



Re: reloading mutt aliases file

2000-12-26 Thread Eugene Lee

On Tue, Dec 26, 2000 at 11:15:30AM +0100, Jesper Holmberg wrote:
: 
: I have tried to put an unalias statement in my alias-file, to reset
: everything before reloading the file. However, no matter if I use
: 
: unalias .
: 
: or
: 
: unalias *
: 
: it doesn't seem to work: it doesn't forget all previously defined aliases
: as I expect it to do. In fact, it doesn't forget anything.
: 
: What do I do wrong?

There appears to be no method to "unload" all defined aliases in memory,
at least according to the current docs.  The "unalias" command doesn't
seem to accept wildcards or shortcuts.


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: Is it possible to have a Trashbox?

2000-12-26 Thread Gary Johnson

On Mon, Dec 25, 2000 at 04:37:29PM -0600, Mike McNally wrote:
 Thanks a lot.  But how do you have it do this with out asking
 you if you want it done?  
 
 
 On Thu 16 Nov 2000, Daniel Kollar wrote:
 
 macro index d "save-message=trashenter"
 macro pager d "save-message=trashenter"
  
  macro index \CD "\et;save-message=trashenter"
  macro pager \CD "\et;save-message=trashenter"

One way would be to 'unset confirmappend', either permanently in your
muttrc or temporarily (i.e., unset it at the start, then [re]set it at
the end) as part of the macro.  Another way would be to add another
enter to the end of the macro to automatically answer the question.

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



folder-hook, macro help

2000-12-26 Thread Gottipati Aravind

Hi ,
I am trying to write a macro that cleans out all messages older
than a day in my trashcan folder (mailbox). This is the entry in my
muttrc file

folder-hook =trashcan macro index \Cc 'T"~d 1d"\n;d\n'

I get an error message saying d. undefined. I am using 
--
Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.18 [using ncurses 5.0]
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
+COMPRESSED
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/share/mutt"
SYSCONFDIR="/etc"
ISPELL="/usr/bin/ispell"
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.
--
 
How do I write it (or what am I doing wrong?)?

thank you,
Aravind
 



Re: IMAP blues

2000-12-26 Thread Gregor Zattler

Hi there, 

* Mikko Hänninen [EMAIL PROTECTED] [Wed 08 Nov 2000 18:27:36 GMT]:
[Header rewriting tips for sendmail]
 IMHO, instead of using header rewriting, it's better to get the headers
 right at the source (use "set [EMAIL PROTECTED] envelope_from").
 You will still need to configure sendmail (or whatever the MTA is) to
 use a smarthost.

"set [EMAIL PROTECTED] envelope_from"
   ^
I use "set from=Real Name [EMAIL PROTECTED]" what is the "envelope_from"
good for?

Ciao, Gregor



Re: ssh and default bg color problem

2000-12-26 Thread Joe Philipps

On Tue, Dec 26, 2000 at 11:29:28AM -0500, Nathan Cullen wrote:
I currently run mutt in two different situations:
1. on my home machine (linux) in a transparent Eterm window

Yay.

2. ssh-ing into my home machine from a Windows box.

My condolences :-).

When I'm home, I set all my background colors to "default" so that the
transparent Eterm effect works in X.  However, when I'm on a Windows box
and I ssh into my machine, the "default" background color causes
problems.  The "current message" bar's colors bleed into the next item
in the message index, and when viewing in the pager, the header colors
bleed into my message text.

To solve this issue, I set the background to "black" when I ssh into the
box and everything color-wise is ok.  This works because I don't need
the transparent backgrounds when I ssh in.

Here's a novel workaround, which may solve more than just your Mutt
problem, and may or may not work based on with what you have to work.

1.) install VNC (X) (http://www.uk.research.att.com./vnc/)
2.) arrange for your display manager (e.g., xdm) to start Xvnc and to
put up a login dialog on your VNC server (optional)
3.) install VNC (Win32, or WinVNC)
4.) ssh in using port forwarding, and possibly compression (VanDyke's
SecureCRT is one such Win32 program that will do that)
5.) use WinVNC to connect to your local machine on the port being
forwarded by your ssh client (e.g., mycomputer:1 to connect to a ssh
listening on mycomputer's TCP port 5901).

This (in a slightly more convoluted fashion due to a proxy also being
in the way) is what I do to run my X apps "securely," including xterms
running Mutt in them.  I use VNC to take advantage of its graphical
encoding/compression (over just using bare X11), and use ssh's
compression on top of that.  Over my present V.90 connection, it's not
too bad.

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Re: folder-hook, macro help

2000-12-26 Thread Joe Philipps

On Tue, Dec 26, 2000 at 04:12:16PM -0600, Gottipati Aravind wrote:
Hi ,
   I am trying to write a macro that cleans out all messages older
than a day in my trashcan folder (mailbox). This is the entry in my
muttrc file

folder-hook =trashcan macro index \Cc 'T"~d 1d"\n;d\n'

I get an error message saying d. undefined. I am using 

[...description of Mutt's build...]

Perhaps it would work if you were to use function names between
less-than/greater-than pairs.  Doing macros like the above may work,
but they will depend on the exact keybindings (and therefore, Mutt's
mode) at the time they're executed.  Using for example
"delete-message" would be explicit about what you would want done.

I dunno...is that helpful?

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Re: IMAP blues

2000-12-26 Thread Suresh Ramasubramanian

Gregor Zattler proclaimed on mutt-users that: 

 "set [EMAIL PROTECTED] envelope_from"
^
 I use "set from=Real Name [EMAIL PROTECTED]" what is the "envelope_from"
 good for?
 
 To make sure the envelope sender is not [EMAIL PROTECTED] instead of 
[EMAIL PROTECTED]

--suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
If you analyse anything, you destroy it.
-- Arthur Miller