Re: Viewing html attachments via POP3

2001-11-14 Thread Michael Tatge

Dylan Carlson muttered:
 I have a source that I pull POP3 mail from, unfortunately receiving
 html-only mail from places like Hotmail makes life difficult. I want
 to strip out the html within Mutt and view these attachments from POP3
 fetches in plain text. Or I would be happy calling Lynx to view these
 externally as well (2nd choice).

Put this line into your mailcap
text/html; lynx -dump -force_html %s; copiousoutput; needsterminal

and tell mutt to
auto_view text/html

alternative_order text/plain text/enriched text/html
Let's you view the plain part of a multipart message, rather than the
html part.

 The FAQ advises editing the mailcap file, which I've done, but this
 doesn't apply to POP3.

Huh? What do you mean by that?

HTH,

Michael
-- 

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: line length

2001-11-14 Thread Dave Pearson

On Wed, Nov 14, 2001 at 03:42:56AM +0100, Vincent Lefevre wrote:
 On Tue, Nov 13, 2001 at 15:04:15 +, Dave Pearson wrote:

  I use emacs as my editor for composing email with mutt, the mode I use
  is a local hack that derives from `mail-mode' (some of the code in
  question made it into post.el
  URL:http://astro.utoronto.ca/~reid/mutt/). I've never had a problem
  with M-q and normally quoted text and, on the very rare occasion that
  I do have a problem, I use `set-fill-prefix' (C-x .) to give the filling
  code a clue.
 
 Filling is still broken with your mode.

Given that I've never made my mode publicly available (at least, I don't
ever recall making it publicly available other than donating some non-mode
stuff to post.el) I'm not sure how you can say this. Can you explain the
nature of the brokenness in the mode I use here that I describe above?

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: Super quotes regexp

2001-11-14 Thread Daniel Eisenbud

On Wed, Nov 14, 2001 at 03:33:36PM +0530, Prahlad Vaidyanathan [EMAIL PROTECTED] wrote:
 On Tue, 13 Nov 2001 Daniel [EMAIL PROTECTED] spoke thusly:
[...]
  set quote_regexp=^([ ?]*([|:}#]|{1,3} |[A-Z]{2,3}))+

The ? should really be \t here.  Probably the default should be
changed to have another backslash, so mutt prints out a useful value.

 But this doesn't quote the other regular stuff (lines beginning with
 ''). So, I've reverted to Suresh's solution for the time being.

So if you expect people to quote stuff with '' with no trailing space,
you cannot actually make this work right with just quote_regexp, because
to get the '' case right, you have to make sure that it doesn't have
another '' afterwards, which you can do, but that means that the first
letter of the line will be matched, so different lines with that same
actual quoting prefix will be colored differently.

However, changing the smileys variable should do what you need.
Namely:

set quote_regexp=^([ \t]*([|:}#]|[A-Z]{2,3}))+
set smileys=(From )|()|(:[-^]?[][)(}{|/DP])

smileys was put there for exactly the reason of countering false
positive quote matches, and it looks like it works just right here.

-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



Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Prahlad Vaidyanathan

Hi,

On Tue, 13 Nov 2001 Will [EMAIL PROTECTED] spoke thusly:
 Prahlad Vaidyanathan wrote:
  
  I get quite a few text/html mails from people using OutLook, so I use
  lynx to dump the output to my pager.
  
  Now, my problem is, when I view these mails, I get some lines at the
  beginning of the mail like so :
  
  [-- Autoview using lynx -dump  etc etc --]
  
  Now, how do I prevent this from showing up ? 
 
 yeah this is a bit annoying.  i also find this bit helpful:
 alternative_order text/plain text/enriched text/html

Well, my problem stems from a Windows MUA called 'IncrediMail', which
sends both plain-text and html mails - only the plain text mails are
horribly formatted. Also, each line ends with a '^M'. I don't know if
you've faced this problem, but it is immensely irritating trying to
read those emails.

So, for those mails alone, I set mutt to display the text/html as
against the plain-text version.

 
 (in your .muttrc) this will at least use a text version if both are
 given (ie it will prefer the plaintext version over the html version).
 
 i also find w3m a tiny bit nicer than lynx... but my favorite method for
 dealing with this sort is to (politely or not depending on how well you
 know them) ask them _not_ to send html mail in the first place.

Most people couldn't care less. Most of my friends are non-geeks who
use Web-Mail or MUAs like IncrediMail, and no amount of telling them
is going to change their ways. The only way of dealing with it is
making Mutt view it better.

IMHO, that's a much more painless way of doing it, anyway.

pv.

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



msg20419/pgp0.pgp
Description: PGP signature


Re: Super quotes regexp

2001-11-14 Thread Prahlad Vaidyanathan

Hi,

On Tue, 13 Nov 2001 Daniel [EMAIL PROTECTED] spoke thusly:
[-- snip --]
 
 Try:
 set quote_regexp=^([ ?]*([|:}#]|{1,3} |[A-Z]{2,3}))+
 
 it should do what you want.  Note that it won't consider the  part a
 quote at all, but that's what you have to give up if you want mutt to
 consider the HP part the first quote string it sees.

But this doesn't quote the other regular stuff (lines beginning with
''). So, I've reverted to Suresh's solution for the time being.

Thanks anyway :-)

pv.

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



Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Prahlad Vaidyanathan

Hi,

On Tue, 13 Nov 2001 Volker [EMAIL PROTECTED] spoke thusly:
 Prahlad Vaidyanathan wrote:
  
  [-- Autoview using lynx -dump  etc etc --]
  
  Now, how do I prevent this from showing up ?
 
 AFAIK you can't.  But at least you can colorize this in your background
 color. Assume your term background is black, use
 
color   attachment   black   default
 ^
 
 in yout ~/.muttrc. So you don't see it, although it's there.

This seems a bit over-kill, because then even though you don't see it,
it still occupies space - which is my major hassle with it.

Also, if there are other text attachments, it won't show up.

Anyway, if there is nothing else that can be done, maybe this should
go into the Wishlist for future releases.ie, a
$toggle_display_attachment or something, I guess.

pv.

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



msg20421/pgp0.pgp
Description: PGP signature


Re: line length

2001-11-14 Thread Vincent Lefevre

On Wed, Nov 14, 2001 at 10:32:47 +, Dave Pearson wrote:
 Given that I've never made my mode publicly available (at least, I don't
 ever recall making it publicly available other than donating some non-mode
 stuff to post.el) I'm not sure how you can say this.

Well, the post.el file on your site still doesn't do what it should.

 Can you explain the nature of the brokenness in the mode I use here
 that I describe above?

I gave an example in another message:

  bar
 blah1
 blah2
blah3
blah4

It is reformatted as:

  bar  blah1  blah2 blah3 blah4

instead of:

  bar
 blah1 blah2
blah3 blah4

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread David T-G

Suresh, et al --

...and then Suresh Ramasubramanian said...
% Prahlad Vaidyanathan mutt [14/11/01 15:43 +0530]:
%  Well, my problem stems from a Windows MUA called 'IncrediMail', which
%  sends both plain-text and html mails - only the plain text mails are
%  horribly formatted. Also, each line ends with a '^M'. I don't know if
%  you've faced this problem, but it is immensely irritating trying to
%  read those emails.
% 
% Bah.  Those are DOS line breaks.  set ff=unix (iirc) - or a macro to pipe

That they are, but I don't know of a ff setting in mutt -- are you
suggesting that he set that in his editor for replying?

In order for that to work, he'd want to set fileformat=dos (under vim,
anyway) and then open the file, and then change it to unix as he writes
it.


% such mails through dos2unix before opening them - would do the trick.

I should think that using $display_filter would do nicely for these
senders...


% 
%   -srs


:-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!




msg20423/pgp0.pgp
Description: PGP signature


archiving old threads in mutt

2001-11-14 Thread christophe barbé


Hi,

I'm a mutt newbie. I've discovered the hook facility which is a powerfull
feature. It comes in my mind to hook a macro to some big mailing lists
to automatically archive old threads during opening.

It looks like a piece is missing to achieve this goal.
My idea is to tag all threads without unread mail and older than X days.
Is there a command to apply a given command to a pattern matching mail?

Then I could do something like :

tag-thread for each mail not-tagged and read and ~d8d

and then (to untag thread with unread mails)

tag-thread for each mail tagged and unread

and finally 

;s

NB: tag-thread doesn't accept pattern directly so I need another command.

Christophe ...

-- 
Christophe Barbé [EMAIL PROTECTED]
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E



msg20424/pgp0.pgp
Description: PGP signature


Re: mutt doesn't find correct charset

2001-11-14 Thread Michael Tatge

Andy Spiegl muttered:
 Since I upgraded to 1.3.20i I've got 2 problem with charsets.
 
 The first one is that if the charset isn't specified in the Content-Type of
 a mail, mutt seems to always use us-ascii, although I've set the config
 variable charset to iso-8859-1.  Is that the normal behaviour now?

As far as I can tell it has been since 1.0.

 If so, what do I have to do to make it use iso-8859-1?
 Ah, I just noticed: if I completely delete the Content-Type: line
 the iso characters show up correctly again!  But just:
  Content-Type: text/plain
 doesn't work.  And many broken mailer send mails like that. :-(

Yeah, I have this in my muttrc to fix that.

charset-hook  iso-8859-1  # fix stupid MUA output

 Many of my mails come from a friend who has K.d.Ö.R. in his real name.
 So the From-Line is like this:
  From: =?iso-8859-1?Q?K.d.=F6.R.?= [EMAIL PROTECTED]
 
 Mutt doesn't decode this line in the index, so that I see:
1 Nov 12 =?iso-8859-1?Q?K.  (   9) subject
 instead of
1 Nov 12 K.d.Ö.R.   (   9) subject

 In the pager it's shown correctly though:
  Date: Mon, 12 Nov 2001 20:43:52 -0500
  From: K.d.ö.R. [EMAIL PROTECTED]
  To: Andy Spiegl [EMAIL PROTECTED]
  Subject: äöüß

If the pager shows the correct iso chars then I guess that there is
something mixed up in the headers of that mail.

 BTW, I've set:
  set charset=iso-8859-1
 and:
  export LANG=de_DE
  export LANGUAGE=de_DE
  export LC_ALL=de_DE

LC_ALL=en_US
LANG=en_US

set charset=iso-8859-1# default enconding

Works like charm. :)

HTH,

Michael
-- 

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: line length

2001-11-14 Thread Dave Pearson

On Wed, Nov 14, 2001 at 04:17:38PM +0100, Vincent Lefevre wrote:
 On Wed, Nov 14, 2001 at 10:32:47 +, Dave Pearson wrote:

  Given that I've never made my mode publicly available (at least, I don't
  ever recall making it publicly available other than donating some
  non-mode stuff to post.el) I'm not sure how you can say this.
 
 Well, the post.el file on your site still doesn't do what it should.

There is no post.el on my site.

  Can you explain the nature of the brokenness in the mode I use here that
  I describe above?
 
 I gave an example in another message:
 
   bar
  blah1
  blah2
 blah3
 blah4

Right, ok, the mode I use locally (not to be confused with post.el) doesn't
handle that either. This is never a problem for me because I view the above
as broken quoting anyway and, when I need to fill and quote text like the
above, I fix it first (makes it more readable for me and for other people).

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: archiving old threads in mutt

2001-11-14 Thread David T-G

Christophe --

...and then christophe barb? said...
% 
% Hi,

Hello!


% 
% I'm a mutt newbie. I've discovered the hook facility which is a powerfull

Yes, it is :-)  Welcome!


% feature. It comes in my mind to hook a macro to some big mailing lists
% to automatically archive old threads during opening.

Interesting idea.


% 
% It looks like a piece is missing to achieve this goal.
% My idea is to tag all threads without unread mail and older than X days.
...
% 
% NB: tag-thread doesn't accept pattern directly so I need another command.

It sounds like you're close; stick with it.  Although tag-thread won't
accept patterns, you could limit based on the pattern and then tag there,
and that should only tag the thread items which match the limits.  Check
that avenue...


% 
% Christophe ...

HTH  HAND


% 
% -- 
% Christophe Barb? [EMAIL PROTECTED]
% GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E


:-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!




msg20427/pgp0.pgp
Description: PGP signature


Re: line length

2001-11-14 Thread Vincent Lefevre

On Wed, Nov 14, 2001 at 17:10:24 +, Dave Pearson wrote:
 There is no post.el on my site.

Oops, on Rob's site.

bar
   blah1
   blah2
  blah3
  blah4
 
 Right, ok, the mode I use locally (not to be confused with post.el) doesn't
 handle that either. This is never a problem for me because I view the above
 as broken quoting anyway and,

Yes, but some users generate such quoting.

 when I need to fill and quote text like the above, I fix it first
 (makes it more readable for me and for other people).

OK, so how do you fix it automatically with emacs?

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



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

2001-11-14 Thread Steven G. Harms

Regrettably not, i'm talking IMAP to my server..

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???

Anyone?

steven


On Tue, Nov 13, 2001 at 02:02:26PM -0500, darren chamberlain wrote:
Steven G. Harms [EMAIL PROTECTED] said something to this effect on 11/13/2001:

  *snip*

 I would like to be able to reply to these messages and have the
 reply go to the user.  Currently, the mail bounces back into
 the daemon and is logged - but does does not get this information
 to the submittor.

  *snip*

If you are using procmail to filter your mail, perhaps you could
have procmail look for this header and rewrite the Reply-To:
header so that it points to the address in the subject.

(darren)

-- 
What if everything is an illusion and nothing exists? In that case, I
definitely overpaid for my carpet.
-- Woody Allen

-- 
[The first attachment to this email is a cryptographic signature.
I protect my privacy by using GnuPG for Linux]

 || ||  Steven G. Harms 
:||:   :||: [EMAIL PROTECTED]
   ::||:: ::||::[EMAIL PROTECTED]
 .:::||:::. .:::||:::.  (408)525-1767 
...::||::. . . . ..:||::... 
[[Cisco Systems:  Empowering the Internet Generation]]




msg20429/pgp0.pgp
Description: PGP signature


Re: archiving old threads in mutt

2001-11-14 Thread christophe barbé

On Wed, Nov 14, 2001 at 12:30:12PM -0500, David T-G wrote:
 % 
 % It looks like a piece is missing to achieve this goal.
 % My idea is to tag all threads without unread mail and older than X days.
 ...
 % 
 % NB: tag-thread doesn't accept pattern directly so I need another command.
 
 It sounds like you're close; stick with it.  Although tag-thread won't
 accept patterns, you could limit based on the pattern and then tag there,
 and that should only tag the thread items which match the limits.  Check
 that avenue...

I've had a look at limit and can't see how it can help.
In other words, I see no avenue there ...


I've had a different idea. But it's a no way :
tag all mails that you want to keep
this could be done by :
tag-pattern ~U | ~d8d

this is not complet because some thread are partially tagged but you
want to keep the full thread.

Then my idea was to apply tag-thread to all tagged mails but it seems to
not work :

;esct

but this tag only the current thread (; is ignored).

I'm looking for another avenue.

Christophe

-- 
Christophe Barbé [EMAIL PROTECTED]
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E



msg20430/pgp0.pgp
Description: PGP signature


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

2001-11-14 Thread David T-G

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 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!




msg20431/pgp0.pgp
Description: PGP signature


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 David T-G

Sean --

...and then Sean LeBlanc said...
% Thanks for the feedback. Here's the results:

Sure thing!


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

Hokay.  Now we see something unexpected.

Please now run

  echo ### ; head -3 /var/mail/sean ; echo ###

and paste in the results.  I suspect that the first five characters of
the file will not be From and a space.


% 
% 
% 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*

That's good.


% -rwxr-sr-x  1 root  mail 7364 Sep 13 22:25 /usr/local/bin/mutt_dotlock*

That's great.


% drwxrwxr-x  2 root  mail  512 Nov 13 23:22 /var/mail/

That's expected.  All looks good there.


% 
% 
% bash-2.05$ mutt -v
% Mutt 1.2.5i (2000-07-28)

This is a bit old, but it should still work.


:-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!




msg20433/pgp0.pgp
Description: PGP signature


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

2001-11-14 Thread David T-G

Sean --

...and then Sean LeBlanc said...
% bash-2.05$ echo ### ; head -3 /var/mail/sean ; echo ###
% ###
% Return-Path: [EMAIL PROTECTED]
% Received: from mail.lakwod3.co.home.com [24.254.60.13]
%   by localhost with POP3 (fetchmail-5.8.17)
% ###
% 
% Good detective work. What do you suggest? That might explain

Thanks :-)

You need to recreate a From_ line (or, I suppose, just delete that email
and make the next item's From_ line be first).  If you use mutt_dotlock
to lock the file, then you can [probably :-] safely edit the file,
find the next From_ line, and yank it up to paste it at the head.
That should get you going.


% why it worked at FIRST, then got hosed later. But how it got
% hosed is what I don't understand. I'm trying to get fetchmail+
% procmail+Mutt to work, and I was playing around with filters

AFAIK fetchmail will very happpily write mbox files.  Furthermore, ...


% and then, suddenly, Mutt started giving me that message...I
% still didn't have procmail even close to working, I think.
% I wonder if something in there hosed it up. My procmail 
% config currently has this in it:
% 
% MAILDIR=$HOME/Mail/
...
% 
% :0
% * *
% Inbox

... it looks like you're not even dropping into /var/mail/sean but into
your ~/Mail dir Inbox file.  BTW, you can declare

  DEFAULT=$MAILDIR/Inbox

above your rules and then skip this last rule, too.


:-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!




msg20436/pgp0.pgp
Description: PGP signature


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

2001-11-14 Thread Daniel Eisenbud

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.

-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



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

2001-11-14 Thread David T-G

Daniel  Sean --

...and then Daniel Eisenbud said...
% On Wed, Nov 14, 2001 at 01:43:00PM -0700, Sean LeBlanc [EMAIL PROTECTED] wrote:
%  MAILDIR=$HOME/Mail/
%  :0
%  * ^Subject*\[lug\]*
%  blug
...
% 
% 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.

Oh, right.  I had noticed that the first time but forgot to mention it;
thanks for chiming in!


% 
% -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


:-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!




msg20438/pgp0.pgp
Description: PGP signature


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: Handling digests

2001-11-14 Thread David T-G

Cliff --

...and then Cliff Sarginson said...
% Hello,
% I have started to subscribe to a mailing list digest, which
% I have not done before, but it is mostly of things I don;t need

Eeew :-)


% to read immediately but can browse every couple of days.

Makes sense, I admit.


% What I do want to do is to do something to the digest(s) so that
% I can deal with them in the normal way, i.e. get threads etc.
% I am thinking that grepmail may be able to do this (if I get time
% today I will have a look-see), but I am sure many people have
% done this before, so any tips would be appreciated.

I vaguely recall that procmail and/or formail can do this, but a quick
google search for splitdigest turned up a few sites.  Have at it.


% 
% I have had a squint through the manual and do not see anything obvious.

It will require external processing and isn't something for mutt to have
to handle, so it won't be in there.


% 
% -- 
% Regards
% Cliff
% 

HTH  HAND


:-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!




msg20440/pgp0.pgp
Description: PGP signature


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

2001-11-14 Thread Daniel Eisenbud

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?

-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



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

2001-11-14 Thread Dan Boger

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'

:)

-- 
Dan Boger
[EMAIL PROTECTED]



msg20442/pgp0.pgp
Description: PGP signature


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

2001-11-14 Thread David T-G

Sean --

...and then Sean LeBlanc said...
% 
% On Wed, 14 Nov 2001, Daniel Eisenbud wrote:
%  
%  On Wed, Nov 14, 2001 at 01:43:00PM -0700, Sean LeBlanc
%  [EMAIL PROTECTED] wrote:
%   MAILDIR=$HOME/Mail/
%   :0
...
%  
%  You _really_ need to change each of the :0 lines to :0: so that
...
% 
% 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. 

How interesting.  Is Inbox a symlink to /var/mail/sean?  I don't see how
your procmail rules as shown would put anything in there in the first
place.


% 
% 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.

Hokay.  Could you put up a pointer to your procmailrc file for review?



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

It should all work fine.  I'm interested in how this works out.


% 
% -- 
% -
% Sean LeBlanc, [EMAIL PROTECTED]
...
% 

That's a lotta blank lines at the end of your signature, pal :-)


:-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!




msg20443/pgp0.pgp
Description: PGP signature


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: Re: /var/mail/sean is not a mailbox?

2001-11-14 Thread Drew Raines

* Sean LeBlanc [EMAIL PROTECTED]:

 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 doubt it was sendmail.  That exerpt you posted earlier started with a
Return-Path: header, which is indicative of a Maildir-style delivery.
sendmail doesn't do those by default.

If you follow the advice of adding the mda line in fetchmail, you should be
all right.  That will shoot your messages straight to procmail, which you
could then debug further.  Not knowing what's delivering your messages is
making life difficult.

-- 
Drew



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

2001-11-14 Thread Will Yardley

Drew Raines wrote:
 * Sean LeBlanc [EMAIL PROTECTED]:
 
  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 doubt it was sendmail.  That exerpt you posted earlier started with
 a Return-Path: header, which is indicative of a Maildir-style
 delivery.  sendmail doesn't do those by default.

well the procmail recpies don't have a trailing slash on the folder name
which indicates mbox delivery.  also with Maildir he wouldn't have
needed to add the lockfile.

i think postfix (and maybe qmail as well) adds this header regardless of
type of delivery.

-w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/



OT syntax highlighting

2001-11-14 Thread Ken Weingold

I know this was discussed before, and setting my term to rxvt fixed
it.  The highlighting of syntax in the mutt pager or vim or whatever,
where it will either highlight only until the end of the text on each
line, or all the way to the end of the terminal.  Whatever I try, in
Mac OS X's terminal, the highlighting of blocks of text in mutt or
vim, it will only go to the end of the terminal, not the end of the
line, screwing up copying and pasting.  Anyone have any idea where to
look, since I have gotten the latest termcap file from the ncurses
page, and tried term set to vt100, rxvt, dtterm, whatever, some of
which work elsewhere.

Thanks.


-Ken



Re: Handling digests

2001-11-14 Thread Alexander Wasmuth

David T-G schrieb:

 ...and then Cliff Sarginson said...
 
 % What I do want to do is to do something to the digest(s) so that
 % I can deal with them in the normal way, i.e. get threads etc.
 % I am thinking that grepmail may be able to do this (if I get time
 % today I will have a look-see), but I am sure many people have
 % done this before, so any tips would be appreciated.
 
 I vaguely recall that procmail and/or formail can do this, but a quick
 google search for splitdigest turned up a few sites.  Have at it.

It's somewhere in this .procmailrc:

http://www.linux.org.uk/~telsa/BitsAndPieces/procmailrc


Alex
-- 
Alexander Wasmuth  http://alexander.wasmuth.org/



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 
























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

2001-11-14 Thread Rob 'Feztaa' Park

On Wed, Nov 14, 2001 at 02:47:20PM -0700, Sean LeBlanc (dis)graced my inbox with:
 The whole .fetchmailrc looked like this:
 
 poll myserver protocol POP3 username myusername password mypassword
 mda procmail

Not sure if this will help you, but my .fetchmailrc looks like this:

# Configuration created Sat Oct 13 15:37:39 2001 by fetchmailconf
set postmaster postmaster
set bouncemail
set no spambounce
set properties 
set daemon 20
poll myserver with proto POP3
user myusername there with password mypassword is feztaa here warnings 3600
antispam 571 550 501 554

Perhaps you should run fetchmailconf ;)

Oh, and I should say - I'm running postfix on my machine. Fetchmail
just takes the mail from my ISP and sends it directly to postfix on the
same machine.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
I'm not offended by all the dumb blonde jokes because I know 
I'm not dumb... and I also know that I'm not blonde.
-- Dolly Parton



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

2001-11-14 Thread Daniel Eisenbud

On Wed, Nov 14, 2001 at 04:30:16PM -0500, Dan Boger [EMAIL PROTECTED] wrote:
 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'

Sean, you should try using these flags to procmail (but make sure the
path is correct for your local system.)  My brief perusal of the
documentation made it sound like this might convince procmail that it
needs to add the From  line.

-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



Re: =20 characters at end-of-line

2001-11-14 Thread Daniel Eisenbud

On Mon, Nov 12, 2001 at 09:26:15AM +0530, Suresh Ramasubramanian 
[EMAIL PROTECTED] wrote:
 Peter Horst mutt [11/11/01 21:29 -0600]:
  If I edit a signed email with vim, it is littered with '=' and '=20'
  characters (at end-of-line).  I was curious as to what these might be,
  and whether there was anything I could do to keep them from appearing.
 
 quoted-printable encoding.

Specifically, because sometimes software will mess with trailing
whitespace if it's not encoded as quoted-printable, which will cause
signature verification to fail.

-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



Re: OT syntax highlighting

2001-11-14 Thread Thomas Dickey

On Wed, Nov 14, 2001 at 05:07:41PM -0500, Ken Weingold wrote:
 I know this was discussed before, and setting my term to rxvt fixed
 it.  The highlighting of syntax in the mutt pager or vim or whatever,
 where it will either highlight only until the end of the text on each
 line, or all the way to the end of the terminal.  Whatever I try, in
 Mac OS X's terminal, the highlighting of blocks of text in mutt or
 vim, it will only go to the end of the terminal, not the end of the
 line, screwing up copying and pasting.  Anyone have any idea where to
 look, since I have gotten the latest termcap file from the ncurses
 page, and tried term set to vt100, rxvt, dtterm, whatever, some of
 which work elsewhere.
 
man terminfo:

   back_color_erase  bce   utscreen erased with
 background color

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



long delay while downloading headers

2001-11-14 Thread fred smith

Gentlepersons:

I've used mutt for years to read mail on my local system.

But just recently I have, for the very first time, used it to read mail
on remote systems (such as news.opera.no, etc). I find that in the 
example of Opera, there are over 7000 messages in the news group they
are hosting that I am reading. My newsrc file for that server shows
all but the last few as having been read, but it still takes several
minutes to download ALL the headers whenever I start up Tin and point
it at that server.

This seems strange, why is it downloading all 7000+ headers when I've
already read (or skipped) nearly all the articles? 

Is there a way to make it grab only the ones that are new since I last
read that group?

Thanks!

Fred

PS:
I was trying to look around on tin.org to see if I could find an answer
without having to bug you all, but there seem to be a lot of dead/broken
links on that site, as of 11/13, anyway, so I couldn't find anything
helpful to me.
-- 
 Fred Smith -- [EMAIL PROTECTED] 
Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
 heaven, but only he who does the will of my Father who is in heaven.
-- Matthew 7:21 (niv) -



Re: long delay while downloading headers

2001-11-14 Thread fred smith

On Wed, Nov 14, 2001 at 06:24:32PM -0500, fred smith wrote:
 Gentlepersons:

Oh never mind, I was obviously suffering a senior moment, wherein
I posted here what should have gone to the tin list. Duh.

Fred

 
 I've used mutt for years to read mail on my local system.
 
 But just recently I have, for the very first time, used it to read mail
 on remote systems (such as news.opera.no, etc). I find that in the 
 example of Opera, there are over 7000 messages in the news group they
 are hosting that I am reading. My newsrc file for that server shows
 all but the last few as having been read, but it still takes several
 minutes to download ALL the headers whenever I start up Tin and point
 it at that server.
 
 This seems strange, why is it downloading all 7000+ headers when I've
 already read (or skipped) nearly all the articles? 
 
 Is there a way to make it grab only the ones that are new since I last
 read that group?
 
 Thanks!
 
 Fred
 
 PS:
 I was trying to look around on tin.org to see if I could find an answer
 without having to bug you all, but there seem to be a lot of dead/broken
 links on that site, as of 11/13, anyway, so I couldn't find anything
 helpful to me.
 -- 
  Fred Smith -- [EMAIL PROTECTED] 
 Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
  heaven, but only he who does the will of my Father who is in heaven.
 -- Matthew 7:21 (niv) -

-- 
 Fred Smith -- [EMAIL PROTECTED] 
The Lord detests the way of the wicked 
  but he loves those who pursue righteousness.
- Proverbs 15:9 (niv) -



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

2001-11-14 Thread David

On Wed, Nov 14, 2001 at 03:50:43PM -0700, Sean LeBlanc wrote:

 I may be back eventually, with some customization questions, esp stuff
 like better editor than vi ...

http://www.vim.org  

It was practically *made* for mutt.  Sorry, had to chime in. :)

/db



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



Re: Backspace in the pager

2001-11-14 Thread Nicolas Rachinsky

On Wed, Nov 14, 2001 at 10:27:12PM -0700, Sean LeBlanc [EMAIL PROTECTED] wrote:
 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?

I added the 2 following lines to my .muttrc:
bind pager \ch previous-line
bind pager \c? previous-line

Nicolas



Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Suresh Ramasubramanian

Prahlad Vaidyanathan mutt [14/11/01 15:43 +0530]:
 Well, my problem stems from a Windows MUA called 'IncrediMail', which
 sends both plain-text and html mails - only the plain text mails are
 horribly formatted. Also, each line ends with a '^M'. I don't know if
 you've faced this problem, but it is immensely irritating trying to
 read those emails.

Bah.  Those are DOS line breaks.  set ff=unix (iirc) - or a macro to pipe
such mails through dos2unix before opening them - would do the trick.

-srs



msg20620/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Suresh Ramasubramanian

David T-G mutt [14/11/01 10:41 -0500]:
 That they are, but I don't know of a ff setting in mutt -- are you
 suggesting that he set that in his editor for replying?

I'm talking about setting $editor to do such filtering in advance if this is
a bother.  And/or to piping the mail through such a filter before opeing it
in mutt's pager

 In order for that to work, he'd want to set fileformat=dos (under vim,
 anyway) and then open the file, and then change it to unix as he writes
 it.

eh?  how come?  vim automatically notes that the file is [dos] and tags it as
such ... ff (short for fileformat) works all right afaict.

 % such mails through dos2unix before opening them - would do the trick.
 I should think that using $display_filter would do nicely for these
 senders...

Just what the doc ordered

-srs



msg20652/pgp0.pgp
Description: PGP signature