Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • The command "c" is used in mutt to change folders. If you start the folder name with "=" mutt will look in the ~/Mail directory (or whatever you have the home mail folder set to). If you use a folname of "!" you can switch back to mailbox (/var/mail/$USER or the equivalent on your system). In a .muttrc file, you can select what is done for many circumstances; usually the choices are yes/no/ask-yes/ask-no to choose whether the action is taken, not taken, or interactive with a default.
    • Excellent, thanks for the info. I'll try out those commands when i get back home tonight. I did notice something about the yes/no/ask-yes/ask-no stuff in one of the websites I found, but it didn't include examples, so I wasn't clear what I was supposed to do with them. Will dig a little deeper now :)
  • Having changed the recipes, the mails don’t seem to get reparsed and moved on. How do I tell procmail to reparse the whole mailbox?

    procmail doesn’t parse your mailbox, it only directs mail that is fed to it to the right place according to its rules. So you have to feed the mails from your inbox to it. This is achieved using formail -s procmail < /your/mailspool. With -s, formail will parse its input and invoke the given program for each mail, feeding the mail to the program’s stdin.

    • Oh! And don’t forget to save the mails from your inbox/spoolfile to another place before you re-filter them, else they’ll show up in your inbox in duplicate. I usually do this simply by mving my spool out of the way before piping it into formail (it gets recreated automatically by procmail).

    • formail, great. I knew there must be something already to refeed without me having to write a script to do it :)

      Thanks for the .muttrc hints too. I'll add those in a bit and see how I get on. Thanks.

  • You're probably seeking some combination of:

    set quit=yes
    set copy
    set delete=yes
    set fast_reply
    set askcc=no
    unset metoo
    set abort_unmodified=no
    set recall=no
    set reply_to=yes
    set record=+sent