On Wed, 2012-01-18 at 12:02 +0200, manuel "lonely wolf" wolfshant wrote: > On 01/18/2012 11:55 AM, Alexandru Munteanu wrote: > > Salut, > > > > Trebuie sa fac o solutie prin care un utilizator poate raporta un mail > > ca fiind spam catre server iar mailfilter-ul sa il invete eventual > > bonus: sa il filtreze data viitoare doar pentru userul care a raportat > > acel mail ca fiind spam.(nu este obligatoriu.) > > > > 1. Ok solutia ar fi o adresa de genu [email protected]. Utilizatorul > > final da forward la spam catre acea adresa. Apoi folosim comanda bagata > > in cron (la 10minute) : sa-learn --no-sync --spam > > --mbox /[email protected] > > Probabil mai trebui puricat ca deh prin fwd mail-ul vine de la > > utilizator nu de la spammer in [email protected]. > > > > 2. Aveti alte idei mai elegante? > > > > 3. Ce alternative am. > Please keep in mind that the special folders LearnAsSpam and > LearnAsHam are neither visible nor usable if your mail account is > using the POP3 protocol. > > What to do with spam > > Feel free to delete the messages that have been correctly tagged as > spam. > > What to do with messages incorrectly identified as spam > > In the case that the server misidentifies non-spam (so called ham) > messages as spam, please place them in the special IMAP folder named > LearnAsHam which I have conveniently created for you on the server (if > you do not see it, make sure that you are subscribed to ALL available > IMAP folders, including hidden ones; if you still do not see it, try > to create it; and if you still have problems, get in touch with me). > Once a day an automatic script feeds all those messages to the > antispam software in order to train it. You can retrieve the messages > from this folder the next day and place them in any folder you find > convenient. Please note that the server will NEVER delete the content > of this special folder. > > What to do with spam messages which should be but are not identified > as spam > > In the case that the server does not identify spam messages as such, > please move them to the special IMAP folder named LearnAsSpam which - > as above - I have conveniently created for you on the server (if you > do not see it, make sure that you are subscribed to ALL available IMAP > folders, including hidden ones; if you still do not see it, try to > create it; and if you still have problems, get in touch with me). Once > a day an automatic script feeds all those messages to the antispam > software in order to train it. Please note that afterwards the server > will ALWAYS delete the content of this special folder. > Feel free to add to this folder any spam messages, including those > received via accounts stored on other servers.
Multumesc pentru raspuns. Mai am 1 intrebare: Ce ar fi indicat sa folosesc pentru filtrarea content-ului: Spamassassin custom rules gen: header VIAGRA_SUBJECT Subject =~ /viagra/i header VIAGRA_FROM From =~ /viagra/i meta VIAGRA_HEADER VIAGRA_FROM && VIAGRA_SUBJECT score VIAGRA_HEADER 10.0 describe VIAGRA_HEADER Block Mails with Viagra in subject Sau filtrare din Exim gen: # Exim filter if $header_subject: contains "viagra" or $header_subject: contains "pharma" then save $home/mail/f&e endif Banuiesc ca spammassassin e mai mancator de resurse deschizand o noua instanta pentru scanare iar daca folosesc filtrare in exim cel putin mesajul filtrat nu mai ajunge in spamassassin. Multumesc. _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
