On Sun, 10 Apr 2011 09:06:08 +0200, Julien Valroff wrote: > 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 "set copy=no mime_forward=yes weed=no resolve=no > editor='/bin/true' > ns...@domain.com [1] > set copy=yes mime_forward=ask-no > weed=yes resolve=yes editor='~/.mutt/scripts/killsig %s; /usr/bin/vim > %s' > " "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? > My retraining script that I have in the contrib directory is capable to retrain multiple signatures at once. Have you looked if it is something for you?
> Thanks in advance for your ideas! > Cheers, > Julien > > -- > .''`. Julien Valroff ~ ~ > : :' : Debian Developer & Free software contributor > `. `'` http://www.kirya.net/ [4] > `- 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 [5] > _______________________________________________ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net [6] > https://lists.sourceforge.net/lists/listinfo/dspam-user [7] -- Kind Regards from Switzerland, Stevan Bajić Links: ------ [1] mailto:s...@domain.com [2] mailto:jul...@kirya.net [3] mailto:jul...@debian.org [4] http://www.kirya.net/ [5] http://p.sf.net/sfu/verizon-sfdev [6] mailto:Dspam-user@lists.sourceforge.net [7] https://lists.sourceforge.net/lists/listinfo/dspam-user ------------------------------------------------------------------------------ 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