On Thu, July 26, 2012 11:38, John Long wrote:
> On Wed, Jul 25, 2012 at 08:53:03PM +0200, Christian Brabandt wrote:
>> Hi John!
>
> Hello! :)
>
>> I used to have a little shell-script, that was killfiling within mutt
>> for me (attached). It simply generates a pattern, that can be used by
>> mutt to delete messages by scoring.
>
> I like what you did here and it is actually pretty close to what I wanted,
> but I guess it requires you to press the $ key to actually do the delete
> once the messages are scored and until then they actually show up in the
> index. What I would like to do is never see the messages at all. Is there
> any way to do this with your method or do I really need to take the advice
> of the (let me count...5 guys...did I miss anybody) who voted for
> procmail?

folder-hook . 'push <sync-mailbox>' should apply the settings.

>> PS: No, procmail was no option, since I used sieve scripts to deliver my
>> mails.
>
> Then couldn't you have filtered from sieve? Why did you choose to do it
> from
> Mutt itself?

I could possibly discard mails using Sieve, but I didn't know how to
automate it and this was easier for me and a nice litte task to see,
if I can make use of scoring.

regards,
Christian

Reply via email to