Multiple commands thru one keystroke
- To: mutt-users@xxxxxxxx
- Subject: Multiple commands thru one keystroke
- From: "Asif Iqbal" <vadud3@xxxxxxxxx>
- Date: Thu, 3 Aug 2006 07:58:51 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TCMzW/tR53xN9fWvTRjWk8z4bfvgqY1SEximPJO1RIRCylIDleTl31CKhcBEkHWFxHD3moTNiBuoREvgdVQjANXVqr8INn/RG45KaJ0aESTVmXJyFeo9ScfdGsrBWbs/NOV69jB12Oy89cjSj2lRYnt73zXQyfuHH9UftHbar3g=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Sender: owner-mutt-users@xxxxxxxx
How do I bind a key to scan a message thru spamassassin and then delete it?
Currently I am using the following two separate macros to achieve
that. So when I see a message, in the index view, that did slip thru
the spamassassin, I run Shift+s +Enter and then I hit Delete
key. I like to just run Shift+s to achieve that.
macro index S "| sudo -u qmailq -H sa-learn -D --spam | sudo -u qmailq
-H spamassassin -D -r"
macro index <delete> <delete-message>
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu