<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ich verschiebe meine spam-mail aus meiner imap inbox z.B. im Thunderbird oder Apple-Mailprogram in den Folder Junk<div class="">und ein cron-Job auf meinem Server nimmt alle 15 Min. Mails aus dem Junk-folder und verschiebt sie</div><div class="">nach folgende Script:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">#!/bin/sh</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class=""><b class="">DJUNK</b>=/var/vmail/<a href="http://mydomain.org/me/mail/Junk/cur" class="">mydomain.org/me/mail/Junk/cur</a></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class=""><b class="">DSALEARN</b>=/var/spool/salearn</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">mv $DJUNK/*,S* $DSALEARN</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">/usr/bin/sa-learn --spam $DSALEARN</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">rm $DSALEARN/*,S*</div><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; min-height: 14px;" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">sh /root/ham_learn.shIch</div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">Ich weiß im Moment nicht mehr, warum ich nur gelesene Mails in den Learnprozeß schicken muß, aber ma angenommen, es müßte so sein,</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">wie könnte ich mit einem dovecot -Befehl die Emails gelesen machen. Will jetzt kein sed-skript drauf loslassen, das an alle messages ein „,S“ anhängt. Ginge natürlich auch.</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">Grüße</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class="">Christoph</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue";" class=""><br class=""></div></body></html>