Search found 19513 matches

by mattg
2019-04-16 03:18
Forum: Scripting
Topic: Save all EML no users
Replies: 23
Views: 926

Re: Save all EML no users

Try two separate rules, rather than adding to the existing rule.

Depends on what your rule does, it may actually make a copy of the message, and then delete one or the other not both.

Enable debug logging, it will show which rules fire, and what actions are taken
by mattg
2019-04-15 15:53
Forum: General discussions
Topic: php mail admin
Replies: 1
Views: 59

Re: php mail admin

That doesn't sound like the right file

Can you show the top 20 lines of your D:\InetPub\wwwroot\WebAdmin\index.php
by mattg
2019-04-15 12:23
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

So may be an issue with a hMailserver that runs IPv6?

Ipv6 doesn't use NAT
by mattg
2019-04-15 08:48
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

Again Unsure how this could be sent from another hmailserver machine though unless you install hmailadmin on another LAN machine as SorenR has done I don't believe for a second that being able to send from your server without AUTH, or even from a known LAN install when you have specifically allowed ...
by mattg
2019-04-15 08:40
Forum: General discussions
Topic: SSL/TLS cert for multiple domains?
Replies: 5
Views: 106

Re: SSL/TLS cert for multiple domains?

Or is TLS support in SMTP (and IMAP) specifically designed to facilitate only encryption, and not authentication? Correct You need a cert that matches the 'local host name' in SMTP >> Delivery of email and that is it. Ideally your domains should each point to the same FQDN as an MX record, and your...
by mattg
2019-04-14 12:26
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

I just did this in VBS on my server dim hm Set hm = CreateObject("hMailServer.Message") hm.From = "President" hm.FromAddress = "president@whitehouse.com" hm.Body = "Test sending" & vbCrLf hm.subject = "Test Subject" Call hm.AddRecipient ("MattG", "mygmailaddress@gmail.com") hm.Save And it sent. Ther...
by mattg
2019-04-14 12:14
Forum: Development & alpha discussions
Topic: hMailServer.Message Object
Replies: 28
Views: 302

Re: hMailServer.Message Object

The hmailserver object ONLY exists on the server, or on another machine with the hMailserver server installed

Your script is not VBS
What language is it??
by mattg
2019-04-13 01:41
Forum: Feature requests
Topic: Proxy protocol support
Replies: 1
Views: 130

Re: Proxy protocol support

Can you add a poll question please

Also, this doesn't appear to have RFC endorsement, and as such is unlikely to be added to hMailserver.

hMailserver is open source though, the source is on github
by mattg
2019-04-13 01:38
Forum: General discussions
Topic: You are only allowed to send from your own account
Replies: 30
Views: 1165

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

Just to be clear The default is 'My Computer' + 'Internet' With my Computer being 127.0.0.1 to 127.0.0.1 with a priority of 15 Internet is 0.0.0.0 to 255.255.255.255 with a priority of 10 This can be achieved by pressing the 'default' button on the IP ranges page If you have anything else listed the...
by mattg
2019-04-11 12:23
Forum: General discussions
Topic: Public IMAP Folder don't show moved messages
Replies: 15
Views: 217

Re: Public IMAP Folder don't show moved messages

I have similar trouble with some text only messages - they just don't show in a mail client My text messages are all auto generated on remote servers, and I check the message content for specific text. These are logs and I look for words like 'error' in the text, I also check dates of log entries et...
by mattg
2019-04-11 12:16
Forum: General discussions
Topic: Import Allowed IP Addresses
Replies: 3
Views: 104

Re: Import Allowed IP Addresses

Easy enough with a a script... How is your VBS?? https://www.hmailserver.com/documentation/latest/?page=com_object_securityranges As an example here is my autoban script Sub AutobanIP(IPAddress, NumberOfDays, ReasonForBan) Dim oApp Set oApp = CreateObject("hMailServer.Application") ' Give this scrip...
by mattg
2019-04-10 08:55
Forum: General discussions
Topic: HMailServer Administrator can't connect with an error from machine localhost due to the following error: 80070433
Replies: 32
Views: 866

Re: HMailServer Administrator can't connect with an error from machine localhost due to the following error: 80070433

in the event log: "The hMailServer service depends on the following service: wampmysqld. This service might not be installed. " And as best I can tell, there is no such service, but ALL my other Wamp Services are running just fine. Is there some Wamp config parm that I need to set to get "wampmysql...
by mattg
2019-04-10 08:51
Forum: General discussions
Topic: SMTP Auth Issue with Server!
Replies: 2
Views: 103

Re: SMTP Auth Issue with Server!

EDIT: I just noticed that the AUTH login are different! How can this be? I'm using the same user account! the first one is - hthnl01-vac@hawxxxxxxx.com The one that fails is - hawxxxxxxxl.com\hthnl01-vac The one that fails seems to have the domain first and the account second, also no @ symbol, but...
by mattg
2019-04-09 15:12
Forum: General discussions
Topic: HMailServer Administrator can't connect with an error from machine localhost due to the following error: 80070433
Replies: 32
Views: 866

Re: HMailServer Administrator can't connect with an error from machine localhost due to the following error: 80070433

davidshot wrote:
2019-04-09 12:40
In both cases, there was no visible sign of failure .. and nothing in the /Logs directory
Windows event logs is next step to check
by mattg
2019-04-09 04:39
Forum: General discussions
Topic: Can more than one return value be entered when configuring external AV?
Replies: 4
Views: 117

Re: Can more than one return value be entered when configuring external AV?

The admin GUI only allows numeric characters, and so the answer is no, you can't check for multiple values

Can you get around this by not getting McA FEE to not clean or repair, and just quarantine
by mattg
2019-04-09 03:19
Forum: General discussions
Topic: My server is sending SPAM - HOW
Replies: 10
Views: 187

Re: My server is sending SPAM - HOW

Your whitelist includes this 213.233.112.234 to 255.255.255.255 That skips a whole lot of IP addresses from AntiSPam Checking You have a default domain set - you should consider turning that off You don't have debug logging enabled, but you include debug lines in your logs - something doesn't add up...
by mattg
2019-04-08 23:25
Forum: General discussions
Topic: Invalid CSRF token error when logging in to PHPWebAdmin
Replies: 5
Views: 162

Re: Invalid CSRF token error when logging in to PHPWebAdmin

What webserver do you run phpWebAdmin from? Is this the same machine that runs hMailserver?
by mattg
2019-04-08 09:03
Forum: General discussions
Topic: Invalid CSRF token error when logging in to PHPWebAdmin
Replies: 5
Views: 162

Re: Invalid CSRF token error when logging in to PHPWebAdmin

simply clear browser cache and try again (or with another browser).
by mattg
2019-04-05 01:47
Forum: Scripting
Topic: Auto-Ban Scripting
Replies: 2
Views: 196

Re: Auto-Ban Scripting

sunartwork wrote:
2019-04-04 16:52
is there an event started on auto-ban?
no sorry

Nice idea though
by mattg
2019-04-05 01:42
Forum: General discussions
Topic: Sizing Hardware
Replies: 2
Views: 183

Re: Sizing Hardware

Depends on what else the machine does, but that would handle the load easily. I have a Windows 10 VM, with 4GB Ram, 1 shared vCPU with 4 cores that handles the 100 or so accounts that I Host easily. Not all are IMAP though, and IMAP uses extra resources. My Hmailserver.exe is currently sitting on un...
by mattg
2019-04-04 02:39
Forum: General discussions
Topic: Server is being attacked
Replies: 4
Views: 306

Re: Server is being attacked

vectorrx7 wrote:
2019-04-03 19:07
I would normally but this server isn't running an SSL.
And let me add that SSL will NOT stop these hacking attempts

It will not even slow them down.
Read this post for some scary bedtime reading >> viewtopic.php?f=7&t=33713&p=210546&hili ... 65#p210546
by mattg
2019-04-04 02:32
Forum: General discussions
Topic: SSL Errors "No start line"
Replies: 1
Views: 163

Re: SSL Errors "No start line"

Your private key should start with a line

-----BEGIN PRIVATE KEY-----

and end with a line

-----END PRIVATE KEY-----


The bit in the middle is the key, but you ALSO need to these two lines
by mattg
2019-04-03 10:09
Forum: Scripting
Topic: Copy oMessage to IMAP Folder
Replies: 16
Views: 423

Re: Copy oMessage to IMAP Folder

You can probably just 'add receipient' and save the message early in the journey through your server, somewhere like 'OnAcceptMessage'
by mattg
2019-04-03 10:07
Forum: General discussions
Topic: ERROR: MX records for local domain joecontirc.com could not be resolved
Replies: 35
Views: 1384

Re: ERROR: MX records for local domain joecontirc.com could not be resolved

Do |I need the SMTP as a prefix on my domain name? can I stick to simple joecontirc.com everywhere? That sort of thing is normal Some people use mail.example.com or mx.example.com or smtp.example.com It really doesn't matter as long as the IP address in the matching DNS record is your public IP add...
by mattg
2019-04-03 05:54
Forum: Scripting
Topic: Save all EML no users
Replies: 23
Views: 926

Re: Save all EML no users

Documents as in attachments? Does that have any impact in getting the EML file saved in a specified folder? I guess the question is do you want the email, or do you want the attachments saved to a set directory. I save attachments sent from fax servers to a specific directory, for 'pickup' in anoth...
by mattg
2019-04-03 05:51
Forum: General discussions
Topic: ERROR: MX records for local domain joecontirc.com could not be resolved
Replies: 35
Views: 1384

Re: ERROR: MX records for local domain joecontirc.com could not be resolved

Joe Conti RC wrote:
2019-04-02 17:50
This is my MX search result. All seems to be ok with the MX record now. Fixed this at Network Solutions .. in my account settings.

A 92.251.87.224
MX 10 smtp.joecontirc.com.
smtp.joecontirc.com doesn't have a DNS entry
https://gwhois.org/smtp.joecontirc.com+dns
by mattg
2019-04-02 16:41
Forum: Scripting
Topic: Save all EML no users
Replies: 23
Views: 926

Re: Save all EML no users

can you please include all of your eventhandlers.vbs, so that we can see which is line 22

Remember to remove your password
by mattg
2019-04-02 11:27
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 1819

Re: Need help for sending mal in local network

Just wondering how then your laptop worked from outside the network...
by mattg
2019-04-02 11:25
Forum: General discussions
Topic: Moving many messages between IMAP folders = duplicate hell
Replies: 27
Views: 7487

Re: Moving many messages between IMAP folders = duplicate hell

shapeshifter910 wrote:
2019-04-02 04:35
It's a software fault and it's gotta be hmail,
so you've tested other MTAs on the same hardware..?
by mattg
2019-04-02 02:43
Forum: General discussions
Topic: Priority on certain mail messages
Replies: 8
Views: 485

Re: Priority on certain mail messages

jimimaseye wrote:
2019-04-01 23:57
Nope
Would like to hear that again?
Ask the same question using different words, still get the same answer
by mattg
2019-04-02 02:41
Forum: Scripting
Topic: Save all EML no users
Replies: 23
Views: 926

Re: Save all EML no users

Perhaps something like this (not tested) Function SaveMessage(oMessage) dim oApp, OBJoutfile, FSO Set oApp = CreateObject("hMailServer.Application") ' Give this script permission to access all ' hMailServer settings. Call oApp.Authenticate("Administrator", "TopSecretPassword") Set FSO = CreateObject...
by mattg
2019-04-01 06:27
Forum: General discussions
Topic: Configure hMailServer To Make And Accept IPv6 Connections
Replies: 6
Views: 412

Re: Configure hMailServer To Make And Accept IPv6 Connections

3. My understanding is that IPv6 Email Servers connecting to my hMailServer will be using a DNS MX Query of my hostname which will only resolve to an IPv4 Address and hence the connection will be made through my RT-AC5300 Router as a connection to an IPv4 Address though an IPv6 Email Server would h...
by mattg
2019-04-01 01:20
Forum: General discussions
Topic: Configure hMailServer To Make And Accept IPv6 Connections
Replies: 6
Views: 412

Re: Configure hMailServer To Make And Accept IPv6 Connections

2. To make and accept IPv6 Address connections I believe the configuration should be as follows: a. Set up an IP Range for Internet (IPv6) with the IP Range being from 0000:0000:0000:0000:0000:0000:0000:0000 to ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff Actually :: to ffff:ffff:ffff:ffff:ffff:ffff:fff...
by mattg
2019-03-31 12:45
Forum: General discussions
Topic: Migration from disk c: to d:
Replies: 1
Views: 320

Re: Migration from disk c: to d:

Run the internal diagnostics and post the results, especially the section that says 'Test Message file locations' if it says 'Relative message paths are stored in the database for all messages' then this will be fairly easy. Just copy the 'data directory' from C: to D:, and then modify the hMailserv...
by mattg
2019-03-31 01:16
Forum: Scripting
Topic: Save all EML no users
Replies: 23
Views: 926

Re: Save all EML no users

adrianp wrote:
2019-03-30 15:03
I'd like to have all emails that make it through saved to a single folder as an EML file.
That can't happen with hMailserver, unless you specifically script it
by mattg
2019-03-31 01:13
Forum: General discussions
Topic: ERROR: MX records for local domain joecontirc.com could not be resolved
Replies: 35
Views: 1384

Re: ERROR: MX records for local domain joecontirc.com could not be resolved

This is a problem IP: 0.0.0.0 - 255.255.255.255 Priority: 10 Name: Internet Allow connections Other SMTP: True Antispam : True !! 'Spam tests' not enabled !! POP3: True Antivirus: True !! ANTIVIRUS NOT CONFIGURED !! IMAP: True SSL/TLS: False Allow Deliveries from Require Authentication from Local To...
by mattg
2019-03-31 01:09
Forum: General discussions
Topic: Can't send to external domains
Replies: 5
Views: 494

Re: Can't send to external domains

I think that the SMTP Relayer that you have set up points to 192.168.1.20 either in your local DNS or in your hosts file
by mattg
2019-03-29 03:56
Forum: Scripting
Topic: Simple rule is not working
Replies: 89
Views: 3133

Re: Simple rule is not working

I just learned something

I had to test it myself to be sure - but that is correct.
by mattg
2019-03-29 02:26
Forum: General discussions
Topic: Moving many messages between IMAP folders = duplicate hell
Replies: 27
Views: 7487

Re: Moving many messages between IMAP folders = duplicate hell

Even deleting more than a few hundred emails will time out hmailserver and the emails come back again. Not for me Not ever Have you set timeout options for IMAP and POP3 in your hMailserver.ini I think these still work - and no there is no documentation other then what is shown below [settings] ;**...
by mattg
2019-03-28 11:11
Forum: Feature requests
Topic: Bind to Local Ip Address per domain
Replies: 1
Views: 377

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: 3133

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: 8922

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: 371

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: 1165

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: 1165

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: 1819

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: 1819

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: 588

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: 744

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: 730

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: 730

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: 744

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: 744

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: 3133

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
'企业管理资料'