Search found 19646 matches

by mattg
2019-03-28 11:11
Forum: Feature requests
Topic: Bind to Local Ip Address per domain
Replies: 1
Views: 472

Re: Bind to Local Ip Address per domain

This gets asked a bit, but that's not how Office365 or gMail work for their hosted domains? I have multiple domains that all list the same 'mail.example.com' as MX record My hMailserver answers to this 'mail.example.com' with the same name and a certificate to match. This information is NOT known to...
by mattg
2019-03-28 11:06
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

I have always thought that what SorenR says about this is accurate.

I have always 'loaded' then checked, re-loading old file if it fails until fixed.
by mattg
2019-03-27 15:00
Forum: Off-topic discussions
Topic: Is English your first language?
Replies: 28
Views: 9268

Re: Is English your first language?

What aussies call 'thongs', we call flipflops). https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRc9NSsRRMPNIlrkEdrLADwlxUTClqOogI6shrWYdNHYqo203lFhQ I'd almost bet that because those thongs have the Aussie flag on them, that they are cheap ones made in China. We have variations of thongs Thos...
by mattg
2019-03-27 14:46
Forum: General discussions
Topic: Local to local authentication and SMTP route
Replies: 1
Views: 503

Re: Local to local authentication and SMTP route

licondam wrote:
2019-03-27 11:14
Can we get round this by using SMTP routes so the email is treated as external for that domain? Any pointers appreciated.
No, sorry I don't think so


This help page suggests that they have a solution though
https://sendgrid.com/docs/ui/account-an ... addresses/
by mattg
2019-03-27 03:30
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 1740

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

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 By default hMailserver allows users to AUTH with one account and send FROM another Eg AUTH with 'BartSimpson@example.com' and then send mail FROM 'president@whitehouse...
by mattg
2019-03-27 01:24
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 1740

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

Sounds like you have added one of these scripts as well

viewtopic.php?p=68117#p68117
by mattg
2019-03-26 23:29
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

Can i use DNS Server -- Technitium for this purpose? And is there any guide how to setup it You should ask the suppliers of that product for guides on how to use it How to enable laptop to connect to hmail server in both cases? Already told you that this is because your router doesn't do loopback T...
by mattg
2019-03-26 23:19
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

ryanjenson90 wrote:
2019-03-26 19:58
same issue
Please start a new thread as per forum rules
by mattg
2019-03-24 03:36
Forum: SpamAssassin implementation discussions
Topic: UpdateChannels.txt
Replies: 8
Views: 856

Re: UpdateChannels.txt

SorenR wrote:
2019-03-24 00:02
Oh, if only you knew... My Eventhandlers.vbs is currently 1428 lines ...
Mine is currently 2658 lines...Don't know if that's good or bad though - probably getting to the point of being too big.
by mattg
2019-03-24 03:31
Forum: General discussions
Topic: Messages in data folder not delivered
Replies: 15
Views: 901

Re: Messages in data folder not delivered

I Just configured IIS SMTP (using IIS 6.0 Manager) moved some message to pickup folder, but nothing happened. IIS SMTP is running on port 26 (HMS is running on port 25). As i paste a .eml file to pickup folder, this disappear but there's no track on HMS database. HMS is configured to accept connect...
by mattg
2019-03-24 03:26
Forum: General discussions
Topic: About SMTP port?
Replies: 9
Views: 923

Re: About SMTP port?

RvdH's post is correct - the ini file isn't overwritten in an update. Even if you uninstall hMailserver completely, the ini file is left behind in case or re-installation (as are the settings recorded in the database). To remove all files you would need to uninstall the database, and delete the hMai...
by mattg
2019-03-23 02:53
Forum: General discussions
Topic: About SMTP port?
Replies: 9
Views: 923

Re: About SMTP port?

DisableAUTHList=25 doesn't just force mail clients to use another port It also stops hackers from using port 25 for guessing username and password combinations. Of course hackers can and sometimes do try other mail ports (587, 465, 110, 143, 993 and 995) AND also other custom ports, to try and guess...
by mattg
2019-03-23 00:26
Forum: General discussions
Topic: Messages in data folder not delivered
Replies: 15
Views: 901

Re: Messages in data folder not delivered

You will need some way to get these messages back into the hMailserver queue... If you have access to IIS SMTP set that up with a smart host pointing to your hMailserver, and move all of the messages to the pickup folder for IIS SMTP. Or you will need to install a mail client client like thunderbird...
by mattg
2019-03-22 13:59
Forum: General discussions
Topic: Messages in data folder not delivered
Replies: 15
Views: 901

Re: Messages in data folder not delivered

Completely restart the windows server

The idea behind the thunderbird thing is just to present the emails as new messages to the server (delivered via SMTP)

How many such messages do you have?
by mattg
2019-03-22 13:55
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

But my point is that my subjects never look like this
"=?utf-8?B?5LyB5Lia566h55CG6LWE5paZ?="

They always look like
'企业管理资料'
by mattg
2019-03-22 13:43
Forum: General discussions
Topic: Messages in data folder not delivered
Replies: 15
Views: 901

Re: Messages in data folder not delivered

Have you tried restarting the server?
Sometimes that forces the messages to be picked up

Alternately install thunbderbird on machine with hMailserver, and point SMTP to localhost, and allow all without AUTH for 127.0.01 in IP ranges

Then open the messages in Thunderbird and 'send'
by mattg
2019-03-22 13:15
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

To test properly you may need to use the same characters in the Subject line, for example... 企业管理资料 It is an account level rule and only for ONE account. when I copy that into the subject line of a message sent from gmail, it displays like that (企业管理资料) in Thunderbird after traveling through my hMa...
by mattg
2019-03-22 06:07
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

I also copied some of the subjects that you posted above to test, and they all get caught by my rule

Do you have a global rule or an account level rule?
I don't know how else I can test what you are experiencing
by mattg
2019-03-22 01:58
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

I just created a global rule named 'test ??' If subject contains '?' then set header value 'X-Tested' to 'Yes' Then I sent a message from my gmail account to a hmailserver account and the logs show "DEBUG" 26136 "2019-03-22 09:53:37.033" "Applying rule test ??" "DEBUG" 26136 "2019-03-22 09:53:37.033...
by mattg
2019-03-21 10:39
Forum: General discussions
Topic: SSL cert. from RapidSSLOnline.
Replies: 5
Views: 586

Re: SSL cert. from RapidSSLOnline.

You need a chain (in the crt file) Just one file that contains The Root / The CA and the server cert It may have two parts it may have three or four, I'm not familiar with RapidSSL at all ----BEGIN CERTIFICATE----- lot of tokendata for CA cert..... -----END CERTIFICATE----- ----BEGIN CERTIFICATE----...
by mattg
2019-03-21 10:19
Forum: General discussions
Topic: SSL cert. from RapidSSLOnline.
Replies: 5
Views: 586

Re: SSL cert. from RapidSSLOnline.

In Hmailserver you will need to chain the certs

At the top is the CA cert at the bottom is the server cert
I'd guess that the cert you have installed has these in reversed order
by mattg
2019-03-21 08:51
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

Kendo wrote:
2019-03-21 08:03
I have SMTP logging enabled, but nothing shows for Subject.
Yes you are correct, sorry my bad

Perhaps the ? needs to be escaped with a \?
by mattg
2019-03-21 08:44
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

mattg wrote:
2019-03-20 11:28
What brand / model of router do you have?
Have you checked to see if it offers loopback?
by mattg
2019-03-21 08:43
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

In one of hreich postings there is a display of a report which indicates that the someone.no-ip.net external DDNS Hostname was not able to be parsed. Can you explain what was meant by the unable to parse someone.no-ip.net indication because evidently I did not understand the meaning of the not bein...
by mattg
2019-03-21 02:57
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

If you use a different DNS to get the same external ip address, how is that going to change the fact that the router isn't doing loopback? The problem here is NOT that the DNS gives poor information, it correctly gives the right information. SERIOUSLY The issue here is that the router isn't doing NA...
by mattg
2019-03-21 02:19
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

I don't see why my rule doesn't work. Can you? You do understand that the rules use SMTP envelope, not mail headers... Have you confirmed in your logs that the address and subject do actually have the required text in them? Also, can you please show a screen shot of you rules? Sometimes and/or gets...
by mattg
2019-03-21 01:12
Forum: User contributed hMailServer 5 scripts
Topic: Dynamic Black/Whitelists in your script.
Replies: 36
Views: 2770

Re: Dynamic Black/Whitelists in your script.

Ha ha

They think that you are a noob
If only they knew
by mattg
2019-03-21 01:09
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 4214

Re: Simple rule is not working

Kendo wrote:
2019-03-20 21:48
I do not expect that any email sent to nospam@example.com to be of interest.
Then simply delete it all

In SpamAssassin you can test for language and character sets
Also I use

xx.countries.nerd.dk as an DNSBL to check country of origin (yes I understand that may be different to what you are after)
by mattg
2019-03-21 01:00
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

I am curious as to why using a different DNS Server on the Laptop would not work as well. CLEARLY the DNS used by the laptop works fine, It gives the correct external IP address from nslookup somename.no-ip.net The ONLY way a DNS could help in this situation is if the DNS has another ADDITIONAL zon...
by mattg
2019-03-21 00:54
Forum: General discussions
Topic: Sending mails to internal user ober external mail server
Replies: 1
Views: 425

Re: Sending mails to internal user ober external mail server

Or is there any other solution? We do not want to expose the hMailserver's ports to the internet, because the passwords are to weak. The other solution is to expose the hMailserver's IMAP ports to the internet and have the smart phones connect to your hmailserver for IMAP only Exposing just the IMA...
by mattg
2019-03-20 11:43
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

These settings won't affect your issue
Bind to local IP should be blank unless you have multiple NIC cards
Local host name should be anything in the form 'mail.example.com' - preferably to match your RDNS and yoru certificate name if you have one
by mattg
2019-03-20 11:28
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

Yes it returns external ip adress -- so regarding Mattq's solution there are two options: You can either a) add the local IP address to the local hosts file b) Use the local IP address in the server name fields of your mail client If I use b) solution and add local ip adress in mail client - will u...
by mattg
2019-03-20 08:20
Forum: Off-topic discussions
Topic: WOrdpress attack last few days
Replies: 8
Views: 1058

Re: WOrdpress attack last few days

And since last night they are now trying with my name as username rather than the generic 'admin' type guesses. I added a new domain last week, and there was three or four attempts for that domain almost immediately, but then they have gone back to my main domain (which is also my RDNS entry). Since...
by mattg
2019-03-20 06:42
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

127.0.0.x are Local Loopback Adapter IP Adresses which only works for the local Computer and cannot route Data to other Local Area Networks Computers or Devices.If you want to exchange Data between diffrent Computer via TCP/IP both Computers needs a Ethernet Network Card and has to be part of the s...
by mattg
2019-03-20 04:43
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 2353

Re: Need help for sending mal in local network

hreich wrote:
2019-03-19 21:46
Why cant i connect to hmail server when in local network?
This is probably because your router doesn't do loopback

You can either
a) add the local IP address to the local hosts file
b) Use the local IP address in the server name fields of your mail client
by mattg
2019-03-19 12:27
Forum: General discussions
Topic: Thunderbird and POP
Replies: 8
Views: 763

Re: Thunderbird and POP

have you forwarded ALL relevant mail ports on your router?
Have you opened all ports on your firewall?
by mattg
2019-03-19 11:55
Forum: General discussions
Topic: Sending to Alias returns 550 5.1.1
Replies: 35
Views: 1541

Re: Sending to Alias returns 550 5.1.1

Always alphabetical I think, not in the order created (which is the same for me in the admin GUI)

ALSO I suspect that the screen shot just shows from the second domain
by mattg
2019-03-19 10:31
Forum: General discussions
Topic: Sending to Alias returns 550 5.1.1
Replies: 35
Views: 1541

Re: Sending to Alias returns 550 5.1.1

Not only are those account aliases and not Domain alias/names (as Mattg has already pointed out), they are against domain 1 and domain 3 which, we have already identified, are disabled. I don't think that is correct The account aliases are under domains that start with D and M, which from the diagn...
by mattg
2019-03-19 03:33
Forum: General discussions
Topic: Sending to Alias returns 550 5.1.1
Replies: 35
Views: 1541

Re: Sending to Alias returns 550 5.1.1

enable all logging
send to a 'normal account' on your hmailserver from a gmail account
ALSO send to an 'alias account' (same domain) on your hmailserver from a gmail account

Wait until you get an error in gmail, or at least 90 seconds, and then post ALL logs created
by mattg
2019-03-19 03:02
Forum: Scripting
Topic: Fighting hackers and help to stop gsmtp powered mailers
Replies: 6
Views: 632

Re: Fighting hackers and help to stop gsmtp powered mailers

ALSO your error log is populated

Please show the contents of C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2019-03-18.log
or a newer one if it exists
by mattg
2019-03-19 02:18
Forum: General discussions
Topic: Sending to Alias returns 550 5.1.1
Replies: 35
Views: 1541

Re: Sending to Alias returns 550 5.1.1

Those are account aliases, not domain 'names'

The script picks up domain 'names'.
Those aliases should be treated exactly the same as normal accounts on those domains.


again, that error message isn't a hMailserver error message

Are you sending from your gmail account directly to the alias?
by mattg
2019-03-19 02:05
Forum: General discussions
Topic: [HMail Server] SMTP credentials transmitted unencrypted
Replies: 3
Views: 553

Re: [HMail Server] SMTP credentials transmitted unencrypted

In your hmailserver.ini add this to the bottom [settings] DisableAUTHList=25 ; Setting DisableAUTHList allows you to specify a comma-separated list of SMTP ports which authentication should not be enabled for. ; This is useful when working with legacy systems with malfunctioning SMTP support. In hMa...
by mattg
2019-03-19 01:46
Forum: General discussions
Topic: SSL / TLS does not work
Replies: 2
Views: 470

Re: SSL / TLS does not work

As jim.bus says you haven't given us much to go on

After researching a bit, run this and post the results >> viewtopic.php?f=20&t=30914
by mattg
2019-03-19 01:45
Forum: General discussions
Topic: Deleting spam with certain keywords
Replies: 2
Views: 482

Re: Deleting spam with certain keywords

Rules certainly can and do work
SpamAssassin is excellent
Or you can create custom scripts
by mattg
2019-03-17 12:31
Forum: Scripting
Topic: Fighting hackers and help to stop gsmtp powered mailers
Replies: 6
Views: 632

Re: Fighting hackers and help to stop gsmtp powered mailers

jimimaseye wrote:
2019-03-17 10:17
Anyway.....

Your log shows that you are SENDING out this spam, not receiving them.
Yep
by mattg
2019-03-17 12:21
Forum: General discussions
Topic: Thunderbird and POP
Replies: 8
Views: 763

Re: Thunderbird and POP

In thunderbird you need to set the user in the form of 'account@example.com', by default it is just 'account' Thanks, but that was one of the first checks. In any case sending mail wouldn't work if it was a default account issue. Sending mail uses SMTP You are downloading via POP3 POP3 and SMTP in ...
by mattg
2019-03-17 01:06
Forum: General discussions
Topic: Thunderbird and POP
Replies: 8
Views: 763

Re: Thunderbird and POP

In thunderbird you need to set the user in the form of 'account@example.com', by default it is just 'account'
by mattg
2019-03-15 08:23
Forum: General discussions
Topic: Where numerous spam?
Replies: 2
Views: 521

Re: Where numerous spam?

run this and post the results
viewtopic.php?f=20&t=30914
by mattg
2019-03-15 08:18
Forum: General discussions
Topic: Mail sending to external addresses stopped working.
Replies: 6
Views: 705

Re: Mail sending to external addresses stopped working.

bind to local address should actually be blank, unless you have reason to change it

The default is blank
by mattg
2019-03-15 05:15
Forum: Off-topic discussions
Topic: WOrdpress attack last few days
Replies: 8
Views: 1058

Re: WOrdpress attack last few days

I wouldn't agree that a WP core install is secure.
However WP is far easier to protect than Drupal or ... just about anything else.

No-one is getting through, but they are trying, and from thousands of IP addresses, each one getting banned as they try and fail to log on.
by mattg
2019-03-15 02:50
Forum: Off-topic discussions
Topic: WOrdpress attack last few days
Replies: 8
Views: 1058

Re: WOrdpress attack last few days

Just a quick followup - I am still getting dozens of attempts per day, for the same domain, and few here and there for a couple of other domains.

It's been, what, six weeks of this rubbish now.
by mattg
2019-03-15 01:36
Forum: User contributed hMailServer 5 scripts
Topic: Dynamic Black/Whitelists in your script.
Replies: 36
Views: 2770

Re: Dynamic Black/Whitelists in your script.

So those who allow spam bots on their networks don't like to be spammed by bots... :shock:
by mattg
2019-03-15 01:34
Forum: General discussions
Topic: SMTP error with Iphone
Replies: 5
Views: 583

Re: SMTP error with Iphone

I don't have any issues with iPhones & email
I only use IMAP, and only use SSL
by mattg
2019-03-14 03:45
Forum: User contributed hMailServer 5 scripts
Topic: Dynamic Black/Whitelists in your script.
Replies: 36
Views: 2770

Re: Dynamic Black/Whitelists in your script.

nice

I think I shall play with that concept
by mattg
2019-03-14 03:42
Forum: Scripting
Topic: Custom POP3 authentication
Replies: 6
Views: 467

Re: Custom POP3 authentication

Have you set any AD integration in hMailserver?
It is pretty limited but you link a hMailserver account to a single AD user
by mattg
2019-03-14 03:38
Forum: General discussions
Topic: Hmail Accounts (Email Address)
Replies: 1
Views: 447

Re: Hmail Accounts (Email Address)

Run this and post the results
viewtopic.php?f=20&t=30914
by mattg
2019-03-14 03:35
Forum: General discussions
Topic: Exchange online account to hMailServer accout with SSL/TLS
Replies: 1
Views: 435

Re: Exchange online account to hMailServer accout with SSL/TLS

"DEBUG"2472"2019-03-13 14:55:46.552""Performing SSL/TLS handshake for session 1899. Verify certificate: False" That is NOT an error That is saying that the certificate was NOT attempted to be verified, because certificates are rarely verified because in the real world MANY certificates would fail I...
by mattg
2019-03-12 01:40
Forum: Scripting
Topic: Dynamic SMTP Relay
Replies: 5
Views: 442

Re: Dynamic SMTP Relay

...but which of these two delivery events - OnDeliveryStart or OnDeliveryMessage should I be targeting? Any idea what's the difference between them? The documentation isn't too clear on this. The order in which they are triggered https://www.hmailserver.com/documentation/latest/?page=reference_scri...
by mattg
2019-03-12 01:31
Forum: General discussions
Topic: hMailserver: Secure with letsencrypt SMTP SetUP - Trusted Cert Issue
Replies: 7
Views: 722

Re: hMailserver: Secure with letsencrypt SMTP SetUP - Trusted Cert Issue

2) Placed the hash named CA and intermediate in to the \externals\cs folder Why did you do that? Use the chained cert instead of the cert that you have used ...and i Want to Autoban some special spammer Chinese and Russian and north african Do you have SpamAssassin set up? You could also use zz.cou...