Markus -- ...and then Markus Boelter said... % % Hi!
Hello! % % On my maschine I have the following mutt-procmail-configuration: % % Every eMail is delivered to /var/spool/mail/makrus. I use mutt to read % this mbox-mailfolder. So every Mailinglist, private eMail, .... is in % that inbox. Now I can see all my eMails only by looking into one folder. % % After reading all these eMails I start a macro piping this folder % through "procmail" to sort the mails in the right folders. (Folder for % every mailing-list, special persons, ...) % Everything works fine for me. Very interesting. How do you choose what messages to send to procmail? Do you always make sure everything is read before calling your macro, or are you already limiting to only read messages so that 'N'ew messages stay in the spool? % % Now my wish: % I want to mark eMails with the "important"-flag in % /var/spool/mail/lordbyte. How does mutt set this flag in my mbox? I want As you've seen, it's done with an 'F' char in the X-Status: header field. % to modify my procmail ruleset the way emails marked as "inportant" % still stay in my "newmail"-folder. That's a procmail question; take it somewhere else :-) % What a regex can I use in procmail to match "every mail but not the % important"? Instead of having procmail sometimes write back to the spool and otherwise write to another folder, why not just not send the flagged messages (see pattern ~F in the manual; that's what people generally use to indicate important, and you can use procmail at arrival time to detect any Priority: or Importance: headers and write your "X-Status: F" accordingly) to procmail in your macro? You didn't tell us about how it's constructed, but something like T!~F to tag messages that are not flagged followed by ;|procmail to tag-prefix pipe them all through procmail should do the trick. I presume you then ;d to delete them all, having copied them off to other folders. % % I know - not a "everyday-question" - but anyway thanks for help! HTH & HAND % % Markus % -- % please don't send me any html-messages! % pgp-fingerprint: 0FFC 3A33 8B54 DDB9 0F3D BFD5 CFB1 6038 FB0E 1D5B % pgp-public-key: http://www.mitternachtsstun.de/gpg-key.markus.txt :-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!
msg28136/pgp00000.pgp
Description: PGP signature
