Re: auto_view with mutt in Cygwin?

2002-08-17 Thread Sean LeBlanc

On 08-16 02:55, Sven Guckes wrote:
 * Sean LeBlanc [EMAIL PROTECTED] [2002-08-15 20:18]:
  I can't seem to figure out how to get mutt to dump html to lynx (or links)
  in Cygwin. I have the same setting I have on my FreeBSD box, but Mutt says:
  mailcap entry for type text/html not found for any html mail I get?
  ...and yet I have a text/html entry in my ~/.mailcap file.
  Anyone using mutt under Cygwin that has figured this out?
 
 did you check the files in $mailcap_path, too?

smacks forehead 

It turns out I left off the copiousoutput bit...thinking that was
something links needed, and since I was using lynx, not links, on my Cygwin
setup, I foolishly left that out of my .mailcap text/html entry. It wasn't
until I was reading some man page(forget which it was now) that I realized I
*needed* that to be on there. :)

-- 
Sean LeBlanc:[EMAIL PROTECTED]  
Anti-trust laws should be approached with exactly that attitude. 



auto_view with mutt in Cygwin?

2002-08-15 Thread Sean LeBlanc

I can't seem to figure out how to get mutt to dump html to lynx (or links)
in Cygwin. I have the same setting I have on my FreeBSD box, but Mutt says:
mailcap entry for type text/html not found for any html mail I get?

...and yet I have a text/html entry in my ~/.mailcap file.

Anyone using mutt under Cygwin that has figured this out?
-- 
Sean LeBlanc:[EMAIL PROTECTED]  
I hope I never get so old I get religious. 
-Ingmar Bergman 



Re: sending with perl (was: The dreaded bare LF problem)

2002-08-15 Thread Sean LeBlanc

On 08-11 08:47, Cameron Simpson wrote:
 On 00:29 11 Aug 2002, Sven Guckes [EMAIL PROTECTED] wrote:
 | and why are you using a perl script
 | for sending when you have mutt?
 
 Because, as y'all keep saying, mutt doesn't send email or talk to SMTP
 servers. It hands messages to sendmail.
 
 I also use a perl script for this, and point mutt at it as the sendmail
 tool. It's especially handy on disconnected home machines which have
 net connections but not net-aware local mail systems; you can then just
 replace the sendmail with something that delivers, for example, to the
 host named by your $SMTPSERVER variable.
 
 I have other reasons too, but the above is a good one for some setups.

This discussion rather quickly degenerated into the minutiae over how easy
and what capabilities various MTAs have, but I can say the reason *I'm*
using a script to send mail is because the ease of setting it up. If it
works, why should I care whether someone else thinks it the best or not? I
don't mean that to sound nasty, either. It's what works for me. One size
does not fit all. In this case, smtp.pl had a nit in it, so I switched to
ssmtp. Another reason is portability: I don't want to have to set up
sendmail or the like under Cygwin just so I can use Mutt at work on Windoze.

Sure sendmail, postfix, etc. are much more robust, can spool locally if
remote server is down, etc...but I don't care. :) For me, open source is all
about choice. I'm sure someone could demonstrably prove that Emacs, for
example, is much more robust than vi...but Emacs isn't for everyone, either.
I use Blackbox, even though KDE/GNOME have many more features...but again,
it's all about choice, folks, and it's where open source has the upper hand
on proprietary stuff, hands down. We should play on that strength.

-- 
Sean LeBlanc:[EMAIL PROTECTED]  
The cruelest lies are often told in silence. 
-Robert Louis Stevenson 



The dreaded bare LF problem

2002-08-10 Thread Sean LeBlanc

Hi, I just wanted to ask if there is any way to detect and/or strip out the
bare LF that qmail will error out on due to bare LFs being illegal. My ISP's
mail server was not letting me send a message recently - I was trying to
reply to something on a list, and I'll be darned if I could figure out where
the bare LF was at. I had to start a whole new thread instead.

For reference: I use vim as my editor, and a perl script called smtp.pl to
send out email.

TIA,
-- 
Sean LeBlanc:[EMAIL PROTECTED]  
To make an enemy, do someone a favor. 




Dealing with top-posters in Mutt/Vim?

2002-06-09 Thread Sean LeBlanc

I subscribe to quite a few technical lists. Does anyone know of any way to
deal with top-posters? I'm looking for some type of ability to put
top-posting style into the correct style when reading or replying to a
message. I use Vim as the editor for replying, and I realize that's a
separate area from the part that displays a message, but it'd be great to
find a way to do both...reading messages from people who don't understand
enough not to top-post isn't really bad until it becomes threaded - then it
becomes an absolute nightmare - having some sort of macro to correct this
would be something that would be very much appreciated.
 
Thanks!

-- 
Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
After a time, you may find that having is not so pleasing a thing, after 
all, as wanting. It is not logical, but it is often true. 
-Spock, Amok Time, stardate 3372.7 





Dealing with top-posters in Mutt/Vim?

2002-06-09 Thread Sean LeBlanc

I subscribe to quite a few technical lists. Does anyone know of any way to
deal with top-posters? I'm looking for some type of ability to put
top-posting style into the correct style when reading or replying to a
message. I use Vim as the editor for replying, and I realize that's a
separate area from the part that displays a message, but it'd be great to
find a way to do both...reading messages from people who don't understand
enough not to top-post isn't really bad until it becomes threaded - then it
becomes an absolute nightmare - having some sort of macro to correct this
would be something that would be very much appreciated. 

Thanks!

-- 
Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
The difference between genius and stupidity is that genius had its limits. 
-Albert Einstein 





Wrapping text

2001-11-21 Thread Sean LeBlanc

I'm not sure this is quite a Mutt question, but someone on here probably has
a good answer. I have a hook for creating custom signature. In it, I call a
program which sometimes generates really long lines which I have to wrap
myself. Is there any way to have vim wrap them? I have textwidth set to 76,
so that as I type, it wraps. But it does not wrap lines that are already
there, if you know what I mean. If that's not possible, does anyone know of
quick and dirty way to, say, do it in bash? It's already a bash script now.

-- 
Sean LeBlanc, [EMAIL PROTECTED]
IM- Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 
Under capitalism man exploits man; under socialism the reverse is true. 
-Polish proverb 
Management QOTD:It's all topsoil in a drought year if we don't accelerate and maintain 
our commitment to the management wrapper, etc.




Re: Wrapping text

2001-11-21 Thread Sean LeBlanc

On 11-21 14:44, Gary Johnson wrote:
 On Wed, Nov 21, 2001 at 02:58:50PM -0700, Sean LeBlanc wrote:
  I'm not sure this is quite a Mutt question, but someone on here probably has
  a good answer. I have a hook for creating custom signature. In it, I call a
  program which sometimes generates really long lines which I have to wrap
  myself. Is there any way to have vim wrap them? I have textwidth set to 76,
  so that as I type, it wraps. But it does not wrap lines that are already
  there, if you know what I mean.
 
 To do this within vim, just put the cursor on the too-long line and type
 
 gqq
 
 See
 
 :help gq
 
 Depending on how fancy you wanted to get, you could probably set up an
 autocommand to do this automatically when you opened the file, something
 like
 
 au BufNewFile,BufRead /tmp/mutt-* $normal gqq
 
 for example, if the line to be reformatted is the last line of your
 signature.
 
 Gary

Thanks. Nicolas suggested using fmt, and that works just fine for the sig.
However, your suggestion is good to know. I've been manually fixing lines
that got over my limit (and then adjusting via joins and newlines until the
next paragraph, etc), and I wish I had known about gqq (and variants) in the
past.  As Burns would say: Ecellent. :)

-- 
Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
As far as we know, our computer has never had an undetected error. 
-Weisert 
Management QOTD:Look, it is time we caucus. I feel we must turn the crank and maintain
our commitment to the cost control, etc.




Re: fcc folder new mail notification

2001-11-21 Thread Sean LeBlanc

On 11-21 20:55, René Clerc wrote:
 * Will Yardley [EMAIL PROTECTED] [21-11-2001 20:28]:
 
 |  When I send mail to a particular friend, I set the fcc folder to the
 |  folder in which procmail delivers mail from this friend. This folder
 |  is listed in my 'mailboxes' directive.
 |  
 |  But, however, when I am _not_ in my friends folder, and send mail to
 |  that friend, Mutt thinks that I have new mail in that folder. Of
 |  course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
 |  me a bit (whow, a reply *that* fast?).
 |  
 |  What's a reasonable workaround for this?
 | 
 | i could be wrong, but i don't think there's a way to do this with mbox
 | delivery (unless mutt can somehow copy messages to an mbox without
 | modifying the mbox's modification time.
 
 I don't believe it can :(

Can't you use touch to do this? Somehow figure out original time, store
that, then call touch -m with original time? I don't know enough about mutt to
know if hooks will permit you to call a shell script at the right times to
do this, however. Just a thought.

-- 
Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
However, never daunted, I will cope with adversity in my traditional manner... 
sulking and nausea. 
-Tom K. Ryan 
(contributed by Chris Johnston) 
Management QOTD:Be interrupt driven with regards to the technology strategy!!




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: [Fwd: help]

2001-11-17 Thread Sean LeBlanc

On 11-17 07:57, Bela Bartok wrote:
snip
 ok, now How windoze programs (eudora, outlook, etc) send email if they 
 dont have a running sendmail daemon?
 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.

Hey, Bela, I feel your pain...at least a little bit, anyway. I've just
started using Mutt less than a week ago, and people here sure have helped
out a lot! I've gotten quite a few things ironed out, and switched to mutt
as my main mailer. 

I didn't want to set up sendmail, either, just to send out emails. I found this
sweet little utility:
http://www.muquit.com/muquit/software/smtp_pl/smtp_pl.html
REALLY easy to use, and believe me, I set this up when I was in a stupid and
lazy kind of mood. :) I definitely did not want to tackle sendmail, that seems
like a really big hammer for only one user. YMMV.


-- 
-
Sean LeBlanc, [EMAIL PROTECTED]




Backspace in the pager revisited

2001-11-17 Thread Sean LeBlanc

I've had some difficulties with this backspace. :) Originally, it worked once I
set TERM to vt320. Then I wanted color, and this hosed things up again. Right
now I have go back one line in the page mapped to the right square bracket.
when I put 
bind pager backspace previous-line

in .muttrc, it doesn't seem to work as expected. 
For the record, my method of logging in is via Putty.
Backspace is set to ^? (127) in Putty. Term is xterm-color.

If I set backspace to ^H, things work in the pager, but little else.
Apparently, this is not a good idea to set backspace to ^H...nearly all
apps seem to resist this, and need special setup, most notably Emacs and vim.

Cheers, and TIA,

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
End corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 




Mailing list and starting a new message

2001-11-16 Thread Sean LeBlanc

I see the lists and subscribe commands, and I added them to my .muttrc.
They *seem* to work, I haven't figured out how to get the list info that shows
up via lists, but anyway...

I was wondering how one might set up mutt so that you hit some particular key
while in the index of the list, and have it start a new message. Hitting L 
starts a new message, but in response to the message I'm currently positioned
on. Is there a way to do this?

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 
























Re: Backspace in the pager

2001-11-16 Thread Sean LeBlanc

On 11-15 20:34, Nicolas Rachinsky wrote:
 On Thu, Nov 15, 2001 at 09:58:13AM -0700, Sean LeBlanc [EMAIL PROTECTED] wrote:
  BTW, I use putty most of the time, other times I port forward via tera term's
  ssh plugin, and use something like xterm.
  
  Do you use putty often? I haven't been able to get color to work in it. Color
  does work in rxvt, so I don't think it's my .muttrc, per se.
 
 I use PuTTY most of the time to read my mail, because I'm sitting in
 front of m$windows.
 
 Colors are working perfectly here, try setting TERM=xterm-color.
 I use an own termcap entry named putty:
 putty:@7=\E[4~:kh=\E[1~:kD=\E[3~:tc=xterm-color:
 
 Don't forget to use cap_mkdb when you changed your termcap.
 (Perhaps one of the other xterm-* entries works better, but I don't
 know)

Thanks. I finally tried out xterm-color, and it works like a champ.

This is really turning out to be one great mailer.

 
 Nicolas

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
End corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 




Vim colors?

2001-11-16 Thread Sean LeBlanc

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?

Thanks,
-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
End corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 




Re: Backspace in the pager

2001-11-15 Thread Sean LeBlanc

On Thu, Nov 15, 2001 at 12:42:18PM +0100, Nicolas Rachinsky wrote:
 On Thu, Nov 15, 2001 at 12:17:56AM -0700, Sean LeBlanc [EMAIL PROTECTED] wrote:
  On Thu, Nov 15, 2001 at 06:45:57AM +0100, Nicolas Rachinsky wrote:
   I added the 2 following lines to my .muttrc:
   bind pager \ch previous-line
   bind pager \c? previous-line
 [...] 
  Hmmm. I tried this, still no workie. I also tried some variations on the theme,
  like \Ch, \C?, ^h, ^? and a few others I can't recall right now.
 
 I just checked it, I need the two lines only when working within
 putty, at the console mutt is working perfectly without them.
 
 Where do you start mutt from (putty, xterm, console,...)?
 Is the $TERM set correctly?
 
 Nicolas

Good call. Normally it is set to vt320, but I had been trying some different
ones previously in attempts to get it to work. Once I set it back to vt320,
it works.

BTW, I use putty most of the time, other times I port forward via tera term's
ssh plugin, and use something like xterm.

Do you use putty often? I haven't been able to get color to work in it. Color
does work in rxvt, so I don't think it's my .muttrc, per se.

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin



Deleting an attachment before sending?

2001-11-15 Thread Sean LeBlanc

Is there a way to delete an attachment that one accidentally added? I noticed
this when I was attaching some files for a message. I accidentally selected
one, but couldn't figure out how to remove it. I ended up cancelling the message,
and then re-composing the message, making sure not to select that file the
second time

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 
























Cancelling an action?

2001-11-15 Thread Sean LeBlanc

Right now, if I get into an action that needs some input at the bottom, and I
didn't intend this action in the first place, I'm just hitting Ctrl-C and then
selecting n (to not exit mutt). Is this standard procedure, or is there a 
better way to do this?

TIA,
-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 
























Re: Re: /var/mail/sean is not a mailbox?

2001-11-14 Thread Sean LeBlanc

Thanks for the feedback. Here's the results:

After the cp -p /var/mail/sean /tmp/sean
and mutt -f /tmp/sean:
/tmp/sean is not a mailbox.


bash-2.05$ ls -lFda /var/mail `which mutt` `which mutt_dotlock`
-r-xr-xr-x  1 root  wheel  427564 Sep 13 22:25 /usr/local/bin/mutt*
-rwxr-sr-x  1 root  mail 7364 Sep 13 22:25 /usr/local/bin/mutt_dotlock*
drwxrwxr-x  2 root  mail  512 Nov 13 23:22 /var/mail/


bash-2.05$ mutt -v
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: FreeBSD 4.4-RELEASE [using slang 10404]
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/mail
SHAREDIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
ISPELL=/usr/local/bin/ispell
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

On Tue, 13 Nov 2001, David T-G wrote:
 Date: Tue, 13 Nov 2001 22:23:03 -0500
 To: Mutt Users' List [EMAIL PROTECTED]
 From: David T-G [EMAIL PROTECTED]
 CC: Sean LeBlanc [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 Subject: Re: /var/mail/sean is not a mailbox?
 
 Sean --
 
 ...and then Sean LeBlanc said...
 % I can't get mutt to work. For some reason,
 % it's saying /var/mail/sean is not a mailbox?
 
 It probably is, but mutt probably can't read or lock it.
 
 Try
 
   cp -p /var/mail/sean /tmp/sean
   mutt -f /tmp/sean
 
 and see what you get.  If it works, then you have a locking problem.
 
 
 % 
 % I don't get it, since I can cat this file,
 % and it has what looks like normal mail in
 % it.
 
 Please run
 
   ls -lFda /var/mail `which mutt` `which mutt_dotlock`
   mutt -v
 
 and post the results.  I bet that mutt and/or mutt_dotlock have not been
 installed with SGID permissions and that /var/mail is writable only by
 root and the mail group.
 
 
 % 
 % This is on FreeBSD 4.4, if it makes any
 % difference.
 
 This happens everywhere :-)
 
 
 % 
 % -- 
 %

+
 % -Sean LeBlanc, [EMAIL PROTECTED]
 % Stop corporate welfare. Repeal the H1-B program now:
 % http://www.zazona.com/ShameH1B/
 
 
 :-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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
 
 
 
-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now:
http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM:
sleblancathome 
























Re: Re: /var/mail/sean is not a mailbox?

2001-11-14 Thread Sean LeBlanc



On Wed, 14 Nov 2001, Daniel Eisenbud wrote:
 Date: Wed, 14 Nov 2001 15:42:52 -0500
 To: Sean LeBlanc [EMAIL PROTECTED]
 From: Daniel Eisenbud [EMAIL PROTECTED]
 CC: David T-G [EMAIL PROTECTED], Mutt Users' List
 [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 Subject: Re: /var/mail/sean is not a mailbox?
 
 On Wed, Nov 14, 2001 at 01:43:00PM -0700, Sean LeBlanc
 [EMAIL PROTECTED] wrote:
  MAILDIR=$HOME/Mail/
  :0
  * ^Subject*\[lug\]*
  blug
  
  :0
  * ^Subject*\[corrado-l\]*
  corrado
  
  :0
  * *
  Inbox
 
 You _really_ need to change each of the :0 lines to :0: so that
 procmail will lock the mailboxes.  This could be how the mailbox got
 corrupted in the first place.


Done. Thanks for the tip.
I'm still hosing my mailbox, though, at least when procmail is in the
mix. I cleared out what was in
there, added the extra colon to :0, and then ran fetchmail.
2 messages were downloaded, when I ran mutt, I got the message 
that the file was not a mailbox. 

So I cleared the mail file again,
sent another test message from hotmail, removed this line from
the .fetchmailrc: mda procmail, and then ran again. This time
the mailbox was okay. So I guess somehow I'm running procmail
incorrectly, or else it's misconfigured in the .procmailrc.

At least I have an idea what was hosing it before, but I don't 
know how to get filtering working.

 
 -Daniel
 
 -- 
 Daniel E. Eisenbud
 [EMAIL PROTECTED]
 
 We should go forth on the shortest walk perchance, in the spirit of
 undying adventure, never to return,--prepared to send back our embalmed
 hearts only as relics to our desolate kingdoms.
   --Henry David Thoreau, Walking
-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now:
http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM:
sleblancathome 
























Re: Re: /var/mail/sean is not a mailbox?

2001-11-14 Thread Sean LeBlanc

On Wed, 14 Nov 2001, Daniel Eisenbud wrote:
 Date: Wed, 14 Nov 2001 16:29:35 -0500
 To: Sean LeBlanc [EMAIL PROTECTED]
 From: Daniel Eisenbud [EMAIL PROTECTED]
 CC: David T-G [EMAIL PROTECTED], Mutt Users' List
 [EMAIL PROTECTED]
 Subject: Re: /var/mail/sean is not a mailbox?
 
 What version of procmail do you have (what's the output when you run
 procmail -v)?  What flags is fetchmail calling procmail with?  Does
 fetchmail inject the message via SMTP into your machine's MTA when
 procmail is off?  If so, do you have better results running procmail
 from your .forward?

bash-2.05$ procmail -v
procmail v3.21 2001/06/29
Copyright (c) 1990-1999, Stephen R. van den Berg[EMAIL PROTECTED]
Copyright (c) 1997-2001, Philip A. Guenther
[EMAIL PROTECTED]

Submit questions/answers to the procmail-related mailinglist by sending to:
[EMAIL PROTECTED]

And of course, subscription and information requests for this list to:
[EMAIL PROTECTED]

Locking strategies: dotlocking, lockf()
Default rcfile: $HOME/.procmailrc
Your system mailbox:/var/mail/sean


As for the other questions:
The only line dealing with procmail in the .fetchmailrc was this:
mda procmail 

The whole .fetchmailrc looked like this:

poll myserver protocol POP3 username myusername password mypassword
mda procmail


Now, it's the same as above, just no mda procmail in there.

As for injecting SMTP into my machines MTA, I dunno. Without procmail,
the data ended up in /var/mail/sean, and not hosed. I don't know if
it went via sendmail or some other MTA (I never set up sendmail, either,
btw). I don't know how to set up procmail via .forward, I haven't
looked into that yet. I saw references to it was I was reading other
docs, but didn't know .forward could be used that way.

 -Daniel
 
 On Wed, Nov 14, 2001 at 02:28:42PM -0700, Sean LeBlanc
 [EMAIL PROTECTED] wrote:
  
  
  On Wed, 14 Nov 2001, Daniel Eisenbud wrote:
   Date: Wed, 14 Nov 2001 15:42:52 -0500
   To: Sean LeBlanc [EMAIL PROTECTED]
   From: Daniel Eisenbud [EMAIL PROTECTED]
   CC: David T-G [EMAIL PROTECTED], Mutt Users' List
   [EMAIL PROTECTED]
   Sender: [EMAIL PROTECTED]
   Subject: Re: /var/mail/sean is not a mailbox?
   
   On Wed, Nov 14, 2001 at 01:43:00PM -0700, Sean LeBlanc
   [EMAIL PROTECTED] wrote:
MAILDIR=$HOME/Mail/
:0
* ^Subject*\[lug\]*
blug

:0
* ^Subject*\[corrado-l\]*
corrado

:0
* *
Inbox
   
   You _really_ need to change each of the :0 lines to :0: so that
   procmail will lock the mailboxes.  This could be how the mailbox got
   corrupted in the first place.
  
  
  Done. Thanks for the tip.
  I'm still hosing my mailbox, though, at least when procmail is in the
  mix. I cleared out what was in
  there, added the extra colon to :0, and then ran fetchmail.
  2 messages were downloaded, when I ran mutt, I got the message 
  that the file was not a mailbox. 
  
  So I cleared the mail file again,
  sent another test message from hotmail, removed this line from
  the .fetchmailrc: mda procmail, and then ran again. This time
  the mailbox was okay. So I guess somehow I'm running procmail
  incorrectly, or else it's misconfigured in the .procmailrc.
  
  At least I have an idea what was hosing it before, but I don't 
  know how to get filtering working.
  
   
   -Daniel
   
   -- 
   Daniel E. Eisenbud
   [EMAIL PROTECTED]
   
   We should go forth on the shortest walk perchance, in the spirit of
   undying adventure, never to return,--prepared to send back our embalmed
   hearts only as relics to our desolate kingdoms.
 --Henry David Thoreau, Walking
  -- 
  -
  Sean LeBlanc, [EMAIL PROTECTED]
  Stop corporate welfare. Repeal the H1-B program now:
  http://www.zazona.com/ShameH1B/
  Auctioning many Linux, Java, NT, SilverStream books: 
 

http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
  IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM:
  sleblancathome 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
 -- 
 Daniel E. Eisenbud
 [EMAIL PROTECTED]
 
 We should go forth on the shortest walk perchance, in the spirit of
 undying adventure, never to return,--prepared to send back our embalmed
 hearts only as relics to our desolate kingdoms.
   --Henry David Thoreau, Walking
-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now:
http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM:
sleblancathome 
























Re: /var/mail/sean is not a mailbox?

2001-11-14 Thread Sean LeBlanc

On Wed, 14 Nov 2001, Dan Boger wrote:
 Date: Wed, 14 Nov 2001 16:30:16 -0500
 To: Mutt Users' List [EMAIL PROTECTED]
 From: Dan Boger [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 Subject: Re: Re: /var/mail/sean is not a mailbox?
 
 On Wed, Nov 14, 2001 at 02:28:42PM -0700, Sean LeBlanc wrote:
  So I cleared the mail file again,
  sent another test message from hotmail, removed this line from
  the .fetchmailrc: mda procmail, and then ran again. This time
  the mailbox was okay. So I guess somehow I'm running procmail
  incorrectly, or else it's misconfigured in the .procmailrc.
 
 not sure if this is related, but here's how I have procmail in my
 fetchmailrc:
 
 mda '/usr/bin/procmail -d %T'
 
 :)

Thanks, everybody, for all the help!!! I finally
got the darned thing working...I put the mda bit
Dan suggested above, fiddled with my filters a bit
to get things going (not quite regex, apparently)
with some tests, and it appears to be working correctly.

I may be back eventually, with some customization questions,
esp stuff like better editor than vi, colors, etc...
probably will do some RTFM'ing first, tho to avoid
silly questions.

Thanks again. I needed a faster email client I could
use remotely. Stuff like Spruce and Sylpheed work with
X forwarding, but sometimes that can be painfully slow,
esp. when you are worried about the boss coming up behind
you at work...the X clients also (all the ones I tried,
anyway) seem to core dump quite frequently, and at the
worst times.
 
Cheers,

-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now:
http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM:
sleblancathome 
























Backspace in the pager

2001-11-14 Thread Sean LeBlanc

I'm trying to get the pager to back up one line, which uses the backspace key.
The problem is, it says key not mapped when I do this. I am using FreeBSD
4.4, and the mappings (I guess) that it provides by default require me to
put this into my .emacs file to make backspace work as expected:

(global-set-key (quote [C-backspace]) (quote backward-delete-char-untabify))

So I guess my question is: how to do this for mutt's pager? Or can I swap
out the default pager with something else?

Cheers,

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin



/var/mail/sean is not a mailbox?

2001-11-13 Thread Sean LeBlanc

I can't get mutt to work. For some reason,
it's saying /var/mail/sean is not a mailbox?

I don't get it, since I can cat this file,
and it has what looks like normal mail in
it.

This is on FreeBSD 4.4, if it makes any
difference.

-- 
+
-Sean LeBlanc, [EMAIL PROTECTED]
Stop corporate welfare. Repeal the H1-B program now:
http://www.zazona.com/ShameH1B/