X-attached: none Hi,
Sorry, this mail is somehow OT but the discussion might interest some of the readers… I have recently switched to offlineimap from direct IMAP connection with mutt, which prevents me from using the Dovecot antispam plugin. I am hence writing mutt macros to forward mail to be retrained to DSPAM (hosted on an external server). This is rather straightforward for single mail, but I am having difficulties to find a solution to train several mail at the same time (using mutt tag feature). The following macro works but creates one unique mail with several attachments, and DSPAM only retrains the first attachment: macro index X "<enter-command>set copy=no mime_forward=yes weed=no resolve=no editor='/bin/true'<enter>\ <tag-prefix><clear-flag>N<tag-prefix><forward-message>s...@domain.com<enter>\ <tag-prefix><send-message><enter-command>set copy=yes mime_forward=ask-no \ weed=yes resolve=yes editor='~/.mutt/scripts/killsig %s; /usr/bin/vim %s'<enter>\ <tag-prefix><delete-message>" "Mark as spam" Mutt doesn't allow to split actions for each tagged mail (except for print and pipe, using respectively print_split and pipe_split). What do you use (or what would you use) for such action? Thanks in advance for your ideas! Cheers, Julien -- .''`. Julien Valroff ~ <jul...@kirya.net> ~ <jul...@debian.org> : :' : Debian Developer & Free software contributor `. `'` http://www.kirya.net/ `- 4096R/ E1D8 5796 8214 4687 E416 948C 859F EF67 258E 26B1 ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user