kopano spamd / rspamd /inotify-spamlearn problem
- 
					
					
					
					
 Hi All, all is working as it should, however when i am telling in kopano webapp that a message is spam it shows in my log it is learning as spam, however when i am recieving a mail again from same sender and same topic i still recieve the mail in my inbox and not in my spam folder. What could be the problem here? 
- 
					
					
					
					
 I suggest enable the spam tagging in spamassassing and check what is counted as spam. 
- 
					
					
					
					
 Hi I use rspamd i believe this does not use spamassassin? 
- 
					
					
					
					
 normaly when we put our mail to the spam folder messages from that user should end up in the spam folder right? 
- 
					
					
					
					
 ps spam is tagged as spam spam header is added when email arrives. However its not learning when moving a mail to the spam folder. 
- 
					
					
					
					
 Is there any good tutorial? I am missinf something. Mail that is send to me is scanned and on spam mails the header is added and the mail ends up to my spam folder. However when i manual move the mail to spam folder all the logs tells me it has learned the message as spam, but when i send a mail from te same account the mail ends up in my inbox? 
- 
					
					
					
					
 @ckruijntjens said in kopano spamd / rspamd /inotify-spamlearn problem: when i am recieving a mail again from same sender and same topic i still recieve the mail in my inbox and not in my spam folder. What could be the problem here? You misunderstood the functional principle of heuristic spam filtering. 
- 
					
					
					
					
 Hi thanks for you reply. What could i install or configure to tell kopano that if i put a message in the spam folder that when i recieve a next mail from same sender it will put it automaticly in my spam folder? 
- 
					
					
					
					
 Hi ckruijntjens , 
 well, this might require a few drops of scripting-glue.You could modify kopano-spamd to either: - create/update a kopano-rule in the user’s store triggering on the specific unwanted sender
- create a blacklist-entry in rspamd-config (global impact for all users)
- leave kopano-spamd as is, but use inotify to trigger a forementioned script whenever kopano-spamd moves a new eml-file in the file-system, which of course imposes the task to perform some basic header-parsing on the unwanted mail.
 ++umgfoin. 
- 
					
					
					
					
 Hi i allredeay use inotify no errors in the log but it seems it does not do anything? How can we troubleshoot this? 
- 
					
					
					
					
 @ckruijntjens said in kopano spamd / rspamd /inotify-spamlearn problem: i allredeay use inotify Missing-crystal-ball-problem: …use for what? @ckruijntjens said Mail that is send to me is scanned and on spam mails the header is added and the mail ends up to my spam folder. 
 However when i manual move the mail to spam folder all the logs tells me it has learned the message as spam, but when i send a mail from te same account the mail ends up in my inbox?So, sounds like the system is working as designed. 
 As I tried to tell you before, “learning” a single SPAM-message aka “training the SPAM-filter” does not mean, your SPAM-filter will classify a subsequent, incoming mail with identical characteristics as SPAM.
 The behaviour, you’re presumably exspecting is called sender black-listing and this won’t be achieved by training.++umgfoin. 
- 
					
					
					
					
 Ok perfect thank you for your reply. Then evertrhing is working as expected.