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!

Attachment: msg20503/pgp00000.pgp
Description: PGP signature

Reply via email to