Re: Vim colors?

2001-11-18 Thread Prahlad Vaidyanathan

Hi,

Kind of OT, but I couldn't help a shameles plug for Vim :-)

On Fri, 16 Nov 2001 Sean [EMAIL PROTECTED] spoke thusly:
 Thanks for all the help everyone has given so far. I finally downloaded
 and installed vim, and set it up as the editor. I've been looking around
 for color config info...anyone have a favorite site, or a configuration
 file to share?

You should find mine here, along with other vim stuff :
http://www.symonds.net/~prahladv/vim.html
BTW, check out this one for more config files, and the like :
http://www.vim.org/user.html

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



Re: help

2001-11-18 Thread Prahlad Vaidyanathan

Hi,

On Fri, 16 Nov 2001 Bela [EMAIL PROTECTED] spoke thusly:
 Hi, i thought my mail problems was solved, but i was wrong, i realize 
 that mutt use pop3 protocol to recive my emails (execellent) but it DOES 
 use my local sendmail, please, I am looking for a email client that ONLY 
 uses imap or pop3 for sending and reciving, like netscape or mozilla 
 mail but that can be execute without X-windows.

AFAIK, POP3 and IMAP are purely for email retreival. Sending will _have_
to be through your MTA.

 I dont like to use my local sendmail!!!,

Sendmail is not all _that_ ungainly a beast - I quite like it really.

 i have an offline machine, i 
 just want to connect to internet, on console, execute a program, fetch 
 email , read and send mail using ONLY pop3 or imap, is that posible on a 
 modem unix like os such as freebsd ? is posible to set up mutt in order 
 to use only pop3 or imap for sending and reciving? this is the realation 
 i want:
 console   X-windows
 nestcapelynx
 wordperfectvi/ee/pico
 netscape-mail   what goes here?HELP!

Retreival : fetchmail
Filtering : procmail
Reading : mutt
Sending : Sendmail/Postfix/Exim/insert fav MTA here

Note : you will have to setup a 'SmartHost' for your offline machine,
so all mails are sent to another machine with DNS for sending.

Hope this helps.

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg20553/pgp0.pgp
Description: PGP signature


imap-ssl and user certification

2001-11-18 Thread Stephan Seitz

Hi!

Does anybody know how I activate user certification within mutt?

My imap server (via stunnel) requires that I present my certificate.
I copy it in my .mutt/certs-file, certificate_file points to the
correct file, but stunnel at the server says, that the client doesn't
return a certificate.

Any hints are welcome.

Shade and sweet water!

Stephan

-- 
| Stephan Seitz   E-Mail: [EMAIL PROTECTED] |
|  WWW: http://fsing.fs.uni-sb.de/~stse/|
| PGP Public Keys: http://fsing.fs.uni-sb.de/~stse/pgp.html |



msg20554/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-18 Thread Steven G . Harms

David,

I don't know how you're getting the 'indenter' program to indent
all your lines.  I noticed something peculiar when handling the
mail in emacs.

So the message that mutt shows as the inline attached text
file is /tmp/mutt-stharms-lnx-27003-79.  Here's the 'head' of
that file:

:On Fri, Nov 16, 2001 at 05:56:02PM -0800, issu wrote:
:The notes for your case #4404675 have been electronically updated byu user.. Please 
:review and handle as necessary.
:
:UPDATE:   Steven,
:

This is after having (F)iltered it thru my 'indenter' which puts a
single ':' at the front of $_ from the STDIN file handle.

Now if I (E)dit the file i notice in emacs' buffer name line that
the file I'm editing is:

/tmp/mutt-stharms-lnx-27003-87.

Running 'head' on this file produces:

From: Steven G . Harms [EMAIL PROTECTED]
To: issu [EMAIL PROTECTED]
Cc: 
Bcc: 
Subject: Re: (Case #4404675) for ayazdi has been updated.


Lo!  My belov'd headers are there!  It would seem that Mutt keeps the
text+headers in one file; upon save and return to mutt it
splits the headers OUT and treats the text section as another
file entirely.

This flies entirely in the face of what you say you were able
to accomplish.  Does a similar effect NOT happen to you?

I assume it's not a version difference thing.

I'm going to see if manually prepending the headers I desire can 
get me the results I want.  I doubt it though.

(thanks for all the perl help from the mongers BTW)

Steven



On Thu, Nov 15, 2001 at 09:40:35AM -0800, Steven G. Harms wrote:
David,

I thought I was on the right path with what you'd given me, regrettably,
I've not found a way to make this work.

When using Mutt, I Use emacs as the editor and mutt then creates an
ascii attachment from a file located in /tmp.  I realized that I could
use the 'F' option to filter this tmpfile through a perl script or
something of that nature.

Regrettably, it seems that mutt chooses NOT to touch the headers -
even when edit_headers=yes.  Here was my test.

I created 'hm.pl' which looks like:

#!/usr/local/bin/perl

while (STDIN){
  chomp;
  print --$_\n;
}

With the ultimate goal of adding something like 

if (/Subject/){$user_to_cc=s/stuff//; $_=Cc:$user_to_cc\n;print;}

So hm.pl was a preliminary test of manipulation.  

So here's a reply I passed through it:

--
To: David T-G [EMAIL PROTECTED]
Cc:
Bcc:
Subject: Re: send-hook to parse entry out of subject line and dump into CC field?
Reply-To:
In-Reply-To: [EMAIL PROTECTED]; from davidtg-muttusers@justpickon\
e.org on Wed, Nov 14, 2001 at 01:58:41PM -0500
snipped X-headers
X-Work-Focuses:  Email Server Maint.  Routing, Cisco Linux

--Let's show David T-G what it looks like thru ./hm.pl
--
--On Wed, Nov 14, 2001 at 01:58:41PM -0500, David T-G wrote:
--Steven --
--

---

As you can see, the filter operation worked ONLY on the non-header data.

Possible solutions:

1.  Find out the name of the /tmp/file (is it in a variable?) and then
execute some | command to insert the appropriate cc line into the
text.

I don't think this will work though.  If there's still the
'header' versus 'ascii attachment [i.e. content] bifurcation,
having the ability to write to that text file isn't
going to affect the headers.

2.  Find a way to access the headers themselves?

-

BUT!!! I don't understand why this is.  Even as I type this message to
you, emacs tells me your message is /tmp/mutt-stharms-lnx-20706-83.
If i run cat on that in another X-term i see:

From: Steven G. Harms [EMAIL PROTECTED]
To: David T-G [EMAIL PROTECTED]
Cc: Mutt Users' List [EMAIL PROTECTED]
Bcc: 

The header info in there plain as day.  I guess when you terminate
the editor, mutt must move the 'header' content from the editor's
temp file into the 'header' and then leave the body as the
text attachment.  This, of course, being the only thing operated
upon by the 'F' option.

Anyway, it appears I'm at an impasse.  Anyone out there have any
ideas?

Steven

On Wed, Nov 14, 2001 at 01:58:41PM -0500, David T-G wrote:
Steven --

...and then Steven G. Harms said...
% Regrettably not, i'm talking IMAP to my server..

Ah.  That makes it a little trickier.


% 
% Is it possible to to maybe pipe that to a little shell scrp that
% could parse the right field, and then pump that back INTO mutt 
% in the CC field???

At this point I'd probably ensure that edit_headers is turned on so that
you get the whole shebang and use sed (or awk) to capture the subject
line and spit out a cc: line (you can just tack that onto the headers as
an additional line; mutt will handle it) and then dive into your editor
as usual.

Hmmm...  Actually, $editor will be handed the name of an existing file,
so you might want to do this in perl where you can write back to the
file easily.


% 
% Anyone?

Have fun :-)  Post your results, too!


% 
% steven


:-D
-- 
David T-G  * It's easier to fight for one's 

Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-18 Thread Steven G . Harms

David,

I don't know how you're getting the 'indenter' program to indent
all your lines.  I noticed something peculiar when handling the
mail in emacs.

So the message that mutt shows as the inline attached text
file is /tmp/mutt-stharms-lnx-27003-79.  Here's the 'head' of
that file:

:On Fri, Nov 16, 2001 at 05:56:02PM -0800, issu wrote:
:The notes for your case #4404675 have been electronically updated byu user.. Please 
:review and handle as necessary.
:
:UPDATE:   Steven,
:

This is after having (F)iltered it thru my 'indenter' which puts a
single ':' at the front of $_ from the STDIN file handle.

Now if I (E)dit the file i notice in emacs' buffer name line that
the file I'm editing is:

/tmp/mutt-stharms-lnx-27003-87.

Running 'head' on this file produces:

From: Steven G . Harms [EMAIL PROTECTED]
To: issu [EMAIL PROTECTED]
Cc: 
Bcc: 
Subject: Re: (Case #4404675) for ayazdi has been updated.


Lo!  My belov'd headers are there!  It would seem that Mutt keeps the
text+headers in one file; upon save and return to mutt it
splits the headers OUT and treats the text section as another
file entirely.

This flies entirely in the face of what you say you were able
to accomplish.  Does a similar effect NOT happen to you?

I assume it's not a version difference thing.

I'm going to see if manually prepending the headers I desire can 
get me the results I want.  I doubt it though.

(thanks for all the perl help from the mongers BTW)

Steven



On Thu, Nov 15, 2001 at 09:40:35AM -0800, Steven G. Harms wrote:
David,

I thought I was on the right path with what you'd given me, regrettably,
I've not found a way to make this work.

When using Mutt, I Use emacs as the editor and mutt then creates an
ascii attachment from a file located in /tmp.  I realized that I could
use the 'F' option to filter this tmpfile through a perl script or
something of that nature.

Regrettably, it seems that mutt chooses NOT to touch the headers -
even when edit_headers=yes.  Here was my test.

I created 'hm.pl' which looks like:

#!/usr/local/bin/perl

while (STDIN){
  chomp;
  print --$_\n;
}

With the ultimate goal of adding something like 

if (/Subject/){$user_to_cc=s/stuff//; $_=Cc:$user_to_cc\n;print;}

So hm.pl was a preliminary test of manipulation.  

So here's a reply I passed through it:

--
To: David T-G [EMAIL PROTECTED]
Cc:
Bcc:
Subject: Re: send-hook to parse entry out of subject line and dump into CC field?
Reply-To:
In-Reply-To: [EMAIL PROTECTED]; from davidtg-muttusers@justpickon\
e.org on Wed, Nov 14, 2001 at 01:58:41PM -0500
snipped X-headers
X-Work-Focuses:  Email Server Maint.  Routing, Cisco Linux

--Let's show David T-G what it looks like thru ./hm.pl
--
--On Wed, Nov 14, 2001 at 01:58:41PM -0500, David T-G wrote:
--Steven --
--

---

As you can see, the filter operation worked ONLY on the non-header data.

Possible solutions:

1.  Find out the name of the /tmp/file (is it in a variable?) and then
execute some | command to insert the appropriate cc line into the
text.

I don't think this will work though.  If there's still the
'header' versus 'ascii attachment [i.e. content] bifurcation,
having the ability to write to that text file isn't
going to affect the headers.

2.  Find a way to access the headers themselves?

-

BUT!!! I don't understand why this is.  Even as I type this message to
you, emacs tells me your message is /tmp/mutt-stharms-lnx-20706-83.
If i run cat on that in another X-term i see:

From: Steven G. Harms [EMAIL PROTECTED]
To: David T-G [EMAIL PROTECTED]
Cc: Mutt Users' List [EMAIL PROTECTED]
Bcc: 

The header info in there plain as day.  I guess when you terminate
the editor, mutt must move the 'header' content from the editor's
temp file into the 'header' and then leave the body as the
text attachment.  This, of course, being the only thing operated
upon by the 'F' option.

Anyway, it appears I'm at an impasse.  Anyone out there have any
ideas?

Steven

On Wed, Nov 14, 2001 at 01:58:41PM -0500, David T-G wrote:
Steven --

...and then Steven G. Harms said...
% Regrettably not, i'm talking IMAP to my server..

Ah.  That makes it a little trickier.


% 
% Is it possible to to maybe pipe that to a little shell scrp that
% could parse the right field, and then pump that back INTO mutt 
% in the CC field???

At this point I'd probably ensure that edit_headers is turned on so that
you get the whole shebang and use sed (or awk) to capture the subject
line and spit out a cc: line (you can just tack that onto the headers as
an additional line; mutt will handle it) and then dive into your editor
as usual.

Hmmm...  Actually, $editor will be handed the name of an existing file,
so you might want to do this in perl where you can write back to the
file easily.


% 
% Anyone?

Have fun :-)  Post your results, too!


% 
% steven


:-D
-- 
David T-G  * It's easier to fight for one's 

Some questions about trivial things

2001-11-18 Thread Sean LeBlanc

Wanted to ask some questions about some things that I haven't figured out yet.

1. How to go back to main mailbox, once I've done c to change to another folder?
If I hit q for quit, it goes back to main mailbox, if there are still some unread
messages there. Otherwise, it quits to shell prompt. This seems like a really stupid
question, but I just can't figure it out.

2. How to select and move (or copy, if there is no move)  multiple messages to other
folders? I haven't found a move, just a copy, and so far, I've been doing it one
message at a time.


Thanks,

-- 
Sean LeBlanc, [EMAIL PROTECTED]
IM- Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 
Believe in miracles. But do not expect them.  




Re: Some questions about trivial things

2001-11-18 Thread Justin R. Miller

Thus spake Sean LeBlanc ([EMAIL PROTECTED]):

 2. How to select and move (or copy, if there is no move)  multiple
 messages to other folders? I haven't found a move, just a copy, and so
 far, I've been doing it one message at a time.

You're going to want to tag messages.  You can do this with 't'
(invidually) or such things as Esc-t (tag thread) or Control-t (tag
pattern).  Then, hit ';' and next command (move, copy, delete, etc.)
will be performed on the tagged messages.  Have a look at the manual,
too -- it's more complete :-)

-- 
Justin R. Miller [EMAIL PROTECTED]
PGP/GnuPG Key ID 0xC9C40C31 (preferred)



msg20558/pgp0.pgp
Description: PGP signature


Re: [Fwd: help]

2001-11-18 Thread Ailbhe Leamy

On (17/11/01 22:44), David T-G wrote:

 I work in support and part of what floats my boat is helping other
 people.

You sick, sick bunny.

Ailbhe

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: Some questions about trivial things

2001-11-18 Thread Matt Spong

 1. How to go back to main mailbox, once I've done c to change to another folder?

Hit c to change folders, then enter ! as the folder (without the
quotes, just the exclamation point).  That's an alias to your spoolfile
(and  is your sent mail folder if you have one, and  is mbox)

Matt

-- 
Matt Spong || [EMAIL PROTECTED] || AIM: Spong1027 || http://www.forkbomb.net

 Those who desire to give up freedom in order to gain security, will not
 have, nor do they deserve, either one.   -Benjamin Franklin



msg20560/pgp0.pgp
Description: PGP signature


Re: Some questions about trivial things

2001-11-18 Thread Ailbhe Leamy

On (18/11/01 12:35), Sean LeBlanc wrote:
 Wanted to ask some questions about some things that I haven't figured
 out yet.

 1. How to go back to main mailbox, once I've done c to change to
 another folder?  If I hit q for quit, it goes back to main mailbox,
 if there are still some unread messages there. Otherwise, it quits to
 shell prompt. This seems like a really stupid question, but I just
 can't figure it out.

c ! enter

! means the main mailbox.

 2. How to select and move (or copy, if there is no move) multiple
 messages to other folders? I haven't found a move, just a copy, and so
 far, I've been doing it one message at a time.

t to tag all the messages you want to move. T if you want to tag all
messages matching a pattern.

;s to save all the tagged messages to another folder.
$ to synchronise mutt (delete all the messages you saved to another
folder)

HTH

Ailbhe

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: [Fwd: help]

2001-11-18 Thread Andrew Eichmann

On Sat, Nov 17, 2001 at 07:57:04AM -0500, Bela Bartok wrote:
 

some comments snipped


 I just dont want to use sendmail, if i am sending a big email, and i 
 disconnect, it will stay in sendmail queue, and i dont want that. I want 
 to the simpler, bert solution for desktop freebsd machine for handling 
 emails.
 thanks again.
 

To flush out the mail queues and send things on their way, try:

sendmail -q

before you disconnect.  Works for me.  Any reason not to do it this
way, folks?


Regards,
Andy Eichmann