Re: killing and scoring
On 2002.02.13, in <[EMAIL PROTECTED]>, "Andre Berger" <[EMAIL PROTECTED]> wrote: > > My setup (below) tells procmail to source the addresses in > ~/.procmail/spam, and add the message to my spam/ Maildir: Looks like you have a file (~/.procmail/spam) containing e-mail addresses of people you want to block. So... > Now, couldn't I extend the macro somehow to also add the sender to > ~/.mutt.score, like > > score '~f [EMAIL PROTECTED]' - > ^^^sender > > at the same time the address is added to ~/.procmail/spam? ... I'd create a script like this: $ cat muttscore.sh #!/bin/sh cat $HOME/.procmail/spam | while read addr; do echo "score '~f $addr' -" done ... and source that from your muttrc: source "muttscore.sh|" -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago Colons and slashes and dots, oh my!
Re: killing and scoring
* David Champion <[EMAIL PROTECTED]>, 2002-02-13 14:11 -0500: > On 2002.02.13, in <[EMAIL PROTECTED]>, > "Andre Berger" <[EMAIL PROTECTED]> wrote: > > > > My setup (below) tells procmail to source the addresses in > > ~/.procmail/spam, and add the message to my spam/ Maildir: > > Looks like you have a file (~/.procmail/spam) containing e-mail > addresses of people you want to block. So... Right > > Now, couldn't I extend the macro somehow to also add the sender to > > ~/.mutt.score, like > > > > score '~f [EMAIL PROTECTED]' - > > ^^^sender > > > > at the same time the address is added to ~/.procmail/spam? > > ... I'd create a script like this: > $ cat muttscore.sh > #!/bin/sh > cat $HOME/.procmail/spam | while read addr; do > echo "score '~f $addr' -" > done > > ... and source that from your muttrc: > source "muttscore.sh|" Perfect! Thank you very much -Andre msg24493/pgp0.pgp Description: PGP signature