HMS and the message counter with the spam
HMS and the message counter with the spam
I have installed hmailserver + MS SQL server + roundcube + spamassassin (Jam software).
In my hmailserver is not running the message counter with the spam. Counter spam = 0.
Letters are marked *****Spam***** In the subject, but not filtered in folder Spam (are not transferred to the spam folder).
What to do to began to count on the meter and and letters began to filter out.?
How do I teach spamassassin to mark the necessary letters as spam? In Roundcube if I open the email and click this is not spam, the following letter comes the same again marked as spam. Spamassassin not learning.
Please help me!
In my hmailserver is not running the message counter with the spam. Counter spam = 0.
Letters are marked *****Spam***** In the subject, but not filtered in folder Spam (are not transferred to the spam folder).
What to do to began to count on the meter and and letters began to filter out.?
How do I teach spamassassin to mark the necessary letters as spam? In Roundcube if I open the email and click this is not spam, the following letter comes the same again marked as spam. Spamassassin not learning.
Please help me!
Re: HMS and the message counter with the spam
There are plenty of guides here on how to train your SpamAssassin, use the search function.00_00 wrote:I have installed hmailserver + MS SQL server + roundcube + spamassassin (Jam software).
In my hmailserver is not running the message counter with the spam. Counter spam = 0.
Letters are marked *****Spam***** In the subject, but not filtered in folder Spam (are not transferred to the spam folder).
What to do to began to count on the meter and and letters began to filter out.?
How do I teach spamassassin to mark the necessary letters as spam? In Roundcube if I open the email and click this is not spam, the following letter comes the same again marked as spam. Spamassassin not learning.
Please help me!
Roundcube questions should be asked here: http://www.roundcubeforum.net/
SørenR.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
Depends what is marking it as "***SPAM***".00_00 wrote:I have installed hmailserver + MS SQL server + roundcube + spamassassin (Jam software).
In my hmailserver is not running the message counter with the spam. Counter spam = 0.
Letters are marked *****Spam***** In the subject, but not filtered in folder Spam (are not transferred to the spam folder).
What to do to began to count on the meter and and letters began to filter out.?
How do I teach spamassassin to mark the necessary letters as spam? In Roundcube if I open the email and click this is not spam, the following letter comes the same again marked as spam. Spamassassin not learning.
Please help me!
My guess is that it is your spamassassin marking it as such and not Hmailserver. Hmailserver will only count it as spam if the hmailserver spam score hits the hmailserver score threshold (settings - antispam - general). This is nothing to do with the spamassassin score unless you have specifically told it to use spamassassin score in the settings - antispam - spamassassin tab.
Also, what procedure/rule do you have in place to move a message to a spam folder? It doesnt do it by itself - you have to tell it to do so (by email client or rule/script).
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
Then at least help me understand why counter spam does not work in hmailserver?
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
Anti Spam settings in HMS:
TAB 1
you can see my personal setup here: viewtopic.php?f=21&t=28133 (second post)
TAB 1
- Spam Mark Threshold = 5
Spam Delete Threshold = 8
Tick all "Add.." boxes, and mark subject "[SPAM]"
- Tick the first 3 options:
'Use SPF', 'Check HELO', 'Check DNS-MX records' and score them 3, 2, 2, respectively
- Use Spamassassin = Yes
tick "Use SA score"
Score = 5
you can see my personal setup here: viewtopic.php?f=21&t=28133 (second post)
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
I have now so. Corrected as you wrote.
- Attachments
-
- spamtest.jpg (20.24 KiB) Viewed 6072 times
-
- spamassassin.jpg (15.18 KiB) Viewed 6072 times
-
- general.jpg (22.3 KiB) Viewed 6072 times
Re: HMS and the message counter with the spam
That is, I need to create a global rule that if the subject ***Spam***, then carry that letter in your Spam folder? Then, in what folder of Spam is to wrap the letter in a folder for each user?jimimaseye wrote: Also, what procedure/rule do you have in place to move a message to a spam folder? It doesnt do it by itself - you have to tell it to do so (by email client or rule/script).
Re: HMS and the message counter with the spam
You last image shows that you aren't modifying the subject in hMailserver by the way...
If you say move to folder 'Spam' then these mail will be moved to a folder of that name, and the folder should be created if it doesn't already exist00_00 wrote:That is, I need to create a global rule that if the subject ***Spam***, then carry that letter in your Spam folder? Then, in what folder of Spam is to wrap the letter in a folder for each user?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
I personally think that a spam MARK threshold of 1 with this scoring is too low. Just any single check failure will result in being marked as spam as it stands. (And there is always chance that genuine mail will fail spf.)00_00 wrote:I have now so. Corrected as you wrote......
I would make it at least 5 making it requiring at least 2 positive internal check matches or a SpamAssassin match.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
I have spamassassin settings tags ****Spam****. There is a difference who marks hamilserver or Spamassassin?mattg wrote:You last image shows that you aren't modifying the subject in hMailserver by the way...
If you say move to folder 'Spam' then these mail will be moved to a folder of that name, and the folder should be created if it doesn't already exist
How to create and configure move to the spam folder?
It is necessary IMAP folder, global for all to create?
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
00_00 wrote: How to create and configure move to the spam folder?
It is necessary IMAP folder, global for all to create?
Set a GLOBAL RULE:
if:
X-Spam-Flag (custom header) ...contains..... YES
action:
Move to IMAP Folder.....
(the above will move based on SPAMASSASSIN spam scoring, or you can use X-hMailServer-Spam if you want to move based on Hmailserver spam mark).
The folder will be created automatically if it doesnt already exist. (Remember, in the email client IMAP folders will have to be refreshed and the folder subscribed to to see it once it is created).
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
Well. Try to create the rule as you wrote and see what will happen.jimimaseye wrote: Set a GLOBAL RULE:
if:
X-Spam-Flag (custom header) ...contains..... YES
action:
Move to IMAP Folder.....
(the above will move based on SPAMASSASSIN spam scoring, or you can use X-hMailServer-Spam if you want to move based on Hmailserver spam mark).
The folder will be created automatically if it doesnt already exist. (Remember, in the email client IMAP folders will have to be refreshed and the folder subscribed to to see it once it is created).
Maybe a stupid question to ask, but still. The letters will be moved to the spam folder in each mailbox or not? That is, a global rule fulfills each mailbox and for each creates his spam folder?
I just don't understand it.
Thx.
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
Yes it will move to an individual spam folder for EACH account it is destined.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
When I create a rule IMAP folder, how to specify "Spam" or "Junk"? Or is there no difference?jimimaseye wrote:Yes it will move to an individual spam folder for EACH account it is destined.
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
Call it what you like! It will create it if it doesnt exist. If you already have a spam folder created for some accounts then use that.00_00 wrote: When I create a rule IMAP folder, how to specify "Spam" or "Junk"? Or is there no difference?
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
Created the rule. Restarted hmailserver and spamassassin. Waited for the first letter of spam. In the logs of hmailserver writes that the rule applied, but the letter is still marked as spam was in the Inbox. What's wrong?jimimaseye wrote: Call it what you like! It will create it if it doesnt exist. If you already have a spam folder created for some accounts then use that.
And counter spam did not consider this email spam.
- jimimaseye
- Moderator
- Posts: 8917
- Joined: 2011-09-08 17:48
Re: HMS and the message counter with the spam
Try actioning the way that I said.
Why are you checking in a rule for
X-Hmailserver-spam' contains "***SPAM***' ?
And I cant comment on your spam counter because you havent said what youre settings are at. (Earlier in the thread you had them all wrong and it wss then explained to you on how to resolve it).
Why are you checking in a rule for
X-Hmailserver-spam' contains "***SPAM***' ?
And I cant comment on your spam counter because you havent said what youre settings are at. (Earlier in the thread you had them all wrong and it wss then explained to you on how to resolve it).
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HMS and the message counter with the spam
Sorry! I blunt. It's headers. Did so. Wait till tomorrow and see what happens.jimimaseye wrote:Try actioning the way that I said.
Why are you checking in a rule for
X-Hmailserver-spam' contains "***SPAM***' ?
And I cant comment on your spam counter because you havent said what youre settings are at. (Earlier in the thread you had them all wrong and it wss then explained to you on how to resolve it).
Criteria -> Custom header field: 'X-hMailServer-Spam' Equals: 'YES'
Action -> Move to IMAP folder -> Junk