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



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



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

2001-11-13 Thread David T-G

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!




msg20415/pgp0.pgp
Description: PGP signature