Search found 54 matches

by thomas10
2018-08-01 03:41
Forum: SpamAssassin implementation discussions
Topic: Received blank sender. Which email/ domain to block?
Replies: 8
Views: 1822

Re: Received blank sender. Which email/ domain to block?

ok, will take your advice on it. Hopefully everything will be ok. Hmail rocks.
by thomas10
2018-07-27 04:04
Forum: SpamAssassin implementation discussions
Topic: Received blank sender. Which email/ domain to block?
Replies: 8
Views: 1822

Re: Received blank sender. Which email/ domain to block?

Thanks Soren and Jimi. jimi, Will do on the setting. but for the URIBL_BLOCKED issue, I don't have any DNS server here. I believe this means some sort of the quota has been exceeded and that's why it is being blocked. I read your suggested post, but how to add the records as mentioned in your last p...
by thomas10
2018-07-26 09:28
Forum: General discussions
Topic: Weird message shown on hmail log in the midnight
Replies: 6
Views: 890

Re: Weird message shown on hmail log in the midnight

so you get a quit and a log on every second? That seems unusual, although I have seen mobiles phones do silly things while they are being charged Ya, pretty sure is every second because the next same log starts again when the first log quit. Just share below log for your reference. I will check on ...
by thomas10
2018-07-26 09:22
Forum: General discussions
Topic: Weird message shown on hmail log in the midnight
Replies: 6
Views: 890

Re: Weird message shown on hmail log in the midnight

Maybe the user has ben playing with his phone, messing with settings, and misconfigured it. Perhaps his choice of mail app allows the Poll (pop) frequency be set in seconds but he thought it was minutes (and he's entered "1"). Get phone, turn it off, turn it on, check settings, check future logs. O...
by thomas10
2018-07-26 09:19
Forum: SpamAssassin implementation discussions
Topic: Received blank sender. Which email/ domain to block?
Replies: 8
Views: 1822

Received blank sender. Which email/ domain to block?

Hi All, Need some help here. One of the user has received one spam mail without sender email stated. I tend to block the email/domain name but I'm not sure which is the one. Below is the message log. Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on GCF X-Spam-Flag: YES X-Spam-...
by thomas10
2018-07-26 08:10
Forum: General discussions
Topic: Weird message shown on hmail log in the midnight
Replies: 6
Views: 890

Re: Weird message shown on hmail log in the midnight

Hi Matt, Thanks for clarifying. hmm, although the send/receive setting was 1 minute, but this happens every second which is weird to me. and also, the user shouldn't be using the email account at that period of time (Sleeping time). But anyway, I will have a check out on the user. Update: Ok, it is ...
by thomas10
2018-07-26 04:51
Forum: General discussions
Topic: Weird message shown on hmail log in the midnight
Replies: 6
Views: 890

Weird message shown on hmail log in the midnight

Hi All, I need help here. I am not sure what's going on. This message has kept on repeating in hmail log for 2 days and it happens in the midnight till morning from my side. It has caused the log file size becoming very big. Is there anything wrong in the message? "TCPIP" 3016 "2018-07-26 05:06:45.8...
by thomas10
2018-05-31 12:38
Forum: SpamAssassin implementation discussions
Topic: warn: bayes: cannot open bayes databases
Replies: 1
Views: 1071

warn: bayes: cannot open bayes databases

Hi All, Recently, I found that sometimes in the spamd, it mentioned about Bayes: cannot open bayes database. Below is the sample: Thu May 31 17:40:49 2018 [-2928] info: spamd: connection from GCF [127.0.0.1]:58866 to port 783, fd 7 Thu May 31 17:40:49 2018 [-2928] info: spamd: processing message <16...
by thomas10
2018-03-26 10:38
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

Fair enough. I do note, however, that it is already identified as spam (by a long way - I dont expect anything over 2.5 and have 3 as my threshold). Out of interest, what are the Spamassassin headers/report? )Dont the headers already say BAYES probablity > 80%?) You are right indeed, the probabilit...
by thomas10
2018-03-26 09:59
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

Jimi, you are right indeed, i have misread the one you mentioned about the bat I am running. Silly me :oops:
Thanks for your suggestion jimi.
Below is the sample of the spam I have found here, the size is 702kb.
Image
by thomas10
2018-03-26 06:17
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

Update:

Finally found the answer from this link.
viewtopic.php?f=22&t=26750&p=163734&hilit=max#p163968

Need to edit the trainbayes.bat file to set the max message size. :lol:
by thomas10
2018-03-26 05:43
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

Update:

Tried with code below in spamc.conf or spamc.cf in /etc/spamassassin, but the max size still the same. :cry:

Code: Select all

# spamc global configuration file
# max message size for scanning = 700k
-s 700000
by thomas10
2018-03-20 10:17
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

Ok noted. Will try it on next week and see the outcome. :D

One last question, is bayes learning supporting .msg file (Outlook message file)?
Because I tried yesterday and it seemed to work.

If so, then I have no need to worry on converting.
by thomas10
2018-03-20 09:42
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

2) Some spam mails are unable to learn due to greater than max message size (512000 bytes). The size of the email is more than 512kb but it is spam. What should I do? It exceeds the SPAMC maximum message size. Ignore it or increase your max message size: https://spamassassin.apache.org/full/3.2.x/d...
by thomas10
2018-03-19 04:30
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

Re: SpamAssassin Bayes Training

Add On another question:
What file type that trainbayes.bat support? I just tried with mbx, eml and msg (File copy out from outlook), and it works.
by thomas10
2018-03-19 03:33
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Bayes Training
Replies: 12
Views: 2834

SpamAssassin Bayes Training

Hope someone can help me out on Bayes training. 1) Message successfully un/learned. Is it learned? Because I am confused on 'un/learned'. As shown below: spamd learn.jpg 2) Some spam mails are unable to learn due to greater than max message size (512000 bytes). The size of the email is more than 512...
by thomas10
2018-02-28 03:49
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

No probs. TBH I dont claim to know much about the technical workings and, in fact, my Spamasassin installation is more or less out-of-the-box regarding configuration (as detailed in 'my preferred' set up on this forum). There are others on the forum that pay more attention or are more particular wi...
by thomas10
2018-02-27 10:46
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Its not so straight forward yes or no. https://wiki.apache.org/spamassassin/AutolearningNotWorking Tip: the spamassassin mail list is the best place for specific functionality questions. (I am subscribed for curiosity and it is always being answered by helpers). hmm...ok. As long as SA works, that ...
by thomas10
2018-02-27 09:52
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

fixed Thanks You're welcome and thanks for fixing, matt. I have successfully turn on SA and the Chinese text spam is finally out of sight. Thanks for the guidance. I have set 'bayes_auto_learn 1' in local.cf but I am not sure whether the auto learn is running or not as the token is still the same w...
by thomas10
2018-02-27 03:55
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

jimimaseye wrote:
2018-02-26 13:19
Yes, --max-children is a parameter and should be one full word.

Where did you get these instructions? Do they also show the misplaced space?
This is the link. By percepts. There is a space there.
viewtopic.php?p=164408#p165590
by thomas10
2018-02-26 13:02
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

UPDATE:

I HAVE GOT THE ANSWER.
l -s "C:\Program Files (x86)\hMailServer\Logs\spamd.log" --max-spare=2 --max- children=20 --timeout-child=20

There is a space in between which kills it. now the test is done. Thanks so much JIMI.
by thomas10
2018-02-26 12:58
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

I cant help you with that type of installation of the service as I dont do it that way. I do it a little simpler: https://www.hmailserver.com/forum/viewtopic.php?f=21&t=28133 (using NSSM) Tried the nssm method. path: C:\Program Files\JAM Software\SpamAssassin for Windows\spamd.exe Startup Directory...
by thomas10
2018-02-26 12:21
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Updated: Found that I need to double click the spamd.exe to have it run and then the test worked. How in the hell it happens?lol That means that you dont have the SERVICE running then. Manually running the spamd.exe is not running the service. Set the spamd to run as a service so it starts as a pro...
by thomas10
2018-02-26 11:59
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Therefore the Service is not running or responding. Check the service is installed correctly Check that the address/port is set correctly in HMS Check the service is running Check the firewall allows the comms (port 783) Hohoho, I have no idea where I did wrong, Service install correctly and starte...
by thomas10
2018-02-26 11:24
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Update:
1) While clicked Test, it mentioned "unable to connect to the specific SA server."
2) The spamd.log isn't created.
by thomas10
2018-02-26 11:05
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Problem when trying to test the SA.
it said unable to connect to the specific SA server. Why?
by thomas10
2018-02-26 10:46
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Yup, Same as yours m using HITS and [SPAM] in hmail. only that the required_score on my side is 5. :D I find a threshold of 5 is too high leaving many spam emails free entry without being marked. I never see valid emails over 2 (max) and usually below zero. No worries jimi, I set this just to see h...
by thomas10
2018-02-26 10:08
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

If your SpamAssassin 'required_score' was say 3, and then scored at least that number, then it will say that the message is SPAM Actually it will mark according to whatever you set in your local.cf under rewrite_header Subject . In my setup it doesnt write "spam"- I have it put the score (" [_hits_...
by thomas10
2018-02-26 06:38
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

SpamAssassin score independently from hMailserver. If your SpamAssassin 'required_score' was say 3, and then scored at least that number, then it will say that the message is SPAM If in hMailsevrer you set to NOT use SPamAssassin score, but instead choose 5 as the SpamAssassin score, then no matter...
by thomas10
2018-02-23 10:51
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

If you want to react (by a rule) only to SA scoring then count the asterix ('X-Spam-Level' Contains '********') If you want to react to HMS system then review the header X-hMailServer-Spam' Equals: 'YES' or X-hMailServer-Reason-Score. (HMS scoring system is also used by the 'Spam Mark' and 'Spam De...
by thomas10
2018-02-23 09:37
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

If you set delete threshold at 8, but use a set score for SpamAssassin as jimimaseye does, then using a rule that catches Custom header field: 'X-Spam-Level' Contains '********' << 8 asterix will catch mail that SpamAssassin sees as higher than 8 on it's own. It is possible that all other hmailserv...
by thomas10
2018-02-22 05:15
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Ok matt, thanks for your explanation. So there is no need to set rules to forward email that score more than 8 as it is already deleted due to Delete Threshold:8. To receive higher score email, Set the Delete Threshold higher. Lastly, a delete set in the rules, email won't go to the original recipie...
by thomas10
2018-02-22 04:46
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

1) For X-hMailServer-Reason-Score, is it only add the total score of other things except SA score? or it totaled up the whole things? Total of all 2) X-Spam-Level is for SA score only? Yes, that's a SpamAssasin Header Hi Matt, Sorry for back and forth on the rules setting. How about this? Forward a...
by thomas10
2018-02-22 03:15
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

If you read the Spamassassin installation thread (where I posted my solution) it expains specifically why the global rules are required. In particular, they use the SA scoring and the marking by the asterix instad of looking for the word "[SPAM]" in the subject for a reason. Consider this: 1, You s...
by thomas10
2018-02-21 12:09
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Ok, for global rules, I think it sounds stupid. From the beginning, I need to forward all Spam marked email to other spam collecting email. So the rules should be: Criteria -> Subject -> Equals: '[SPAM]' Action -> Forward to: 'Spam collecting Mail' But once confirm that emails score more than 8 are ...
by thomas10
2018-02-21 11:12
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Ok thanks matt. I am abit confused on this part. I tend get it clear before set the correct global rules 1) For X-hMailServer-Reason-Score, is it only add the total score of other things except SA score? or it totaled up the whole things? 2) X-Spam-Level is for SA score only? Below is my current set...
by thomas10
2018-02-14 12:38
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

I have read documentation and there got mention about language option. Is SpamAssassin supported to score for emails in languages other than English (Chinese, Thailand, Cambodia, Myanmar language)? If there is a need to make changes in cf file, what should I do?
by thomas10
2018-02-13 09:10
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Guys, If were to train bayes, will SA continue run in Hmailserver in the same time when Bayes training is ongoing?
by thomas10
2018-02-08 11:50
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

jimimaseye wrote:Restart the spamassassin service.
Well noted. Thanks jimi and matt for the advices. :mrgreen:
by thomas10
2018-02-08 10:36
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

ALL of my FP's I receive are due to my personaly rules and not triggered by default spamasssassin rules. (I have a rule that has something along the lines of "Dear [non-personal name. eg, Sir/Madam/Customer/User] and the body containing words like "account" or "verify". It a lot more complicated th...
by thomas10
2018-02-08 09:58
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

I dont remeber seeing a false positive that was deleted due to being so high. Most FP's would simply be marked spam....but then I rarely get any FP's anyway. (Less than 10 in all last year). If anything, NEW spam will get through without being marked spam (leaving it to user diligence to notice and...
by thomas10
2018-02-08 04:09
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Sorry to ask again. How about whitelist/ blacklist?
If to set whitelist/blacklist in local.cf, it only affect for SA only? Please correct me if I am wrong in this.

And curious to know, based on your experience, will false positve email score high or it normally in the [Mark Spam] range?
by thomas10
2018-02-07 11:28
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

5 (Spam Mark)+ 3 (SPF)+ 2 (HELO)+ 2 (MX)+ 5 (SA)+ (3x3)[Entries)= 26 close - but the SPAM MARK (5) is not a scoring, but a threshold. As in when the total score reashes 5, it will be MARKED as SPAM. So to correct your calculation: 5 (Spam Mark)+ 3 (SPF)+ 2 (HELO)+ 2 (MX)+ 5 (SA)+ (3x3)[Entries)= 21...
by thomas10
2018-02-07 11:10
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Spam delete threshold of 20 is very high and nothing will get deleted (all your scoring will never hit 20: 5+3x3 = 14). I recommend you change it to 8. I am abit confused on the Delete threshold calculation, how does it being calculated? I thought it is as below: 5 (Spam Mark)+ 3 (SPF)+ 2 (HELO)+ 2...
by thomas10
2018-02-07 08:47
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Ok, will keep this as record. Will try to do proper SA setup and get it ready soon. Hope things go fine. Will post again if got any question.
Cheers guys, thank you all so much, appreciate that. :mrgreen:
by thomas10
2018-02-06 10:14
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Hmm, ok. In your experience, if I remain the entries as usual, do you think it is ok? Below is my setting. ----------------------------------------------------------------------------------------------- ANTISPAM GENERAL SPAM TESTS Score SPAMASSASSIN Spam Mark: 5 Use SPF: True - 3 Use Spamassassin: ...
by thomas10
2018-02-06 08:23
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

That's OK Do you also have ClamAV with SaneSecurity definitions? If not, I'd look into that and I'd add 'snowshoe' to be higher score (like mine -thanks to SorenR for the lesson in what is snowshoe spam) sbl.spamhaus.org Score: 10 Result: 127.0.0.3 you only give that a 3 with your zen.spamhaus.org ...
by thomas10
2018-02-06 05:50
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Absolutely Please don't just copy what I do; please set your own score based on your own experience. I have a pretty savage SpamAssassin setup, including a rule that just adds 2.2 to all message scores automatically, in SpamAssassin I mark as spam from -500 (yes that's negative 500), and use the Sp...
by thomas10
2018-02-06 04:00
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

But how about DNSBL and SURBL entries? This is my list DNSBL ENTRIES: bl.spamcop.net Score: 4 Result: 127.0.0.2 zen.spamhaus.org Score: 4 Result: 127.0.0.2|127.0.0.4-8|127.0.0.10-11 b.barracudacentral.org Score: 4 Result: 127.0.0.2|127.0.0.4 cbl.abuseat.org Score: 4 Result: 127.0.0.2 aspews.ext.sor...
by thomas10
2018-02-05 08:46
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

Re: SpamAssassin Questions

Thank you so much jimimaseye 2. For global rules setting: a) I want to forward emails contains [Spam] in subject to another email so I can check the mail whether spam or ham. Any idea? From https://www.hmailserver.com/forum/viewtopic.php?f=21&t=28133 as an example 2, Set a GLOBAL RULE: Name: "Extern...
by thomas10
2018-02-02 10:30
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 62
Views: 9635

SpamAssassin Questions

Hi All, Recently, the mail server here was attacked by Chinese spam mail with domain name @qq.com, @qq.ocm, @123.com, @163.com, etc. I can't straight set rules to delete emails from those domains as some emails are genuine. This mail server doesn't use SpamAssassin, so I plan to move current Hmail t...
by thomas10
2018-01-19 05:30
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Score + hMailServer Score
Replies: 36
Views: 12092

Re: SpamAssassin Score + hMailServer Score

Here is a snippet of my custom.cf (I changed the name so that it wasn't overwritten on SpamAssassin upgrade) # Some shortcircuiting, if the plugin is enabled # ifplugin Mail::SpamAssassin::Plugin::Shortcircuit # # default: strongly-whitelisted mails are *really* whitelisted now, if the # shortcircu...
by thomas10
2013-10-30 03:32
Forum: General discussions
Topic: Delivery Queue email issue
Replies: 3
Views: 1332

Re: Delivery Queue email issue

Yes I did. I click Send Now for the 0 Replies email and Refresh. But still the same.
by thomas10
2013-10-30 03:21
Forum: General discussions
Topic: Delivery Queue email issue
Replies: 3
Views: 1332

Delivery Queue email issue

Please help. I am not sure what's going on with the delivery queue. I have set 3 times retries. However, I saw there are some emails which are stuck in the queue has 0 replies, no matter how many times I click Send Now for the particular one. Strangely, some emails works fine with the replies and so...