I'm quite new to Dovecot, so forgive me if this is a simple question. I've got rspamd running, and it's rewriting the subject of many messages as spam even when they are not. I've moved things out of the spam folder, which I was under the impression would teach rspamd since I've connected a sieve script that is supposed to call rspamd's learning tool, but nothing is happening. I'm really at a loss as to where to even begin searching for an answer, so any help is appreciated!
-- Dan Egli On my Test server
On 10/13/20 8:49 AM, Dan Egli wrote:
I'm quite new to Dovecot, so forgive me if this is a simple question. I've got rspamd running, and it's rewriting the subject of many messages as spam even when they are not. I've moved things out of the spam folder, which I was under the impression would teach rspamd since I've connected a sieve script that is supposed to call rspamd's learning tool, but nothing is happening. I'm really at a loss as to where to even begin searching for an answer, so any help is appreciated!
-- Dan Egli On my Test server
At first we'd want to see your current configuration, sieve scripts etc.
On 10/12/2020 7:28 PM, Gedalya wrote:
On 10/13/20 8:49 AM, Dan Egli wrote:
I'm quite new to Dovecot, so forgive me if this is a simple question. I've got rspamd running, and it's rewriting the subject of many messages as spam even when they are not. I've moved things out of the spam folder, which I was under the impression would teach rspamd since I've connected a sieve script that is supposed to call rspamd's learning tool, but nothing is happening. I'm really at a loss as to where to even begin searching for an answer, so any help is appreciated!
-- Dan Egli On my Test server
At first we'd want to see your current configuration, sieve scripts etc.
Find them attached to this message. The contents of /etc/dovecot and /usr/lib/dovecot/sieve, packaged in a tarball. Hope that helps. And how do you train rspamd when it doesn't put the files in the spam folder but still gives them a spam warning in the subject? (i.e. [*SP4M*])??
-- Dan Egli On my Test server
On 13/10/2020 07:33 Dan Egli <dan@newideatest.site> wrote:
On 10/12/2020 7:28 PM, Gedalya wrote:
On 10/13/20 8:49 AM, Dan Egli wrote:
I'm quite new to Dovecot, so forgive me if this is a simple question. I've got rspamd running, and it's rewriting the subject of many messages as spam even when they are not. I've moved things out of the spam folder, which I was under the impression would teach rspamd since I've connected a sieve script that is supposed to call rspamd's learning tool, but nothing is happening. I'm really at a loss as to where to even begin searching for an answer, so any help is appreciated!
Dan Egli On my Test server At first we'd want to see your current configuration, sieve scripts etc.
Find them attached to this message. The contents of /etc/dovecot and /usr/lib/dovecot/sieve, packaged in a tarball. Hope that helps. And how do you train rspamd when it doesn't put the files in the spam folder but still gives them a spam warning in the subject? (i.e. [*SP4M*])??
-- Dan Egli On my Test server
Try this guide:
https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/
Aki
On 10/12/2020 10:54 PM, Aki Tuomi wrote:
Try this guide: https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/
Aki
I will, but that doesn't seem to answer the question of the header rewriting. How can I explain to rspamd and/or sieve that a message that was delivered, but marked as spam is in fact NOT spam?
-- Dan Egli On my Test server
On 14/10/2020 4:23 am, Dan Egli wrote:
How can I explain to rspamd and/or sieve that a message that was delivered, but marked as spam is in fact NOT spam?
Perhaps you're after a fully automated solution but you might try this.
Set up folders in your account or accounts who you want to be able to decide what is Ham and what is Spam. eg. NotSpam and NotHam
When you find a mis-classified Spam/Ham drop it in the correct folder.
Run a script over the folders which calls rspamc learn_ham or learn_spam on the mails therein.
eg for MAIL in /your/mail/domain.com/user/.NotSpam/cur/* ; do rspamc learn_ham < $MAIL; done
Probably more suitable for the rspamd forum ...
P.
participants (4)
-
Aki Tuomi
-
Dan Egli
-
Gedalya
-
Plutocrat