Search found 20895 matches

by mattg
2020-08-09 08:44
Forum: General discussions
Topic: Error installing hMailServer on Windows Server 2016
Replies: 1
Views: 12

Re: Error installing hMailServer on Windows Server 2016

Which version are you installing?

Which version of Server 2016 are you running?
Which virtualisation software are you using?
by mattg
2020-08-08 14:57
Forum: General discussions
Topic: [Beginner] Mail server not sending - auth problem?
Replies: 26
Views: 319

Re: [Beginner] Mail server not sending - auth problem?

My project is pretty big. I used your suggestion up until a year ago when it did work. But(!) Gmail limits me, as seen as a 1 person, to 50 mails per day (or was it 99?). This document says the limit is 2000 per day To put that in context , that is one EVERY 43.2 seconds https://support.google.com/...
by mattg
2020-08-08 14:52
Forum: General discussions
Topic: DDS: import mail of 90 MB in size fails
Replies: 7
Views: 73

Re: DDS: import mail of 90 MB in size fails

Voltaire wrote:
2020-08-07 15:47
... the first reason for skipping seems to be the size ...
But it could also be a time out

Have you tried setting the index as per that post


The other option is to open that ONE message in a mail client and forward it to where it needs to go
by mattg
2020-08-08 01:53
Forum: General discussions
Topic: Change to MySQL failed - now no access to mails
Replies: 8
Views: 118

Re: Change to MySQL failed - now no access to mails

Lot of stuff there You do need to use user name 'administrator' to log onto the hMailserver admin GUI as the administrator You CAN use any email address to log on- but then you get a limited view, like you do through the PHPWebAdmin Did you do a backup using the built in backup tools, before you rei...
by mattg
2020-08-08 01:40
Forum: General discussions
Topic: DDS: import mail of 90 MB in size fails
Replies: 7
Views: 73

Re: DDS: import mail of 90 MB in size fails

jimimaseye wrote:
2020-08-07 14:15
You might like this https://www.hmailserver.com/forum/viewt ... 21&t=29828
+1

Remarkable how fast that made it all happen
by mattg
2020-08-08 01:36
Forum: General discussions
Topic: SSL Verification error: unable to verify the first certificate
Replies: 3
Views: 64

Re: SSL Verification error: unable to verify the first certificate

iOS13 doesn't like self signed certificates

The fix is to use a professionally created certificate
I use Lets Encrypt (they are free) and they work well with iOS when you use the chained certificate
by mattg
2020-08-07 09:39
Forum: Scripting
Topic: how to reject for a given recipient when there are multiple recipients
Replies: 1
Views: 20

Re: how to reject for a given recipient when there are multiple recipients

Is this a local account or an external account If local, easiest to create an account rule If external, I'd copy the message to a new message, grab all recipients and remove the one you don't want to get the message, before adding them to the copied message read this thread >> https://www.hmailserve...
by mattg
2020-08-07 09:36
Forum: General discussions
Topic: Exception with Interop.hMailServer COM API on .net core 3.1
Replies: 2
Views: 42

Re: Exception with Interop.hMailServer COM API on .net core 3.1

What dot net versions do you have installed?

Add windows features, add Dot Net 3.5 (if not already done) and see if that fixes the issue
by mattg
2020-08-07 04:18
Forum: General discussions
Topic: [Beginner] Mail server not sending - auth problem?
Replies: 26
Views: 319

Re: [Beginner] Mail server not sending - auth problem?

You sound sensible like others. Is there any chance that you can guide me through, eg Google Hangouts, to make it start and work. All I want is a Java program (that works) to send an email to eg Gmail and for eg Gmail to accept the email. That is all. I can donate a bit of money for your time if th...
by mattg
2020-08-07 04:13
Forum: General discussions
Topic: Change to MySQL failed - now no access to mails
Replies: 8
Views: 118

Re: Change to MySQL failed - now no access to mails

. The folder structure can be considered as irrelevant (if it can be reestablished later on - even if manually). Data Directory Synchroniser https://www.hmailserver.com/documentation/latest/?page=userguide_dds ...but this is not obvious or even misleading if you only read the installer instructions...
by mattg
2020-08-06 16:27
Forum: General discussions
Topic: Change to MySQL failed - now no access to mails
Replies: 8
Views: 118

Re: Change to MySQL failed - now no access to mails

Btw: Data (7.75 GB) and Database (hMailServer.spf) are still there (with backup); but replacing hMailServer.ini with default values (or declaring database to a new installed instance with appropriate adaptions) does not help. THIS IS THE BIT YOU NEED Do you have a copy of the original hmailserver.i...
by mattg
2020-08-06 16:16
Forum: General discussions
Topic: SSL Verification error: unable to verify the first certificate
Replies: 3
Views: 64

Re: SSL Verification error: unable to verify the first certificate

Trying to get ssl working to achieve what exact purpose??

(I think that you are trying to do something other than what you meant to do with the description of WHAT you have done)
by mattg
2020-08-05 13:43
Forum: General discussions
Topic: [Beginner] Mail server not sending - auth problem?
Replies: 26
Views: 319

Re: [Beginner] Mail server not sending - auth problem?

I am clueless. I do not know what to do. All I want my server is to send e-mails to user and never get anything back... So you just want to spam the world and not get any feedback... please don't For clarity, that is 'please reconsider your desire to run any mail server' It would suit those of who ...
by mattg
2020-08-05 10:25
Forum: General discussions
Topic: [Beginner] Mail server not sending - auth problem?
Replies: 26
Views: 319

Re: [Beginner] Mail server not sending - auth problem?

2) Picked password "mailserver123". Gee, I hope you didn't - if so please change THAT ASAP (and don't tell the world what your password is) I am clueless. I do not know what to do. All I want my server is to send e-mails to user and never get anything back... So you just want to spam the world and ...
by mattg
2020-08-03 12:04
Forum: Feature requests
Topic: Running as a Windows Docker Container
Replies: 3
Views: 148

Re: Running as a Windows Docker Container

Having a quick look today, you need an enterprise version of docker to run up a windows system (on Server 2016), which costs almost a $1000 per annum.

Probably not going to be implemented by hMailserver anytime soon I'd guess
by mattg
2020-08-03 05:04
Forum: General discussions
Topic: Auto ban issues
Replies: 11
Views: 274

Re: Auto ban issues

and it is always intereasting whats inside Error: C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-08-02.log The way that this diagnostics works, that file doesn't exist, unless it says 'contains errors' after the file name n your TCP/IP Ports settings Yes, these should be 0.0.0.0 in ...
by mattg
2020-08-03 03:33
Forum: Development & alpha discussions
Topic: 5.7 + IPv6 Autoban
Replies: 7
Views: 268

Re: 5.7 + IPv6 Autoban

You mean this one that you wrote?? Is there that much difference except that I explicitly set no connections, and log? It's faster (I see you took out the record locking - that could be related to your MySQL errors), it only deals with the minimum required data and there is no search loop - why sea...
by mattg
2020-08-02 12:42
Forum: Development & alpha discussions
Topic: 5.7 + IPv6 Autoban
Replies: 7
Views: 268

Re: 5.7 + IPv6 Autoban

You mean this one that you wrote?? Is there that much difference except that I explicitly set no connections, and log? Function AutoBan(sIPAddress, sReason, iDuration, sType) : AutoBan = False ' ' sType can be one of the following; ' "yyyy" Year, "m" Month, "d" Day, "h" Hour, "n" Minute, "s" Second ...
by mattg
2020-08-02 04:34
Forum: Feature requests
Topic: Running as a Windows Docker Container
Replies: 3
Views: 148

Re: Running as a Windows Docker Container

Interesting concept - I'll look into that
by mattg
2020-08-01 02:22
Forum: Development & alpha discussions
Topic: 5.7 + IPv6 Autoban
Replies: 7
Views: 268

5.7 + IPv6 Autoban

I use this to manually autoban. It's called from many places Sub AutobanIP(IPAddress, NumberOfDays, ReasonForBan) 'custom event 'uses functions: 'uses globals: g_sAdminPassword EventLog.Write("Autoban IP Address started for IP = " & IPAddress & " For " & NumberofDays & " days for reason " & Reasonfo...
by mattg
2020-08-01 01:57
Forum: General discussions
Topic: Can't receive emails sent from website email form
Replies: 4
Views: 128

Re: Can't receive emails sent from website email form

so when you write: I cannot receive emails when they are sent from my website email form. They get stored in the hmailserver folder ' Pickup ' but are not delivered to the final recipient. are they sent (involving IIS smtp server)? or are they stored in a 'pickup folder' ( which is not read by hmai...
by mattg
2020-07-30 02:34
Forum: Scripting
Topic: Python script not running
Replies: 8
Views: 320

Re: Python script not running

Try adding some event logging to your hmailserver script

like
EventLog.Write(TempName)

just before the python script is called to make sure that the variables are set correctly
by mattg
2020-07-29 08:20
Forum: General discussions
Topic: Mails are not sent
Replies: 11
Views: 347

Re: Mails are not sent

Port 143 is IMAP, ie your mail client connecting to the server to RECEIVE mail

Port 587 (SMTP) is used to SEND mail from your client through the server to the world
by mattg
2020-07-28 16:51
Forum: Scripting
Topic: Python script not running
Replies: 8
Views: 320

Re: Python script not running

Press Windows start orb >> type 'services.msc' Open Services, scroll down to hMailserver Select hMailserver, then right click, and choose properties Select the 'log on' tab, and screen shot that, and post screenshot here Also show a screen shot of the properties >> Security, for the folder that has ...
by mattg
2020-07-28 16:40
Forum: General discussions
Topic: Log file all transaction show local ip
Replies: 1
Views: 87

Re: Log file all transaction show local ip

Anyone can tell me why all transaction show same local ip (192.168.0.254) in log file. Before can see sender ip. How can fix it? The device that is at 192.168.0.254 is likely your router / firewall, and NAT is not setup correctly on that device OR That device is doing some inspection of all mail tr...
by mattg
2020-07-28 04:00
Forum: Scripting
Topic: Script send email of a list every 20min
Replies: 5
Views: 1377

Re: Script send email of a list every 20min

Then change your PHP to limit how many messages it creates at a time
by mattg
2020-07-28 03:58
Forum: General discussions
Topic: Maximum Mailbox Size
Replies: 5
Views: 116

Re: Maximum Mailbox Size

Don't allow offline caching of messages (or limit that in Outlook to one month - the minimum), as offline caching can cause a lot of disk writing as mail gets moved between folders.

I personally have a few IMAP accounts that exceed 15GB and one that exceeds 20GB
by mattg
2020-07-27 02:27
Forum: General discussions
Topic: Gmail relay and connect to hmailserver not working?
Replies: 8
Views: 245

Re: Gmail relay and connect to hmailserver not working?

To get it to work without an account and domain... Also worth no domain setup, every delivery attempt will be external to external - which you have set to require authentication Make sure you ONLY enable external to external for for LAN ip range, not the internet IP range or you will be sending spam...
by mattg
2020-07-26 23:38
Forum: General discussions
Topic: Gmail relay and connect to hmailserver not working?
Replies: 8
Views: 245

Re: Gmail relay and connect to hmailserver not working?

AND

What is the contents of this log file??
C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-07-26.log
by mattg
2020-07-26 12:51
Forum: General discussions
Topic: SMTP Relayer Authentication Setup
Replies: 9
Views: 304

Re: SMTP Relayer Authentication Setup

To clarify, you are trying to SMTP forward to gMail using multiple gMail accounts, is that correct?

If so
Pertzis wrote:
2020-07-24 21:07
...but when I try to "Add another email address I own" on Gmail, it can't connect to my SMTP server.
Use routes + global rules
by mattg
2020-07-24 08:06
Forum: General discussions
Topic: not able to send mails and recieve mails
Replies: 21
Views: 640

Re: not able to send mails and recieve mails

Test: Test outbound port SMTP relayer is in use. Trying to connect to host 202.53.15.21... Trying to connect to TCP/IP address 202.53.15.21 on port 587. Received: 220 202.53.15.21 ESMTP. Connected successfully. This shows the SMTP relayer working Test: Test local connect Connecting to TCP/IP addres...
by mattg
2020-07-24 03:41
Forum: General discussions
Topic: not able to send mails and recieve mails
Replies: 21
Views: 640

Re: not able to send mails and recieve mails

outgoing mail to port 25 seems to be blocked ( your isp started blocking, or have always blocked .. ) Yes, by SMTP relayer is in use and will sort that ----------------------------------------------------------------------------------------------- TCPIP PORTS Connection Sec 0.0.0.0 / 25 / SMTP - No...
by mattg
2020-07-23 15:00
Forum: Scripting
Topic: Python script not running
Replies: 8
Views: 320

Re: Python script not running

Probably the user that the hMailserver WINDOWS SERVICE runs under doesn't have the permissions required to run your python

Perhaps change the user that the Windows Service runs under
by mattg
2020-07-23 14:59
Forum: General discussions
Topic: not able to send mails and recieve mails
Replies: 21
Views: 640

Re: not able to send mails and recieve mails

why are you whitelisting?

What is the contents of your error log
C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-07-23.log


Also run the internal diagnostics and post the results
by mattg
2020-07-23 14:55
Forum: General discussions
Topic: Mails are not sent
Replies: 11
Views: 347

Re: Mails are not sent

gtsolid wrote:
2020-07-23 09:09
Even using the direct IP of the hmailserver inside the LAN i'm not able to send mails
Does this log anything on your hMailserver?
by mattg
2020-07-20 14:18
Forum: General discussions
Topic: No subject No attachment after receive or send +1 MB
Replies: 5
Views: 374

Re: No subject No attachment after receive or send +1 MB

That's where hMailserver puts messages it can't handle

acetin wrote:
2020-07-20 10:02
mail not contain Subcject,body and attachment, just an empty mail
I suspect that is related
by mattg
2020-07-19 03:48
Forum: General discussions
Topic: Setting up hMailServer to send and receive email.
Replies: 4
Views: 321

Re: Setting up hMailServer to send and receive email.

Goliath wrote:
2020-07-17 15:23
I guess my last resort would be to get my ISP to somehow unblock that port.
I would start here, although they will often only do that for business class connections

Simply getting a static IP address from them may achieve this (this is what happens in Australia for around $10 extra per month)
by mattg
2020-07-17 02:09
Forum: General discussions
Topic: Setting up hMailServer to send and receive email.
Replies: 4
Views: 321

Re: Setting up hMailServer to send and receive email.

If I set up a relayer like my ISP' or Gmail's SMTP server and my login, I can send emails out. The second part of my question is once I can actually send and receive email to/from external domains, how would I secure the connection (SSL/TSL...)? I already have a SSL certificate for my web server (e...
by mattg
2020-07-16 15:50
Forum: General discussions
Topic: SMTP-Only Certain Domains?
Replies: 2
Views: 240

Re: SMTP-Only Certain Domains?

just creating the route is enough

no need for the global rule
by mattg
2020-07-15 23:22
Forum: User contributed hMailServer 5 scripts
Topic: Tool to migrate from Imail 8.15 to latest version of hmail
Replies: 7
Views: 277

Re: Tool to migrate from Imail 8.15 to latest version of hmail

I don't know of any recent work on this

IMAP transfer is still the best method
by mattg
2020-07-15 01:42
Forum: General discussions
Topic: Specify cipher order
Replies: 2
Views: 225

Re: Specify cipher order

I think that is a 'feature' of TLSv1.1 Upgrade to latest Beta, so that you can also use TLSv1.3 In my testing TLSv1.1 was rarely used, except by Windows machines that hadn't been updated to a) allow TLSv1.2 and b) prohibit the use of TLSv1.1 or lower. These would fall back to unencrypted if no ciphe...
by mattg
2020-07-15 01:34
Forum: General discussions
Topic: block outgoing mails to a certain domain
Replies: 2
Views: 181

Re: block outgoing mails to a certain domain

I'd catch them with a global rule and then delete them (optionally notifying the sender via a script)

I did something similar in this thread
https://www.hmailserver.com/forum/viewt ... =9&t=17190
Read the entire thread
by mattg
2020-07-14 10:59
Forum: General discussions
Topic: Can´t connect from clients to hmailserver when using SSL
Replies: 14
Views: 524

Re: Can´t connect from clients to hmailserver when using SSL

You could alternatively just copy the certificate files to your hMailserver machine each time that they change. Lets Encrypt change after 30 days so this can be a painful task when using lets encrypt And mattg, I can't resist razzing you a little about this. This is the second time I know of when y...
by mattg
2020-07-14 01:23
Forum: Scripting
Topic: Script send email of a list every 20min
Replies: 5
Views: 1377

Re: Script send email of a list every 20min

How is the mail generated?
by mattg
2020-07-14 01:22
Forum: General discussions
Topic: Can´t connect from clients to hmailserver when using SSL
Replies: 14
Views: 524

Re: Can´t connect from clients to hmailserver when using SSL

So the issue is with the certificate format even though they are already in *.pem format in Ubuntu Apache server. I use Ubuntu >> Lets Encrypt auto generated certificates in PEM format (I used to use Apache, but UPGRADED to Nginx earlier this year - no issues with either) I use UNC path to my Ubunt...
by mattg
2020-07-13 14:04
Forum: Scripting
Topic: script would check the first mx record and only if that is down, would open Port 25 on the backup server
Replies: 16
Views: 459

Re: script would check the first mx record and only if that is down, would open Port 25 on the backup server

You would need to run that script on the backup mx, and that would be independent of hMailserver

On Linux I would use 'monit' to do that
by mattg
2020-07-13 07:29
Forum: General discussions
Topic: Do messages in outbound queue check the mx record each time?
Replies: 2
Views: 198

Re: Do messages in outbound queue check the mx record each time?

yes, hmailserver requeries

Test this by using a host file entry
by mattg
2020-07-13 07:27
Forum: General discussions
Topic: Server issues (crash)
Replies: 9
Views: 451

Re: Server issues (crash)

Please run this and post the results
viewtopic.php?f=20&t=30914
by mattg
2020-07-11 06:48
Forum: General discussions
Topic: Minor problem with the smtp server name
Replies: 14
Views: 606

Re: Minor problem with the smtp server name

Although some sending servers WILL check the SSL certifciate name matches the rNDS Ok, that's new to me. I always tought only the hostname in the mx record is checked against the certificate. If you SMTP relay from hMailserver to another server that requires a secure connection and you have in SSL ...
by mattg
2020-07-10 08:07
Forum: General discussions
Topic: Minor problem with the smtp server name
Replies: 14
Views: 606

Re: Minor problem with the smtp server name

No sending mailserver will check if the rDNS is correct. Just a receiving mailserver will do that. Although some sending servers WILL check the SSL certifciate name matches the rNDS The OP doesn't state if they have a certificate or not ALSO, as stated by some above, very few receiving servers will...
by mattg
2020-07-10 07:57
Forum: General discussions
Topic: Server issues (crash)
Replies: 9
Views: 451

Re: Server issues (crash)

dvsatech wrote:
2020-07-03 06:05
My logs has 10 minidunps and 5 ERROR_ files.
There will only ever be the LAST 10 minidumps, older ones are deleted
There should be an error file EACH day

Where do you see the error that you report?

ALSO, what is the contents of the daily error logs?
by mattg
2020-07-10 07:42
Forum: General discussions
Topic: OutOfMemoryHandler - hMailServer has run out of memory
Replies: 12
Views: 541

Re: OutOfMemoryHandler - hMailServer has run out of memory

could also be a 32 bit vs 64 bit problem
by mattg
2020-07-10 07:38
Forum: General discussions
Topic: Message Indexing stuck
Replies: 2
Views: 367

Re: Message Indexing stuck

What is it stuck at?

Have you restarted the indexing to see if stops at the same place next time?
by mattg
2020-06-26 05:20
Forum: General discussions
Topic: emails get duplicated as per the number of recipient
Replies: 9
Views: 578

Re: emails get duplicated as per the number of recipient

Then the only way that they should get downloaded twice is if there is two copies
by mattg
2020-06-25 12:00
Forum: General discussions
Topic: emails get duplicated as per the number of recipient
Replies: 9
Views: 578

Re: emails get duplicated as per the number of recipient

If there is two messages on your external server, hmailserver will download two messages...

Does each account in hMailserver have their own external mailbox, or are you using one external mailbox with 'deliver to recipients in MIME headers' checked?