Search found 101 matches

by Kendo
2020-09-19 16:05
Forum: General discussions
Topic: SPF, DKIM, DMARC seem in problem
Replies: 6
Views: 222

Re: SPF, DKIM, DMARC seem in problem

I am not sure if this is related, but I had problems with GoDaddy due to relaying of the commonly used mail ports to use a bank of their own servers. The relay was mandatory for all clients, so I moved hosts.
by Kendo
2020-04-28 07:13
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

Has anyone been able to get the decoding to work so that the word filter can be applied to encoded mail messages?
by Kendo
2020-04-08 23:38
Forum: General discussions
Topic: Rule-based rejection
Replies: 11
Views: 3146

Re: Rule-based rejection

but backyard? On the news this morning... "A mountain biker who drove to a park to go for a ride and exercise was approached by a police officer who then fined him for “unnecessary travel”." Unless travelling for work, we can only go out to shop for essentials. The bottle shop is ok :-) Btw I am no...
by Kendo
2020-04-08 09:26
Forum: General discussions
Topic: Rule-based rejection
Replies: 11
Views: 3146

Re: Rule-based rejection

Where is "here"?
Queensland Australia.

Down south in New South Wales it is worse... they are fining anyone outside of their home without an excuse $1200-2000, ie; if not getting essential food, fuel etc. On the spot fines. Yesterday 3 guys were fined for playing cricket in their backyard.
by Kendo
2020-04-08 00:22
Forum: General discussions
Topic: Rule-based rejection
Replies: 11
Views: 3146

Re: Rule-based rejection

Took social distancing too far. I think that guy gave up. But I currently have two of my regular programmers out of action. One has been seriously ill and was unheard from for almost a month while the other is slowly recovering and not sure what he has because the virus tests are too expensive and ...
by Kendo
2020-04-07 19:23
Forum: General discussions
Topic: Rule-based rejection
Replies: 11
Views: 3146

Re: Rule-based rejection

If you want to block spam based on keywords, see https://www.hmailserver.com/forum/viewt ... =7&t=34421

This works well for me but it doesn't read encoded messages which no-one has figured a solution for yet. I even hired an ASP coder to look into it but he has wandered astray.
by Kendo
2020-03-10 23:16
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 143
Views: 103908

Re: hMailServer 5.7

The drop down box next to the version number in the build environment shows a change log https://build.hmailserver.com/viewType.html?buildTypeId=HMailServer_BuildHMailServer57&tab=buildTypeChangeLog This link leads to a login page. https://www.hmailserver.com/download/ shows old version links and i...
by Kendo
2020-03-09 23:13
Forum: General discussions
Topic: Access to old emails
Replies: 2
Views: 1757

Re: Access to old emails

I've got 10+ years of emails. I prefer to do this locally as it is more secure and more easily managed. Then I can delete the unnecessary emails because keeping ALL mail could increase it by 900%. I use Thunderbird with several email accounts and each has different folders for different types of ma...
by Kendo
2020-03-07 01:31
Forum: General discussions
Topic: Migrate from godaddy email hosting to hmailserver
Replies: 36
Views: 11616

Re: Migrate from godaddy email hosting to hmailserver

Are you SURE your ISP isn't blocking port 25 outgoing? I think that is was Godaddy that redirected all outgoing mail via their own mail servers as a spam precaution. If that is the case they would have been redirecting port 25. Hmmm... that was the reason for moving and use hMailserver and thus mai...
by Kendo
2020-03-06 23:14
Forum: Off-topic discussions
Topic: Nasty virus/trojan in emails
Replies: 11
Views: 6684

Re: Nasty virus/trojan in emails

MSE is dangerous! Maybe for command-line... 6 years ago. But I don't use it with CMD or use it with any other apps. Just runs in the background and does a fantastic trouble-free job. Have tried all the others. Was an agent for one of them at one time. They are so busy plagiarising each other that t...
by Kendo
2020-03-06 02:42
Forum: Off-topic discussions
Topic: Nasty virus/trojan in emails
Replies: 11
Views: 6684

Re: Nasty virus/trojan in emails

Sounds more like a nasty antivirus than a nasty virus.
Actually I find Microsoft Security Essentials best. It was not deleted... quarantined. But without a means to see subject or who the sender/recipient was.

Segregating new mail does the trick.
by Kendo
2020-03-05 07:18
Forum: Off-topic discussions
Topic: Nasty virus/trojan in emails
Replies: 11
Views: 6684

Nasty virus/trojan in emails

It has happened a few times now... my antiyvirus detects a trojan/virus in an email in my Thunderbord INBOX and fixes it almost immediately. Only problem with that is that it deletes the contents of all emails in the INBOX and just leaves the subject list. Of course all of those emails listed are bl...
by Kendo
2020-01-04 23:41
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

The functions are there. But if they are being used, then it doesn't work. It didn't work in our tests.

There is also a function for detecting asian spam, but that doesn't work either.

Any improvement on those will be greatly appreciated :-)
by Kendo
2020-01-03 23:10
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

Decoding didn't work for us. Perhaps someone else can fix that part. Yes, we are checking both Subject and Message. ' Sub OnClientConnect(oClient) ' End Sub ' Sub OnSMTPData(oClient, oMessage) ' End Sub ' Sub OnAcceptMessage(oClient, oMessage) ' End Sub ' Sub OnDeliveryStart(oMessage) ' End Sub ' Su...
by Kendo
2019-10-19 08:06
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

Further to my block-list filter I found that was still getting some spam emails even though they should have been blocked. So we added more informative logging and then discovered that the emails that were getting through were excused because the message body was encoded. I was thinking of decoding ...
by Kendo
2019-10-10 10:33
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

Ok, my blocklist filter is finished and it works. How it works block-list.txt contains a list of word and phrases that you want to block (create your own). In the script you can set a threshold of say 50 which when reached will delete the email so that it is not delivered. In block-list.txt you need...
by Kendo
2019-10-05 04:24
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

Kendo wrote:
2019-09-30 03:22
I am currently working on a new filter to detect keywords and delete if found.
We have completed this but need to debug. Is it cool to add a report to the logfile, such as wordscore?

If so, then what format/procedure should be observed?
by Kendo
2019-09-30 03:22
Forum: General discussions
Topic: How Do I Block All Mail Containing a Specific String
Replies: 13
Views: 3945

Re: How Do I Block All Mail Containing a Specific String

I am currently working on a new filter to detect keywords and delete if found. It is based on the bad word filter mentioned earlier but instead of replacing the word, I intend to delete it. The words are contained in a text file and will have a score and when total threshold reaches the set limit, t...
by Kendo
2019-09-27 23:14
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

If oMessage.Recipients(i).Address = strRecipient1 or oMessage.Recipients(i).Address = strRecipient2 Then For some reason this does not work. It works for 1 but not for 2. I even add "Shift" which does appear in subject and message, but Japanese still gets through. Const strRegEx = "(\?)(gb(k|2312|1...
by Kendo
2019-09-12 23:24
Forum: Feature requests
Topic: Bad word filter - spam test
Replies: 2
Views: 2166

Re: Bad word filter - spam test

Most interesting... a similar script does exist. Internal search was useless, but Google returned this post...

https://www.hmailserver.com/forum/viewt ... 20&t=29272

But this needs work for what I want to do.
by Kendo
2019-09-12 22:55
Forum: Feature requests
Topic: Bad word filter - spam test
Replies: 2
Views: 2166

Bad word filter - spam test

I looked but didn't find an existing rule for this... Filter email by words listed in static file. I used to use a spam filter which could list words and a score. If their total count was above a threshold then delete/etc. I found this most useful as it could be easily updated. As a text file one co...
by Kendo
2019-09-12 22:01
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

mattg wrote:
2019-09-12 11:04
IT people are always looking for more work
Something like this should do...

If oMessage.Recipients(i).Address = strRecipient1 or oMessage.Recipients(i).Address = strRecipient2 Then
by Kendo
2019-09-12 07:26
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

mattg wrote:
2019-09-12 03:29
Not with the existing code, you would need to modify slightly to achieve that
What do you recommend?
by Kendo
2019-09-12 01:15
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

In line 2 below, can I add multiple email addresses separated by comma?...

Sub OnDeliverMessage(oMessage)

Const strRecipient = "nospam@exanple.com" ' <-- Change to reflect actual user!
Const strRegEx = "(\?)(gb(k|2312|18030)|big5|euc-(cn|tw)|Shi...
by Kendo
2019-06-25 07:00
Forum: Off-topic discussions
Topic: What email client does everyone use?
Replies: 47
Views: 28591

Re: What email client does everyone use?

Outlook is not pre-installed on any Windows product I have ever had. Maybe you are confusing Windows Mail App pre-installed on Windows 10 as being Outlook. It does resemble Outlook but it is not Outlook and a bit restricted in features compared to Outlook. Solly, when we had our computer shop XP wa...
by Kendo
2019-06-24 14:23
Forum: Off-topic discussions
Topic: Mozilla has trashed firefox again
Replies: 12
Views: 6112

Re: Mozilla has trashed firefox again

jimimaseye wrote:
2019-06-24 14:16
Does pale moon allow and use old style firefox add-ons?
Not sure because I don't use them except for one that stops autoplay of video. But they do provide an extensive array of add-ons that are compatible.
by Kendo
2019-06-24 13:39
Forum: Off-topic discussions
Topic: Mozilla has trashed firefox again
Replies: 12
Views: 6112

Re: Mozilla has trashed firefox again

Since Firefox started adopting useless features found in advertising gimmick browsers (no name mentioned) I started losing interest. Dropping support for NPAPI, Flash and Java, plus persistent nagging about updating to their latest version of nonsense was too much in the end.

I now use Pale Moon.
by Kendo
2019-06-23 14:50
Forum: Off-topic discussions
Topic: What email client does everyone use?
Replies: 47
Views: 28591

Re: What email client does everyone use?

Everyone's favorite is MS Outlook. Only because they find it already installed with Windows and don't bother looking for an alternative. I don't know if they have changed it much or not, but one big no-no was the way they hide the sender's email address. If anything, that should be most obvious, es...
by Kendo
2019-06-23 14:39
Forum: Off-topic discussions
Topic: What email client does everyone use?
Replies: 47
Views: 28591

Re: What email client does everyone use?

Anyone upgraded their Thunderbird to v60 yet? Yes. Some plugins had to be upgraded, but the ones that I depend upon, mainly "Clippings", are ok. Which mail client? Thunderbird of course... ideal for managing multiple accounts. I have used it since it began and would not recommend any of the other n...
by Kendo
2019-06-23 14:20
Forum: Off-topic discussions
Topic: WOrdpress attack last few days
Replies: 8
Views: 4741

Re: WOrdpress attack last few days

WordPress seems to be a popular target. I have a Windows server with no PHP or WordPress sites but most of the hits to it are looking for WordPress plugins to try and exploit. It seems that someone has distributed software that many wanna-bees use trying to exploit web sites... I see similar request...
by Kendo
2019-04-13 01:32
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

And spammers sending mail via command prompt will be seen as Server or My Computer?
by Kendo
2019-04-12 23:43
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

I understand the "local" and "external" email address difference and assume that the "Internet" range is for mail sent via SMTP to my server from outside the server, but what is the significance/difference between "Server, My Computer and Internet"?
by Kendo
2019-04-12 23:00
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

In the settings for IP Ranges there are 3 options: - Server - My computer - Internet I assume that "Internet" means email sent via the internet using normal channel for SMTP, but what do the other 2 options mean specifically? For example a spammer sending direct via my server... will appears as a lo...
by Kendo
2019-03-29 10:37
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

jimimaseye wrote:
2019-03-29 09:48
Your SPF record allows your own mail server to send emails.
Of course it does. It is also listed as an allowed IP address. How else can websites hosted on it send mail outward?
by Kendo
2019-03-29 02:29
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

jimimaseye wrote:
2019-03-29 02:13
What is your spf record?
v=spf1 a mx ptr a:cp12.example.com ip4:64.71.130.99 ip4:64.71.130.100 ip4:64.71.130.101 ip4:64.71.130.102 ip4:64.71.130.103 ip4:74.200.85.166 ip4:64.202.189.1/16 ip4:116.250.207.34 ip4:116.250.255.1/16 ip4:116.250.254.1/16 include:apn.net.au -all
by Kendo
2019-03-29 02:01
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

Without any SMTP Authentication settings, why doesn't SPF prevent non-authorised IP addresses as senders using local email addresses?
by Kendo
2019-03-29 00:49
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

What exactly is the role of hMailServer in your organisation? 1. To send mail from webforms on the same server. 2. To send mail from cms on the same server... from authors to subscribers. 3. To receive mail sent to the listed domains/accounts. 4. Received mail then gets resent to a separate server ...
by Kendo
2019-03-29 00:20
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

SorenR wrote:
2019-03-29 00:17
How do your customers send mail normally? Webmail only?
New clients use a webform on one of the websites. Some sites are on the same server and some on another (apache) server.

Established contacts email directly from their mail client.
by Kendo
2019-03-29 00:18
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

Without any SMTP Authentication settings, why doesn't SPF prevent non-authorised IP adresses as senders?
by Kendo
2019-03-29 00:11
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

mattg wrote:
2019-03-27 03:30
By default hMailserver allows users to AUTH with one account and send FROM another
Where are these set?
by Kendo
2019-03-28 22:42
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

I deleted the script mentioned at viewtopic.php?p=68117#p68117 but now have spam sent from myaddess.example.com to myaddress@example.com again, even though I have SPF enabled. I ran the diagnostic test and all it says is what my settings are... 2019-03-28 Hmailserver: 5.6.5-B2367 DOMAINS "Domain1.co...
by Kendo
2019-03-28 01:18
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

SorenR wrote:
2019-03-28 01:05
You are aware that you need to "reload" the script whenever you make changes.
Yep. No problem.
by Kendo
2019-03-27 22:22
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

SorenR wrote:
2019-03-27 02:06

Code: Select all

   Const strRegEx      = "(gb(k|2312|18030)|big5|euc-(cn|tw)|iso-2022-(cn|jp))"   ' <-- Here you can add search params!
Without the "?"
by Kendo
2019-03-27 01:34
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

Nice catch. Yes I did add the 2nd script and that must be the cause. Have lost a lot of business since then. But I don't understand... I thought that I was stopping mail being sent from the same address, like spammers do using From: you@domain.com To: you@domain.com Anyways, I deleted the rule for n...
by Kendo
2019-03-27 01:22
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

Re: You are only allowed to send from your own account

Not that I am aware of. It has been happening since before we added that new rule.
by Kendo
2019-03-27 01:06
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 6492

You are only allowed to send from your own account

Recently my mail server stopped allowing mail to be sent from my webforms on the same server. The logs show... "You are only allowed to send from your own account" All settings look ok. http://addmine.com/temp/hMailServer_settings.jpg Server, Computer and Internet are set the same. I rebooted hMailS...
by Kendo
2019-03-26 22:06
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

Yes and tested. Didn't have any since except for these 3 emails just recently.
by Kendo
2019-03-26 12:44
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

SorenR wrote:
2019-03-26 12:15
If you look at the raw email, does it have the "X-hMailServer-Mime-Ban: YES" header ?
No. It was not detected/tagged.

Now have 3 emails that include... "Subject: =?gb2312?B?..."
by Kendo
2019-03-25 23:29
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

This one got through...

Subject: =?gb2312?B?svrGt76twO3I57rOtqjOu6O/yOe6zrLfu67T0L661fnBprXEsu7S7A==?= =?gb2312?B?u6+y+sa3y9XW3bXIs8fK0Mno09Cw7MrCtKYyMDE5LzMv?=
=?gb2312?B?MjYg0MfG2rb+yc/O5yA1OjE5OjE0?=

Re: 产品经理如何定位?如何策划有竞争力的差异化产品苏州等城市设有办事处2019/3/26 星期二上午 5:19:14
by Kendo
2019-03-24 15:00
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

SorenR wrote:
2019-03-24 13:46
The new mail header "X-hMailServer-Mime-Ban"...
That worked, thanks. Nice work!
by Kendo
2019-03-24 10:42
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

One got through but there might be something different because the encoding starts with "?gb" instead of "?utf". I have seen a few like this before, for example... Subject: =?gb2312?B?vt7I6cLcwPKz+MTvw8DJ2cWuw/6xrMjpyODAy9Go5fzDxMnr0ve3og==?= =?gb2312?B?tLrS+dPvusPP67LZy/0=?= Which came from... 巨乳萝莉...
by Kendo
2019-03-24 06:11
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

palinka wrote:
2019-03-24 01:16
Did you try using the simple rule with Soren's regex? Directly above your last post.
Yes. That seems to work ok. Thanks everyone!
by Kendo
2019-03-24 00:10
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

jimimaseye wrote:
2019-03-23 22:38

If oMessage.Subject = "=?utf-8?B?5LyB5Lia566h55CG6LWE5paZ?=" Then
How does this detect anything that is not specifically "=?utf-8?B?5LyB5Lia566h55CG6LWE5paZ?="?

Or does the regex need to be included? If so, please provide an example of the completed script.
by Kendo
2019-03-23 22:30
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

I believe it is because he is still focusing on wanting to delete mail recognised as Chinese Japanese etc (which spamassassin does) and not understanding that the appearance and dealing with "utf8" (which your script deals with) has nothing to do with it. It seems he thinks spamassassin handles utf...
by Kendo
2019-03-23 07:41
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

SorenR wrote:
2019-03-23 02:06
I believe you got your answer in the second post...
In hindsight that is easy to say, but now we know why. Perhaps hMailserver can be upgraded to cater for such a simple rule. Then we could do without SA which I have never liked.
by Kendo
2019-03-23 01:28
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

We already got all of that, except for those clouding the issue by posting irrelevant suggestions.
by Kendo
2019-03-23 00:08
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

TB = Thunderbird?

That is of no use because it is the mail server applying the rule and not your local mail client.
by Kendo
2019-03-22 21:25
Forum: Scripting
Topic: Simple rule is not working
Replies: 96
Views: 32138

Re: Simple rule is not working

katip wrote:
2019-03-22 15:15
probably this:

TB -> Options, Display, Formatting, Advanced
Where are these options found?