Re: PGP problems

2000-06-26 Thread Wari Wahab

Yeah, I was to implement PGP/GPG in my company and we have come to
conclusion that for Linux users (20 of us) we use GPG and for Windows
(100 of them) use PGP coz that has got a GUI of some sort.. Now, none of
the Windows box can read our signature, be in traditional or not..
Windows somehow needs it to be in the message body as clear text before
even reading it..

And if mutt creates any form of Content-type or Content-Disposition,
Windows (Outlook) will display a blank message, and you have to work
your way through (a lot of work!) to get the contents... 

Please guys, make it easy for this admin ;) Seems like Windows may not
be making it easier for PGP/MIME.. I hate to be using Netscape Mail with
Thawte ID :(

* Shane Wegner <[EMAIL PROTECTED]> [000627 04:27]:
> > > Take a look at pgp_create_traditional in the manual for mutt v.
> > > 1.2. I use it for someone who has an ancient version of Eudora. If
> > > you must use it, I recommend you set it as follows:
> > > 
> > > set pgp_create_traditional=ask-no
> 
> Hi,
> 
> The Application/PGP format is very close to that used by Outlook.  The
> following is a bit of MUTT output.
> 
> Message-ID: <[EMAIL PROTECTED]>
> Mime-Version: 1.0
> Content-Type: application/pgp; x-action=encrypt; format=text
> Content-Disposition: inline; filename="msg.pgp"
> User-Agent: Mutt/1.2i
> Organization: Continuum Systems, Vancouver, Canada
> 
> -BEGIN PGP MESSAGE-
> 
> The only difference between that and Outlook is that Outlook doesn't
> have a Content-Disposition header.  Therefore, I am trying to remove
> it in Mutt.
> 
> Starting on line 1489 of pgp.c:
>   /* The following is intended to give a clue to some completely brain-dead
>* "mail environments" which are typically used by large corporations.
>*/
> 
>   b->d_filename = safe_strdup ("msg.pgp");
>   b->disposition = DISPINLINE;
>   b->unlink   = 1;
>   b->use_disp = 1;
> 
> I tried setting use_disp to 0 but the Content-Disposition header still
> remains.  What must I do to get rid of that header or is that just a
> bad idea in general?



 PGP signature


Re: PGP problems

2000-06-27 Thread Wari Wahab

* David T-G <[EMAIL PROTECTED]> [000627 19:50]:
> % * David T-G <[EMAIL PROTECTED]> [000627 19:27]:
> % > % The Application/PGP format is very close to that used by Outlook.  The
> % > Well, that's a good start :-)
> % Yup, somehow Outlook only understands plain text in PGP..
> Plain text?  Does that mean like an old-style in-line signing, or that
> base64 and maybe even QP are not supported?

Something like that... I've tried sending all sorts of messages to my
outlook mailbox and all I got is silly attachments which I have to work
great lengths to get any legible text out of it..
 
> I had thought that it was the former, but your message gave me a bit of
> hope for working with LookOut! lusers.  If it *is* the former, 1.2.2 now
> has the [built-in] ability to create in-line signatures and encryption;
> check out the pgp6.rc file supplied with the tarball.

I saw that there is a pgp_clearsign_command, but how do I activate it...
Looked through the manual and all but no joy..  BTW, how I assume that
PGP Outlook is working is that it'll see a mail with the BEGIN PGP and
END PGP, than you click the sacred button that looks like a key and
it'll check out the sig or decrypt it.. A mail that is sent by outlook
is a bit automatic, something like the 'set pgp_verify_sig=yes' in
mutt.. I can attach a few outlook messages just to see the headers..

> % > have a % Content-Disposition header.  Therefore, I am trying to remove
> % > Have you tried a "my_hdr Content-Disposition: " to set it to null,
> % > which ought to make it go away?  It's a thought...
> % Where do I set it as it doesn't really help as the Content-Disposition
> % is set _after_ the mail is sent...
> Oh, darn; I didn't realize that.  I suppose you could create a default
> send-hook to set your $sendmail variable like you usually would and
> then a special send-hook for these guys which hands the message off to
> a script which first strips out the C-D: header and *then* hands the
> message to your real $sendmail...

Whoah, really out of my league... Tell that to my *other* 20 mutt users
;)

-- 
Regards: Wari Wahab
The intelligence of any discussion diminishes with the square of the
number of participants.
-- Adam Walinsky

 PGP signature


Re: How to edit a forwared message?

2000-06-27 Thread Wari Wahab
 msg.pgp


Re: PGP problems

2000-06-27 Thread Wari Wahab

* David T-G <[EMAIL PROTECTED]> [000627 20:09]:
> % > has the [built-in] ability to create in-line signatures and encryption;
> % > check out the pgp6.rc file supplied with the tarball.
> % I saw that there is a pgp_clearsign_command, but how do I activate it...
> That much I don't know; I haven't played with it myself.  Maybe run a
> quick check through the manual ...

Doesn't help, the manual just explains what pgp_clearsign_command is
for, how to use it is beyond me..

  6.3.120.  pgp_clearsign_command

  Type: string
  Default: ""

  This format is used to create a "clearsigned" old-style PGP
  attachment.  Note that the use of this format is strongly deprecated.

A lot of help huh? ;)

> % is a bit automatic, something like the 'set pgp_verify_sig=yes' in
> % mutt.. I can attach a few outlook messages just to see the headers..
> Gotcha.

I'm attaching a file called lookout where you can detach it and read it
with mutt.. There are 6 message in there, 3 with and 3 without
attachments.. All same ones, they are either signed, encrypted or both.

They are braindead formats actually.. Maybe there should be a command in
the PGP menu for LookOut! lusers

> *grin*  Not that tough, actually; the script could be as simple as
> 
>   cat - | egrep -v '^Content-Disposition: ' | 
> 
> and that's it -- and that means that it could even be inlined in your
> .muttrc if you wanted to!

That only works for messages that just contains body, but when you send
with attachments, you get BAD signature warning in the messages ;)

-- 
Regards: Wari Wahab
If you've seen one redwood, you've seen them all.
-- Ronald Reagan


>From [EMAIL PROTECTED]  Wed Jun 28 10:30:36 2000
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost (wari@localhost [127.0.0.1])
by spider.wizoffice.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id 
KAA26019
for ; Wed, 28 Jun 2000 10:30:36 +0800
Delivered-To: [EMAIL PROTECTED]
Received: from pop.wizoffice.com
by localhost with POP3 (fetchmail-5.3.0)
for wari@localhost (single-drop); Wed, 28 Jun 2000 10:30:36 +0800 (SGT)
Received: (qmail 3984 invoked from network); 28 Jun 2000 02:14:51 -0000
Received: from unknown (HELO wari) (192.168.2.40)
  by mail-hq03.wizoffice.com with SMTP; 28 Jun 2000 02:14:51 -
From: "Wari Wahab" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Signed - I am the subject
Date: Wed, 28 Jun 2000 10:29:26 +0800
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by spider.wizoffice.com id KAA26019
Status: RO
Content-Length: 307
Lines: 12

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am the body.

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.1 Int. for non-commercial use 
<http://www.pgpinternational.com>

iQA/AwUBOVjyhD+8AuzDZXXyEQKl4wCfcxw6Ah3JYbtVM4QS6jRtDAVI6sgAnAjU
d/Jmp/udKmCZh5zT5Ok6J+my
=ZD5o
-END PGP SIGNATURE-

>From [EMAIL PROTECTED]  Wed Jun 28 10:32:50 2000
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost (wari@localhost [127.0.0.1])
by spider.wizoffice.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id 
KAA26158
for ; Wed, 28 Jun 2000 10:32:50 +0800
Delivered-To: [EMAIL PROTECTED]
Received: from pop.wizoffice.com
by localhost with POP3 (fetchmail-5.3.0)
for wari@localhost (single-drop); Wed, 28 Jun 2000 10:32:50 +0800 (SGT)
Received: (qmail 4389 invoked from network); 28 Jun 2000 02:17:46 -
Received: from unknown (HELO wari) (192.168.2.40)
  by mail-hq03.wizoffice.com with SMTP; 28 Jun 2000 02:17:46 -
From: "Wari Wahab" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Signed & Attached - I am the subject
Date: Wed, 28 Jun 2000 10:32:20 +0800
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_NextPart_000__01BFE0EC.2406EAC0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Status: RO
Content-Length: 891
Lines: 24

This is a multi-part message in MIME format.

--=_NextPart_000__01BFE0EC.2406EAC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: base64

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpJIGFtIHRo
ZSBib2R5DQoNCi0tLS0tQkVHSU4gUEdQIFNJR05BVFVSRS0tLS0tDQpWZXJzaW9uOiBQR1BmcmVl
d2FyZSA2LjUuMSBJbnQuIGZvciBub24t

Re: Can't compile mutt 1.3.4

2000-06-28 Thread Wari Wahab

For me, after a successful ./configure, it won't 'make' at all

wari@spider:~/src/mutt-1.3.4 > make
make: *** No rule to make target `m4/curslib.m4', needed by
`aclocal.m4'.  Stop.

* Dirk Pirschel <[EMAIL PROTECTED]> [000629 06:37]:
> Hi *,
> 
> pirschel@tux:~/tmp/mutt-1.3.4 > ./configure
> [...]
> checking for iconv... yes
> checking whether this iconv is good enough... no
> configure: error: Try using libiconv instead
> 
> Any suggestions?
> 
> -Dirk

-- 
Regards: Wari Wahab
Main's Law:
For every action there is an equal and opposite government
program.

 PGP signature


Re: Mutt hanging on color

2000-06-28 Thread Wari Wahab

Oh man, it works!! But I have brightyellow almost everywhere in the
.mutt.color.body..


color header brightyellow default .*
color body   brightyellow default "\\<\([-A-Z']{2,}[ ,]*\)+"
color body   brightyellow red "1-[0-9]{3}[- ][-0-9]+ +ext.? [0-9]+"
color body   brightyellow default "\\(c\\)"

Why is this one a one off? Wierd as hell... And I know brightyellow
works coz I see it in my headers, and it is different from yellow ;)

* Suresh Ramasubramanian <[EMAIL PROTECTED]> [000629 14:03]:
> Wari Wahab proclaimed on mutt-users that:
> 
> ># SCREAMING TEXT (often used in spam)
> >color body brightyellow  default" \([-A-Z']{2,}[ ,]*\)+"
> 
> Maybe your terminal doesn't understand a color called brightyellow?  Try
> giving a hex equivalent - #aa will do very fine I think.
> 
> -suresh
> 
> -- 
> Suresh Ramasubramanian + [EMAIL PROTECTED]
> Who made the world I cannot tell;
> 'Tis made, and here am I in hell.
> My hand, though now my knuckles bleed,
> I never soiled with such a deed.
>   -- A. E. Housman

-- 
Regards: Wari Wahab
"There are two ways of disliking poetry; one way is to dislike it, the
other is to read Pope."
-- Oscar Wilde



Re: Mutt hanging on color

2000-06-28 Thread Wari Wahab

Yes, that's true... But somehow changing the colour to #aa works for
me... Can you believe that?

I was gonna say about the >  but I'm not sure that it is..

* David Porter <[EMAIL PROTECTED]> [000629 14:43]:
> 
> This is curious enough to investigate...
> 
> * Suresh Ramasubramanian <[EMAIL PROTECTED]>:
> > Wari Wahab proclaimed on mutt-users that:
> > 
> > ># SCREAMING TEXT (often used in spam)
> > >color body brightyellow  default" \([-A-Z']{2,}[ ,]*\)+"
> > 
> > Maybe your terminal doesn't understand a color called brightyellow?  Try
> > giving a hex equivalent - #aa will do very fine I think.
> > 
> 
> To the contrary, it has nothing to do with the colors (I changed
> 'brightyellow' to 'green' to test this). Not all messages freeze mutt,
> though I found a segment that does:
> 
> Breaks at the hyphens
> >
> > 
> 
> While this doesn't freeze it at all:
> 
> 
> 
> Removing the hyphen from [-A-Z'] stops it from freezing, but I don't know why.
> 
> # SCREAMING TEXT (often used in spam)
> color body brightyellow  default" \([A-Z']{2,}[ ,]*\)+"
> 
> 
>   DAVID
> 
> -- 
> But perhaps inhaling light silenced. -- e.e.cummings in a blender

-- 
Regards: Wari Wahab
In Denver it is unlawful to lend your vacuum cleaner to your next-door
neighbor.



Re: Mutt hanging on color

2000-06-29 Thread Wari Wahab

Alright, this works as well ;) I have no idea what the regexp refer to
though and yours is considerably easier to understand..

The question still remains though, why does mutt freeze.. 

* Thomas Roessler <[EMAIL PROTECTED]> [000629 15:44]:
> On 2000-06-29 14:46:31 +0800, Wari Wahab wrote:
> 
> > > color body brightyellow  default" \([A-Z']{2,}[ ,]*\)+"
> 
> As a general rule, try to avoid regular expressions which
> nest multiple instances of "+" and "*".  They tend to take
> very long to apply.  
> 
> Note, BTW, that the grouping and the trailing + are not
> needed in this case (mutt does something which has the
> effect you intend to achieve with hthis), so you may wish
> to try this one instead:
> 
>   color body brightyellow default "[-A-Z'][-A-Z'][-A-Z']*[ ,]*"
> 
> It should work considerably faster.
> 

-- 
Regards: Wari Wahab
Never offend people with style when you can offend them with
substance.
-- Sam Brown, "The Washington Post", January 26, 1977



Mutt hanging on color

2000-06-28 Thread Wari Wahab

I was playing around with Sven Guckes excellent muttrc's and it seems
to hang on certain messages that I've got, kinda happens to me alot (on
the same messages and all), that I've decided to isolate the problem..

After playing around with .mutt.color.body I commented a line that
relieves me of my misery ;).. It's under a section called 
# SCREAMING TEXT (often used in spam)
color body brightyellow  default" \([-A-Z']{2,}[ ,]*\)+"

Symptoms are,
1. You get a message, long one, scroll down and it freezes up on you and
take 100% of CPU power..

2. You don't even get to view the message at all..

BTW, It could be that the regexp above conflicts on the rest defined
earlier or after... Is this a bug in Sven's muttrc or a bug in muttrc
itself ;)

-- 
Regards: Wari Wahab
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offense.
-- E. W. Dijkstra

 PGP signature


Re: SMTP

2000-07-13 Thread Wari Wahab

* Suresh Ramasubramanian <[EMAIL PROTECTED]> [000714 14:05]:
> Marius Gedminas proclaimed on mutt-users that:
> 
> >It's not that I advocate adding SMTP support to Mutt [2], but I just
> >wonder, why two programs following the same Unix philosophy (do one
> >thing well) choose so different solutions [3] for so similair tasks
> >-- handing an email to an MTA.
> 
> Setting the DS flag on your local sendmail and smarthosting through
> your ISP's smtp server is the nearest to what you want ;)

Is there any other way? I have a shell account in a box with no root, I
can't use envelop_from to set aproper From line, and the best way is to
talk Port 25.. 

Anyone's got a program/script/whatever that can convert sendmail commands
to Port 25 speak?

-- 
Regards: Wari Wahab
Don't worry about avoiding temptation -- as you grow older, it starts
avoiding you.
-- The Old Farmer's Almanac



send-hooks

2000-08-13 Thread Wari Wahab

Hi there, I've seen send-hooks that react to sending via a different
email account if the recipient in so and so...

send-hook [EMAIL PROTECTED] 'my_hdr From: [EMAIL PROTECTED]'

How do I send a mail as a different user if I recieved the mails as the
other users... (Is that proper english?;).. For example, if someone
sends a mail to [EMAIL PROTECTED], I want to reply it as
[EMAIL PROTECTED] Get what I mean? Can't seem to get this done.

-- 
Regards: Wari Wahab
Massachusetts has the best politicians money can buy.



Re: send-hooks

2000-08-13 Thread Wari Wahab

Well, well, well, after looking around, it doesn't help to have a
send-hook . 'my_hdr From: Wari Wahab <[EMAIL PROTECTED]>' ;)

Talk about massive oversight ;) Thanks dude

* Suresh Ramasubramanian <[EMAIL PROTECTED]> [000814 11:02]:
> Using a large mallet, Wari Wahab whacked out:

> > How do I send a mail as a different user if I recieved the mails as the
> > other users... (Is that proper english?;).. For example, if someone
> > sends a mail to [EMAIL PROTECTED], I want to reply it as
> > [EMAIL PROTECTED] Get what I mean? Can't seem to get this done.

> set reverse_name
> set alternates

> -- 
> Suresh Ramasubramanian + Lumber Cartel India - 
> mallet @ cluestick.org + Wallopus Malletus Indigenensis
> The Heineken Uncertainty Principle:
>   You can never be sure how many beers you had last night.

-- 
Regards: Wari Wahab
Choose two:
(A) Fast
(B) Efficient
(C) Stable
(D) Windows 98 (counts as two)