Re: Mutt an multiple mailboxes

2001-11-16 Thread David T-G

Markus --

...and then Markus Boelter said...
% Hi!

Hello!


% 
% I've a wish how mutt should handle my mails and I don't know how to realize
% this. I'm subscribed in several mailinglists and so my mbox grow's up.
% One solution is to use procmail - but now my wish:

Yep.  That's the generally-recommended answer.


% 
% I want to get *every* new mail into /var/spool/mail/lordbyte. So this
% does my MTA. Now I want to start mutt and read all my new eMails an set
% flags like read to my mails.

Hokay.  All of that makes sense.


% 
% Now - when I quit mutt, I want the mails to be sorted in mailfolders.
% One idea was to define my mbox to smth. like | formail -s procmail \
% /var/spool/mail/lordbyte. But this doesn't work.

Right.  There have been a few discussions of having mailbox formats
include some sort of hook that would talk to a named pipe or a program or
such, but nobody has proposed a patch to get started.


% 
% A second Idea was to define a macro wich sould do this job, but
% if I move mails with procmail mutt looses the flags.

I presume you mean if you move mail either before it hits your lordbyte
mailbox or before you've synchronized the mailbox.  The former, even
though it's what everyone recommends, will certainly have that problem.
The latter might be solved by first synchronizing (bound to '$' by
default) and then handing off to procmail.


% 
% So - is in mutt any possibility to sort mails automatically?
% (I know save-hooks - but then I have to push s return for every mail.

Yep.

If you insist on having all of your mail come into one box for reading
(your choice is your choice, and you do whatever works best for you, but
why can't you read the mails in their separate folders after procmail
sorts them at receipt time?), I would guess that you should save *all*
read mails to a single mailbox (=ReadMail) and then pump that through
procmail to do the splitting.


% 
% Thanks!
%   Markus

HTH  HAND


% 
% 
% -- 
% .o--=[ eMail: [EMAIL PROTECTED] ]=-=[ internet: www.ce-terra.de ]=o.


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




msg20503/pgp0.pgp
Description: PGP signature


Re: Mutt an multiple mailboxes

2001-11-16 Thread Prahlad Vaidyanathan

Hi,

Check for 'mbox-hook's in the Manual.

pv.

On Thu, 15 Nov 2001 Markus [EMAIL PROTECTED] spoke thusly:
 Hi!
 
 I've a wish how mutt should handle my mails and I don't know how to realize
 this. I'm subscribed in several mailinglists and so my mbox grow's up.
 One solution is to use procmail - but now my wish:
 
 I want to get *every* new mail into /var/spool/mail/lordbyte. So this
 does my MTA. Now I want to start mutt and read all my new eMails an set
 flags like read to my mails.
 
 Now - when I quit mutt, I want the mails to be sorted in mailfolders.
 One idea was to define my mbox to smth. like | formail -s procmail \
 /var/spool/mail/lordbyte. But this doesn't work.
 
 A second Idea was to define a macro wich sould do this job, but
 if I move mails with procmail mutt looses the flags.
 
 So - is in mutt any possibility to sort mails automatically?
 (I know save-hooks - but then I have to push s return for every mail.
 
 Thanks!
   Markus
 
 
 -- 
 .o--=[ eMail: [EMAIL PROTECTED] ]=-=[ internet: www.ce-terra.de ]=o.

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



Mutt an multiple mailboxes

2001-11-15 Thread Markus Boelter

Hi!

I've a wish how mutt should handle my mails and I don't know how to realize
this. I'm subscribed in several mailinglists and so my mbox grow's up.
One solution is to use procmail - but now my wish:

I want to get *every* new mail into /var/spool/mail/lordbyte. So this
does my MTA. Now I want to start mutt and read all my new eMails an set
flags like read to my mails.

Now - when I quit mutt, I want the mails to be sorted in mailfolders.
One idea was to define my mbox to smth. like | formail -s procmail \
/var/spool/mail/lordbyte. But this doesn't work.

A second Idea was to define a macro wich sould do this job, but
if I move mails with procmail mutt looses the flags.

So - is in mutt any possibility to sort mails automatically?
(I know save-hooks - but then I have to push s return for every mail.

Thanks!
  Markus


-- 
.o--=[ eMail: [EMAIL PROTECTED] ]=-=[ internet: www.ce-terra.de ]=o.



Re: Mutt an multiple mailboxes

2001-11-15 Thread Thorsten Haude

Hi,

* Markus Boelter [EMAIL PROTECTED] [01-11-15 17:38]:
Now - when I quit mutt, I want the mails to be sorted in mailfolders.
What about this: Let Procmail copy every mail, delete them from your
inbox after you read them. Net result: Empty inbox, sorted mail.

Thorsten
-- 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin