information on PGP-signed messages

1999-06-25 Thread Anonymous

Hello,

there are many PGP-signed messages in this mailing-list. I don't have
the public keys from all that senders.

Can I shrink the 15 lines of useless (every time the same) PGP
information?  One line like "key unavailable", "sign OK" or "sign not
OK" looks better on a 80x25 display...

Jens



Re: information on PGP-signed messages

1999-06-25 Thread Anonymous

On Fri, Jun 25, 1999 at 06:37:11AM +0200, Jens Tautenhahn wrote:
 Hello,
 
 there are many PGP-signed messages in this mailing-list. I don't have
 the public keys from all that senders.
 
 Can I shrink the 15 lines of useless (every time the same) PGP
 information?  One line like "key unavailable", "sign OK" or "sign not
 OK" looks better on a 80x25 display...

You can use the condense_pgp patch from my mutt-page:

http://www/~sec/mutt/patch-0.95.sec.condense_pgp.1

which makes the pgp output less verbose.

CU,
Sec
-- 
If architects built buildings like programmers build programs,
the first woodpecker to come along would destroy civilization.



Re: A few mutt questions

1999-06-25 Thread David Thorburn-Gundlach

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=EuxKj2iCbKjpUGkD; micalg=pgp-sha1;protocol="application/pgp-signature"




jump to next old message

1999-06-25 Thread Anonymous

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=xyF51EaUT3XiWnZP; micalg=pgp-sha1;protocol="application/pgp-signature"




Re: jump to next old message

1999-06-25 Thread Anonymous

On Fri, Jun 25, 1999 at 07:30:39AM -0400, David Thorburn-Gundlach wrote:
 Hi, folks --
 
 I know that I can use tab to jump to the next new message, but is
 there a key or binding that I can use to jump to the next old message?
 I have a mailbox with some old-and-unread messages that I'd like to
 find all in one shot, instead of reading one, writing the mailbox,
 and changing to it to go to "first unreade".
 
 

Hi, I have inserted

bind index ESCn next-unread 
bind index ESCp previous-unread

into Muttrc

in order to jump to the next unread, "O" marked message resp. to the
previous one.

Bye, Juergen.




-- 

* Juergen Leising; email: [EMAIL PROTECTED] *
*  http://www.stud.uni-bayreuth.de/~a0037/ *




Re: secure tunnel and IMAP

1999-06-25 Thread Aris Mulyono

On Thu, Jun 24, 1999 at 08:37:00PM -0700, Brian D. Winters wrote:
 
 I have the following in a script:
 
 ssh -f -L 4143:imapserver:143 sshhost 'sleep 5 /dev/null /dev/null'
 mutt $*

What happens when 5 seconds have elapsed? Would port 4143 in the sshhost
still forward to port 143 of the imapserver?

TIA,

-Aris
-- 
sushi, n.:
When that-which-may-still-be-alive is put on top of rice and
strapped on with electrical tape.



Re: Mutt/Netscape

1999-06-25 Thread Anonymous

Brian D. Winters [EMAIL PROTECTED] typed:
 Under Navigator, yes a mailto will bring up mutt, but as I failed to
 observe yesterday, it doesn't actually pass the address.  This
 obviously isn't incredibly useful behavior.  If I figure out a
 workaround I'll post it here, but otherwise it looks like communicator
 is still required after all.  Sorry for any inconvenience.

Well, I'm no brilliant C programmer, but this change seems to have
helped.

: #/usr/homebrew/unixpost-mutt# diff mutt.c mutt_old.c 
: 132c132
:char* argv[16] = {XTERM, "-e", MUTT, to, NULL};
: ---
:char* argv[16] = {XTERM, "-e", MUTT, NULL};
: 154,157c154,156
:  /*  if (subject  strcmp("", to))  {
:   *   argv[nargs++] = to;
:   * }
:   */
: ---
:if (subject  strcmp("", to))
:  argv[nargs++] = to;
:  

This works fine for me in navigator now..  I haven't tried passing it
CC or BCC information, but I'm not too worried about that..

-- 
Chris Grossmann  [EMAIL PROTECTED]
http://www.tunl.duke.edu/~grossman/
"Oh, we got both kinds. We got country *and* western."



Re: Mutt/Netscape

1999-06-25 Thread Anonymous

And this change makes xmutt work properly with navigator 4.61:

[root@lhe unixpost-mutt]# diff xmutt.c xmutt_old.c 
132c132
   char* argv[16] = {XMUTT, to, NULL};
---
   char* argv[16] = {XMUTT, NULL};

Thanks Chris.
-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



send-hooks - cruel

1999-06-25 Thread Anonymous

Hi

Many months of fiddling and I have not managed to get send-hooks to work.

Here is my muttrc - can you see why?


#send-hook '~A'  'my_hdr From: Mutt User user@winkle'
send-hook '~A'  'my_hdr Subject: THIS IS VERY IMPORTANT'
#send-hook . 'my_hdr From: [EMAIL PROTECTED]'
#send-hook eric "signature='test signature'

set folder=~/Mail   # where i keep my mailboxes
set visual="vim -s /tmp/ii -c '2/To'"
#set abort_unmodified=yes   # automatically abort replies if I don't
# change the message
#set alias_file=~/.mail_aliases # where I keep my aliases
#set allow_8bit # never do Q-P encoding on legal 8-bit chars
#set arrow_cursor   # use - instead of hiliting the whole line
set ascii_chars # use ASCII instead of ACS chars for threads
unset abort_unmodified
set attribution="And on %d it was said by %n:"  # how to attribute replies
set autoedit# go to the editor right away when composing
set auto_tag# always operate on tagged messages
set charset="iso-8859-1"# character set for your terminal !!
set noconfirmappend # don't ask me if i want to append to mailboxes
#set confirmcreate  # prompt when creating new files
set copy=yes# always save a copy of outgoing messages
set delete=yes  # purge deleted messages without asking
set edit_hdrs   # let me edit the message header when composing
set editor="vim -c 'set tw=75' -c 'syntax on' -s ~/bin/A"
set fast_reply  # skip initial prompts when replying
#set fcc_attach # keep attachments in copies of sent messages?
#set force_name # fcc by recipient, create if mailbox doesn't exist
#set forw_decode# weed and MIME decode forwaded messages
#set forw_format="[%a: %s]" # subject to use when forwarding messages
#set forw_quote # quote the header and body of forward msgs
#set hdr_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s"
set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index
set hdrs# include `my_hdr' lines in outgoing messages
#set header # include message header when replying
set help# show the help lines
set history=200 # number of lines of history to remember
set hostname="fruitcom.com" # my DNS domain
set include # always include messages when replying
set indent_str="  ] "   # how to quote replied text
#set locale="C" # locale to use for printing time
set mailcap_path="~/.mailcap:/usr/local/share/mailcap"
#set nomark_old # i don't care about whether a message is old
set mail_check=4# how often to poll for new mail
#set mbox=+mbox # where to store read messages
#set menu_scroll# no implicit next-page/prev-page
#set metoo  # remove my address when replying
set mime_fwd# use message/rfc822 type to forward messages
set move=no # don't ask about moving messages, just do it
set nomove
#set pager=less # some people prefer an external pager
#set pager_context=3# no. of lines of context to give when scrolling
#set pager_format="-%S- %-20.20f %s"# format of the pager status bar
set pager_index_lines=12# how many index lines to show in the pager 
WAS SIX
set pager_stop  # don't move to the next message on next-page
#set pgp_strict_enc # use Q-P encoding when needed for PGP
set postponed=+postponed# mailbox to store postponed messages in
set print=yes   # ask me if I really want to print messages # Eric changed yes 
to no
set print_command="lpr -oc|fmt -s"  # He likes to save trees, he says
set noprompt_after  # ask me for a command after the external pager exits
set quote_regexp="^ *[a-zA-Z]*[:#}]"   # how to catch quoted text
set read_inc=25 # show progress when reading a mailbox
#set recall # prompt to recall postponed messages
set record=+sent# default location to save outgoing mail
set reply_to# always use reply-to if present
set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject:
#set resolve# move to the next message when an action is performed
#set reverse_alias  # attempt to look up my names for people
set reverse_name# use my address as it appears in the message
# i am replying to
set nosave_empty# remove files when no messages are left
set save_name   # save outgoing messages by recipient, if the
set sendmail="/usr/lib/sendmail -oi -oem -t"# how to deliver mail
#set 

Re: forward_decrypt

1999-06-25 Thread Anonymous

Thank you for your answer, forward_decrypt makes sense to me now.
BTW, the subject line should have read: forward_decrypt, as it does now,
sorry about it.

Mark Bainter dixit:
~ 
~  
~  Also, about encrypted mail, is there a way of having non-mime encrypted
~  (just as you would with digitally signed ones, eg. with procmail) mail?
~  If so, how?  (other that using a vi's command feature).
~  
~ 
~ Not that I'm aware of.  You could pre-process it with procmail (presumeably)
~ or do it from within your editor, but those are the only ways I'm aware of.

The thing is someone asked about it, concerned about sending encrypted
mail to M$ OE users, but while I'm aware the way MIME PGP signed mail
work, I'm not sure on whether it's any similar for MIME PGP encrypted
mail.

If anyone knows of a keybinding for doing it, could you please pass it
on to me?

TIA
-- 
Horacio
[EMAIL PROTECTED]
Valencia - ESPAÑA



Re: send-hooks - cruel

1999-06-25 Thread Anonymous

Eric Smith [EMAIL PROTECTED] wrote:

  In what way do they fail to work?
 
 Well, they do not set the headers or whatever, they just do not have
 any effect.

The only un-commented send-hook in the huge muttrc file you sent was one
that tries to set the subject header.  I believe there is a limitation
that the subject cannot be set by send-hooks.  But any other header
should be settable.

 I need to change the "From:" in a scripted mail out that I do with
 perl.

Why use Mutt?  Why not simply format your headers the way you want them
to be, in your script, and then send the result directly to "sendmail -t"?

open(MAIL, "|/usr/lib/sendmail -t");

print MAIL "From: Bogus User bogus\@example.com\n";
print MAIL "To: Another User another\@example.com\n";
print MAIL "Subject: This is very important\n";
print MAIL "\n";
print MAIL "This is my message to you.\n";

close(MAIL);

If you don't want the recipients to show in the headers, don't use
sendmail's -t flag; instead put the users on the command line:

@recipients = ( "bogus\@example.com", "another\@example.com" );

open(MAIL, "|/usr/lib/sendmail @recipients");

print MAIL "From: Bogus User bogus\@example.com\n";
print MAIL "To: undisclosed-recipients:;\n";
print MAIL "Subject: This is very important\n";
print MAIL "\n";
print MAIL "This is my message to you.\n";

close(MAIL);

 It would be nice to get the hooks to work though.

Try "send-hook ~A 'my_hdr X-My-Header: blah'" and I think you will see
that send-hooks do work.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: Mutt/Netscape

1999-06-25 Thread Anonymous

On Fri, Jun 25, 1999 at 04:29:18PM -0700, Paul M. Lambert wrote:
 I've gone over the code, and there's a simple fix.  I'm too lazy to do
 a diff, but here's a description:

Thanks!  That is way too obvious. ;)

I guess this means that in Navigator 4.6x Netscape is actually
following their own API.  Their original example code just checked for
null pointers (and only a couple of fields that elm would accept from
the command line), but they were passing empty strings rather than
null pointers for empty fields, so I added the strcmp.  Navigator 4.6
must be passing null pointers for empty fields now, so the check for
pointer validity is actually doing something (in our case, failing
because no subject was passed).

I've posted a new version to my web page with this fixed.  xmutt.so
works, and mutt.so compiles cleanly (but is untested).  Thanks again
for the fix.

Brian



mbox-hook?

1999-06-25 Thread Alex Lane

If I read the docs right, the line

mbox-hook in.foo read.foo

should move all read messages in in.foo to read.foo when I quit or
change folders. Am I missing something? This does not seem to work.

Cheers...
-- 
Alex Lane  mailto:[EMAIL PROTECTED]
Seabrook, Texas, USA  http://www.galexi.com/alex/
Buyers don't want 1/4-inch drill bits...they want 1/4-inch holes!