Anyone has a good mailcap RunningX test?

2000-08-03 Thread Jan Houtsma

Hi!

from my mailcap:
text/html;  netscape %s; test=RunningX
text/html;  lynx %s
text/html;  lynx -dump %s; copiousoutput

Where can i find a decent RunningX script?

What i want is to run netscape only when i run mutt locally on my pc at home
within the window manager. However when i am at work and telnet to my house
and start mutt from there i don't want it to start netscape but lynx or w3m.

Testing only $DISPLAY isn't good enough cause when i telnet to house 
it's still set to :0. And also X is found to be a running process because
at home i only locked my screen.
So i am looking for a way to test if i am running mutt really locally.

Who has the ultimate test to do this?
Thanks,
jan

-- 
   ___ ___ ___
  /  //  //  /  Jan H. Houtsma
 /  //  //  /   Comeniushof 92
/  //  //  /1216 HH Hilversum
 ___   /  _   _   / Netherlands
/  /  /  //  //  /  
   /  /__/  //  //  /   http://www.houtsma.net
  ///__//__/[EMAIL PROTECTED]



The Date: header

2000-08-03 Thread André Dahlqvist

I have a question regarding the date and time displayed in the Date:
header of e-mails. Is the time displayed there according to the senders
timezone or my timezone?

Say I get an e-mail with this header:

Date: Wed, 26 Jul 2000 06:29:24 -0700 (PDT)

Has this mail been sent at 06:29 my time, or is it the senders (PDT)
time? Or to put it another way, does this mean that it was sent at
06:29 my time, and that I should substract 7 hours to get the time in
the senders timezone (PDT)?
-- 

// André



Re: The Date: header

2000-08-03 Thread David T-G

Andre --

...and then André Dahlqvist said...
% I have a question regarding the date and time displayed in the Date:
% header of e-mails. Is the time displayed there according to the senders
% timezone or my timezone?

It's displayed according to whatever timezone is specified.  More
properly, I suppose, it's displayed according to whatever GMT offset
(like -0700) is displayed.

Note the timestamp on your message:

  % Date: Thu, 3 Aug 2000 13:28:19 +0200

I don't have to wonder if that's 13:28 your time or my time not only
because it hasn't yet happened here but because the +0200 is specified.

% 
% Say I get an e-mail with this header:
% 
% Date: Wed, 26 Jul 2000 06:29:24 -0700 (PDT)

Yep.


% 
% Has this mail been sent at 06:29 my time, or is it the senders (PDT)

It's only "your time" if you happen to be in PDT.


% time? Or to put it another way, does this mean that it was sent at
% 06:29 my time, and that I should substract 7 hours to get the time in
% the senders timezone (PDT)?

Nope; it was sent at 06:29 PDT, which is 13:29 GMT and 15:29 where you
appear to be.


% -- 
% 
% // André


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: [Freenet-chat] cd-rw's

2000-08-03 Thread David T-G

g'o'tz --

...and then g'o'tz ohnesorge said...
% David T-G wrote:
% >
% > Ahhh...  I can't stand PINE and use mutt instead (try it; you'll never go
...
% 
% Be warned about Mutt: if it doesn't find enough free space on your harfdisk, it will
% mess up your mail files badly. Use the "one separate file for each mail" mode to get
% around that. (That might not be the height of precision, but that's what I remember
% being said elsewhere.)

I'm pretty active on the mutt-users list, and I've seen this go by.  I
*think* that it was solved in 1.2.4, and am almost positive that it's
solved in 1.2.5; the last backport of the fix from the 1.3 (unstable)
series was for 1.2.4.

You can use Maildir or MH "mailbox" formats, but I haven't had any
problems with mbox and the latter is a lot better for archiving, which is
where the bulk of my mail is anyway.

Of course, you shouldn't run out of disk space in the first place ;-)


% 
% >
% > % Oh, you are one of those Linux fanatics. I've read about your type. You're
% >
% > You got it!  I am proud to have, just the other day, been told
% 
% Grow up, use *BSD. ;)

Actually, there's some serious consideration for that.  One of these
days, maybe.


% 
% Grow really really up, use Win9x and survive, or even get it running for weeks
% without reboots. =)

Wow.  That's way up, all right.  I don't think even a few gods hanging
out together to get that to happen, unless maybe it were a Win emulator
under Linux ;-)


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Anyone has a good mailcap RunningX test?

2000-08-03 Thread Gary Johnson

On Thu, Aug 03, 2000 at 12:00:32PM +0200, Jan Houtsma wrote:

> Where can i find a decent RunningX script?
> 
> What i want is to run netscape only when i run mutt locally on my pc at home
> within the window manager. However when i am at work and telnet to my house
> and start mutt from there i don't want it to start netscape but lynx or w3m.
> 
> Testing only $DISPLAY isn't good enough cause when i telnet to house 
> it's still set to :0. And also X is found to be a running process because
> at home i only locked my screen.
> So i am looking for a way to test if i am running mutt really locally.

I have the same situation, except that I run mutt on my workstation at
work and telnet from home.  I use the RunningX program available from

http://www.fiction.net/blong/programs/mutt/autoview/RunningX.c

Gary

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




Re: Anyone has a good mailcap RunningX test?

2000-08-03 Thread Jan Houtsma

On Thu, Aug 03, 2000 at 11:20:07AM -0700, Gary Johnson wrote:
> On Thu, Aug 03, 2000 at 12:00:32PM +0200, Jan Houtsma wrote:
> 
> > Where can i find a decent RunningX script?
> > 
> > What i want is to run netscape only when i run mutt locally on my pc at home
> > within the window manager. However when i am at work and telnet to my house
> > and start mutt from there i don't want it to start netscape but lynx or w3m.
> > 
> > Testing only $DISPLAY isn't good enough cause when i telnet to house 
> > it's still set to :0. And also X is found to be a running process because
> > at home i only locked my screen.
> > So i am looking for a way to test if i am running mutt really locally.
> 
> I have the same situation, except that I run mutt on my workstation at
> work and telnet from home.  I use the RunningX program available from
> 
> http://www.fiction.net/blong/programs/mutt/autoview/RunningX.c
> 
I downloaded the program and tested it. If you feed it an option it 
says "yes" or "no" dependent upon if it would return 0 or 1.

Regretfully it doesnt work. 

I tested it from another computer (windows box). From that box i log
into my linux server (which happens to have X running) and when i
run RunningX, it answers "yes". So thats wrong. Since i am not sitting at that
computer it should answer "no". Because now when i run mutt and view
an url it starts netscape on the server where i am not sitting an which
i can not see!  It should start lynx instead in the window i am sitting at at 
the other computer. 

Only thing that works is manually unsetting $DISPLAY.
Are there other solutions??



Re: [OT] Keyservers

2000-08-03 Thread Caster

Hello Mutt Users!
On śro 02 sie 2000 19:14:19 GMT Drew Bloechl wrote:

> $ host -l pgp.net | grep wwwkeys
> 
> and pick one in or near your country.  Personally I use
> wwwkeys.nl.pgp.net since wwwkeys.us.pgp.net seems to frequently be down.  

I thought that wwwkeys are web-based only and didn't try them. Stupid me
;)
Thanks!

-- 
Tomasz Olszewski
[EMAIL PROTECTED]



Configuring Mutt Dialup Modem Connection ?

2000-08-03 Thread Roger Gordon

 Hello all! I'm new to the Mutt users list. And I have some
configuration questions about Mutt for use with the Vim editor to
compose messages, then send them off using with sendmail over a dial up
network connection. I have the /etc/Muttrc configuration working ok for
use with pop mail server and it retreives then just fine. But composing
a message with Vim creates an error bouncing messages due to incorrect
date  and localhost error that doesn't exist over the modem connection.

I am using Linux S.u.S.E  6.4. I'm some what familiar with the
/etc/Muttrc file. I have the Mutt configuration files from
http://www.dotfile.com . The Muttrc are excellant. Most of them work
with some fine tuning on my system. 

I'm new to using sendmail, /spool/ directories ... Any tips or
sugguestions...

Roger Gordon 

output fron command  'mutt -v'

Mutt 1.2.4i (2000-07-07)
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.14-SMP [using ncurses 4.2]
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
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.

output from command 'grep=/ /etc/sendmail.cf'

O AliasFile=/etc/aliases
#O ErrorHeader=/etc/mail/error-header
O HelpFile=/usr/lib/sendmail.hf
O QueueDirectory=/var/spool/mqueue
O StatusFile=/var/log/sendmail.st
O UserDatabaseSpec=/etc/mail/userdb.db
O ServiceSwitchFile=/etc/mail/service-nodns.switch
O HostsFile=/etc/hosts
#O SafeFileEnvironment=/arch
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30,
R=20/40,
Mprog,  P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
Mprocmail,  P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31,
T=DNS/RFC822/X-Unix,
Muucp,  P=/usr/bin/uux, F=DFMhuUd, S=12, R=22/42, M=200,
Muucp-old,  P=/usr/bin/uux, F=DFMhuUd, S=12, R=22/42, M=200,
Msuucp, P=/usr/bin/uux, F=mDFMhuUd, S=12, R=22/42, M=200,
Muucp-new,  P=/usr/bin/uux, F=mDFMhuUd, S=12, R=22/42, M=200,
Muucp-dom,  P=/usr/bin/uux, F=mDFMhud, S=52/31, R=21, M=200,
Muucp-uudom,P=/usr/bin/uux, F=mDFMhud, S=72/31, R=21, M=200,
Mbsmtp, P=/usr/lib/bsmtp/bsmtp,
Mfido,  P=/usr/lib/ifmail/ifmail, F=msSDFMuC, S=52/31, R=21,




Re: Anyone has a good mailcap RunningX test?

2000-08-03 Thread Jan Houtsma

Never mind my stupid question. I just found a line DISPLAY=:0.0 in
my /etc/zshenv file which always (so also at a telnet session) 
sets the DISPLAY variable, which caused netscape to start instead of 
lynx or w3m when, from mutt, i visited an url in a telnet window.
I appologize and close this thread.

btw mutt is a wonderful program! I even use it at work now. 
thanks,

jan
-- 
   ___ ___ ___
  /  //  //  /  Jan H. Houtsma
 /  //  //  /   Comeniushof 92
/  //  //  /1216 HH Hilversum
 ___   /  _   _   / Netherlands
/  /  /  //  //  /  
   /  /__/  //  //  /   http://www.houtsma.net
  ///__//__/[EMAIL PROTECTED]




[OT] Re: Anyone has a good mailcap RunningX test?

2000-08-03 Thread Mikko Hänninen

Jan Houtsma <[EMAIL PROTECTED]> wrote on Thu, 03 Aug 2000:
> Only thing that works is manually unsetting $DISPLAY.

Having $DISPLAY defined usually means that there's an X session running.
Why do you have it defined anyway (in that telnet session) if you're not
doing stuff from inside an X environment?  I'd look into fixing whatever
is setting that environment variable for your telnet session...


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"You don't grow by age, you grow by mind"  -- Lena Carin Molander




Problems with PMMail OS/2 and pgp encrytped mails

2000-08-03 Thread Ralf Hildebrandt

Hi!

I have a problem sending gpg encrpyted mail to my pal who's using PMMail
OS/2 and PGP-5.x.
He had a correspondence with the author of PMMail and that's what came out:
Comments?

--- snip ---

On Thu, 03 Aug 2000 18:08:48 +0200 (MSZ), Florian Piekert wrote:

>When I go into the pmmail inbox of my account and manually pgp v the
>message, I get it decoded ok. Just the auto decode from PMMail doesn't
>work as I would love it to ;-)

Great! I was going to send it back to you and see if you could
successfully use PGP v on it.

OK, so we know that GnuPG and PGP 5 can cooperate.

>>message to know for sure but I think PMMail/2 might be having
>>problems with "Content-Type: application/pgp-encrypted" or possibly
>>with the way the message is MIME encoded.
>
>I guess that is the problem somehow.

Yes, this is the problem.

The message you are receiving has its body broken into sections
(separated by "--Eldrgvv4EWsIM1sO"). Only sections identified as
"Content-Type: text/plain" or "Content-Type: text/html" or
"Content-Type: text" are displayed in the message read window of
PMMail/2. All other Content-Types are displayed as attachments.

If your correspondents' email client insists on encoding and sending
PGP encrypted text as "Content-Type: application/octet-stream" then
PMMail/2 will not be able to display and automatically decrypt it.

PGP encryptd text is just plain text so there is no reason why this
person's email client should send it as "Content-Type:
application/octet-stream".

>Oh, as far as I see it is not possible. At least not on purpose, but just
>on coincidence. And then only with a method which only lets me read my
>mail but not the recipient. That's really something I call secure ;-)

LOL!:-)

Maybe you should add a signature to all your mail saying, "sorry, I
can't trust you enough to let you read your mail." :-)

>
># COMMAND-LINE SPECIFICATION
>
>Armor = off
>ArmorLines = 0
>AutoServerFetch = 1
>Compress = 1
>EncryptToSelf = 1
>FastKeyGen = 0
>HTTPKeyServerHost = pgp.ai.mit.edu
>HTTPKeyServerPort = 11371
>Language = us
>LanguageFile = language50.txt
>MyName = "Florian Piekert"
>NoBatchInvalidKeys = 0
>Comment = PGP 5.0 for OS/2
>CharSet = cp850
>version = 4

The only differences between your settings above and mine are that I
have "EncryptToSelf = 0", I do not have "MyName" set and I have
"version=3" (this solved some problems with interacting with PGP
2.6x).

I seriously doubt that any of those differences are causing PMMail/2
to magically call PGP for no good reason.

However, it might be worth changing "EncryptToSelf" to "=0" just to
see if it helps.


--
Trevor Smith
PMMail/2 Technical Support
[EMAIL PROTECTED]

--snap ---

-- 
Ralf Hildebrandt <[EMAIL PROTECTED]> www.stahl.bau.tu-bs.de/~hildeb
I figure I'll have about 30 kids and six or seven generations down the
road I'll have my own fair-size nation to rule over. And when we get
nukes, as we surely shall, we shall wage unlimited war against the
Empire of Microsoft. 


 PGP signature