Search found 59 matches

by Virinum
2020-04-02 16:13
Forum: General discussions
Topic: Help with installing certificate
Replies: 5
Views: 195

Re: Help with installing certificate

I'm glad I could help. Let me add a few thing: After you have the certificate generated, you'll get a certificate public key, and a private key. You get a certificate, not just a public key. So you get a certificate, an intermediate certificate and a private key. Your certificate file sould include ...
by Virinum
2020-04-02 11:47
Forum: General discussions
Topic: Allow only know email-addresse sending emails
Replies: 3
Views: 79

Re: Allow only know email-addresse sending emails

You're welcome. :)

Have a nice day, too.
Jens
by Virinum
2020-04-02 07:17
Forum: General discussions
Topic: Suggestions on migrating from own server to paid
Replies: 3
Views: 66

Re: Suggestions on migrating from own server to paid

Or search for "imapsync". I really like https://imapsync.lamiral.info/
Downloadable at https://imapsync.lamiral.info/dist/

In another forum I’ve read a lot about https://mailbox.org/
I don’t have any personal experience with this provider.
by Virinum
2020-04-01 07:27
Forum: General discussions
Topic: Help with installing certificate
Replies: 5
Views: 195

Re: Help with installing certificate

I think you used the certificate from cloudflare which is used when you use cloudflare in proxy-mode. It's just meant for your webserver. So Cloudflare can be sure it’s your server when it’s connecting to your webserver. For mailserver (or any other purpose) it’s not a good choice because it’s not t...
by Virinum
2020-03-31 15:46
Forum: General discussions
Topic: t-online reject with "Remote server replied: 554 IP=5.44.107.42 - A problem occurred. ..."
Replies: 9
Views: 119

Re: t-online reject with "Remote server replied: 554 IP=5.44.107.42 - A problem occurred. ..."

But you have set a PTR record (reverse IP), right? I've learned one thing when communicating with microsoft because they've blocked the whole subnet of my IP again: be persistent. So they are saying your IP hasn't sent an email to them within one year? And you're sure you did? Then write them back a...
by Virinum
2020-03-30 22:38
Forum: General discussions
Topic: t-online reject with "Remote server replied: 554 IP=5.44.107.42 - A problem occurred. ..."
Replies: 9
Views: 119

Re: t-online reject with "Remote server replied: 554 IP=5.44.107.42 - A problem occurred. ..."

It would help if you could provide the full error message.

But the guys of T-Online.de are very helpful (unlike Microsoft). Just write them: https://postmaster.t-online.de/kontakt.php
by Virinum
2020-03-24 08:02
Forum: General discussions
Topic: ERROR MSG BOUNCES FROM OUTLOOK/HOTMAIL.COM
Replies: 5
Views: 205

Re: ERROR MSG BOUNCES FROM OUTLOOK/HOTMAIL.COM

I also have this problem every few months. Try this form: https://support.microsoft.com/en-us/supportrequestform/8ad563e3-288e-2a61-8122-3ba03d6b8d75 You have to answer a few times until they unblock your IP. My ISP was never very helpful when I contacted them on this issue. I always had to solve th...
by Virinum
2020-03-23 07:51
Forum: General discussions
Topic: SSL Fails for some
Replies: 5
Views: 273

Re: SSL Fails for some

The root certificate has to be in the trusted store of the client. Otherwise it’s not valid for the client. In that case you can send as many certificates as you want, it won’t get valid. All intermediate certificates definitely should be included because not all clients have them in their local sto...
by Virinum
2020-03-22 19:25
Forum: General discussions
Topic: Roundcubemail 1.4.3
Replies: 6
Views: 220

Re: Roundcubemail 1.4.3

Maybe the X-Frame-Options header. Is it set to deny?
by Virinum
2020-03-22 19:21
Forum: General discussions
Topic: SSL Fails for some
Replies: 5
Views: 273

Re: SSL Fails for some

You don't need to include the root certificate. The intermediate certificate is enough.
by Virinum
2020-03-11 07:53
Forum: General discussions
Topic: forwarding messages, only few forwarded
Replies: 15
Views: 1125

Re: forwarding messages, only few forwarded

You should escape the dots. Dot means any character in regex. E.g. a@b\.com
Not absolutely necessary but a clearer expression.
by Virinum
2020-02-21 12:19
Forum: General discussions
Topic: Requested action not taken: mailbox unavailable or not local.
Replies: 9
Views: 2253

Re: Requested action not taken: mailbox unavailable or not local.

I'm waiting for the publication of dns, but I can already create in subdomains, only in the main domain I can't. What do you mean with "only in the main domain I can't"? What's not working? can anyone tell me if it is mandatory to have hmailserver as on a server with a domain controller? No, any pu...
by Virinum
2020-02-18 07:43
Forum: General discussions
Topic: Requested action not taken: mailbox unavailable or not local.
Replies: 9
Views: 2253

Re: Requested action not taken: mailbox unavailable or not local.

You can test with this website if your records are set correctly: https://mxtoolbox.com/
by Virinum
2020-02-02 02:38
Forum: General discussions
Topic: Database setup failing on Windows 10 pro Install
Replies: 9
Views: 3196

Re: Database setup failing on Windows 10 pro Install

EzPcc wrote:
2020-02-02 01:06
Just thinking since I want to user MySql do I need to install it first? Thanks in advance for your help.
Have you installed MySQL at all? Because hMailServer won’t do that for you.
by Virinum
2020-02-01 12:44
Forum: General discussions
Topic: Empty files in data folder
Replies: 7
Views: 3202

Re: Empty files in data folder

Since around two years my system is working like a charm with around 20.000 processed messages. This is the first time this happened.
Ok, than I will not worry too much about this and delete the files.

Thank you for your assessment!
by Virinum
2020-02-01 11:32
Forum: General discussions
Topic: Empty files in data folder
Replies: 7
Views: 3202

Re: Empty files in data folder

Yes, I‘ve excluded the following directories:
C:\Program Files (x86)\hMailServer\Data
C:\Program Files (x86)\hMailServer\Temp
by Virinum
2020-01-31 19:44
Forum: General discussions
Topic: mails going to spam (gmail)
Replies: 2
Views: 2441

Re: mails going to spam (gmail)

Try to get a score of 10/10 here: https://www.mail-tester.com/

With that you can make sure you’ve set up everything correctly (SPF, DKIM, ...)

This was also part of the first steps I did with my own mailserver.
by Virinum
2020-01-31 10:29
Forum: General discussions
Topic: Empty files in data folder
Replies: 7
Views: 3202

Re: Empty files in data folder

Ok, thanks.
But why can't I see any SMTP events at this time in the logs?
by Virinum
2020-01-31 10:05
Forum: General discussions
Topic: Empty files in data folder
Replies: 7
Views: 3202

Empty files in data folder

Hi everyone! My data folder contains three empty files: {7DC95CFC-9342-4053-9D39-84FCC8F91101}.eml {C06AAE0C-1D7E-465E-9CB7-90102D1DE52D}.eml {CE9EF8CD-C44F-4CA5-9866-0641DAB81D36}.eml All with a creation date from yesterday. I checked the logs but there are no entries at the creation time of the fi...
by Virinum
2020-01-23 14:37
Forum: General discussions
Topic: hmailserver on windows 10
Replies: 11
Views: 2844

Re: hmailserver on windows 10

Currently your settings are saying: Someone wants to send you an email: You first need to authenticate Someone wants to send an mail from your server: Here you go It has to be the other way round. Everyone (external) should be allowed to send you (local) an email. But no one should be allowed to sen...
by Virinum
2019-12-18 17:23
Forum: General discussions
Topic: Wildcard SSL is not working
Replies: 11
Views: 914

Re: Wildcard SSL is not working

Its good to know, although I don't think it has a lot of bearing on hmailserver since win-acme automated renewals create new certs and keys with the same file names as the old ones in the same location. So when hmailserver restarts (reloads the cert/key) it doesn't even know or care that the cert/k...
by Virinum
2019-12-18 17:02
Forum: General discussions
Topic: Wildcard SSL is not working
Replies: 11
Views: 914

Re: Wildcard SSL is not working

You don't need a new key every time you create a new certificate. You can reuse the old key. That's what I'm doing because of my TLSA record for DANE. For letsencrypt I'm using win-acme (https://github.com/PKISharp/win-acme). And win-acme has the flag "--reuse-privatekey". See here: https://github.c...
by Virinum
2019-11-18 09:55
Forum: General discussions
Topic: Refetch remaining POP3 Mails from external account
Replies: 7
Views: 745

Re: Refetch remaining POP3 Mails from external account

I've just tested a simpler way. Delete the external account and recreate it. All entries in the table "hm_fetchaccounts_uids" will be deleted for the external account you delete. After recreating the external account, all messages get fetched again. I think it's a much better way than manipulating t...
by Virinum
2019-11-17 15:53
Forum: General discussions
Topic: Refetch remaining POP3 Mails from external account
Replies: 7
Views: 745

Re: Refetch remaining POP3 Mails from external account

You could also delete the entries in the database table "hm_fetchaccounts_uids". Then all messages get fetched again.
by Virinum
2019-11-14 09:46
Forum: General discussions
Topic: hMail server not sending mails to external domain
Replies: 5
Views: 711

Re: hMail server not sending mails to external domain

No wonder that you've been listed No, that's not the reason. See the description about Spamhaus PBL: The Spamhaus Policy Block List ("PBL") is an international anti-spam system maintained by The Spamhaus Project in conjunction with Internet Service Providers and is used by Internet networks to enfo...
by Virinum
2019-11-14 07:45
Forum: General discussions
Topic: hMail server not sending mails to external domain
Replies: 5
Views: 711

Re: hMail server not sending mails to external domain

Your IP is not allowed to send mails „direct-to-mx“: https://www.spamhaus.org/pbl/query/PBL505694 You have to use a relay server. But don’t enter your own server. That doesn’t make sense. Google for „mail relay server“. Or you could try a delisting at Spamhaus. But I think there are good reasons why...
by Virinum
2019-11-04 07:48
Forum: General discussions
Topic: [help] clients can't detect hmail server !!
Replies: 5
Views: 757

Re: [help] clients can't detect hmail server !!

Have you checked the firewall of the machine hosting hmailserver?
by Virinum
2019-10-08 08:42
Forum: General discussions
Topic: Google Calendar: 530 SMTP authentication is required.
Replies: 3
Views: 1141

Re: Google Calendar: 530 SMTP authentication is required.

I already saw a few times that external servers were sending a local address in FROM. I think Google Calendar was one of them. That's the reason why I disabled "Local to local e-mail addresses" under "Require SMTP authentication". I also checked this behavior against the mailserver of my previous ho...
by Virinum
2019-07-12 09:25
Forum: General discussions
Topic: DKIM Public Key is Always Too Long
Replies: 1
Views: 512

Re: DKIM Public Key is Always Too Long

Your key has whitespaces in it. So there is something wrong with it.
by Virinum
2019-04-08 20:04
Forum: General discussions
Topic: My server is sending SPAM - HOW
Replies: 10
Views: 1725

Re: My server is sending SPAM - HOW

You allow EVERYONE to send from a Domain which is not configured in your hMailServer to any other domain!

Please disable external to external e-mail addresses completely in Internet!

Like this:
screenshot.PNG
screenshot.PNG (5.58 KiB) Viewed 1717 times
by Virinum
2019-04-05 13:34
Forum: General discussions
Topic: Outgoing mails stuck in delivery queue
Replies: 14
Views: 1893

Re: Outgoing mails stuck in delivery queue

What does your log say? C:\Program Files (x86)\hMailServer\Logs\hmailserver_2019-04-05.log
by Virinum
2019-04-05 09:25
Forum: General discussions
Topic: Moving many messages between IMAP folders = duplicate hell
Replies: 27
Views: 10611

Re: Moving many messages between IMAP folders = duplicate hell

Maybe an antivirus scanner is messing around with your email files?

My setup is using MariaDB (10.3.14) and it works like a charm. My VPS has 4 GB RAM and 2 vCores.
by Virinum
2019-03-27 10:00
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 5424

Re: Need help for sending mal in local network

Maybe an update could help. According to https://telekomhilft.telekom.de/t5/Geraete-Zubehoer/Implementierung-von-Hairpin-NAT-aka-NAT-Loopback/td-p/1045322 (German) an update helped to get NAT Loopback. Or just get a better router. E.g. Fritzbox. According to my experience speedports only cause probl...
by Virinum
2019-03-21 14:14
Forum: General discussions
Topic: Need help for sending mal in local network
Replies: 36
Views: 5424

Re: Need help for sending mal in local network

Speedports have an internal list of "save" mailservers.
See this link for more information (german): https://www.schnied.net/2014/04/27/tele ... il-server/
by Virinum
2019-01-09 20:32
Forum: General discussions
Topic: Forwarding to Gmail
Replies: 9
Views: 1462

Re: Forwarding to Gmail

My log says: 550-5.7.1 Unauthenticated email from dhl.com is not accepted due to domain's 550-5.7.1 DMARC policy. Please contact the administrator of dhl.com domain if 550-5.7.1 this was a legitimate mail. Please visit 550-5.7.1 https://support.google.com/mail/answer/2451690 to learn about the 550 5...
by Virinum
2019-01-09 16:54
Forum: General discussions
Topic: Forwarding to Gmail
Replies: 9
Views: 1462

Re: Forwarding to Gmail

I've the same problem with forwarding mails to gmail which came from @dhl.com originally. Their dmarc is causing this problem.
by Virinum
2018-12-13 07:51
Forum: General discussions
Topic: SSL - Gmail certificate Subject and hostname mismatch
Replies: 20
Views: 3307

Re: SSL - Gmail certificate Subject and hostname mismatch

I’ve created two (actually four because I also use IPv6) extra TCP/IP Ports: 1: SMTP / 127.0.0.1 / 587 / StartTLS (optional) 2: IMAP / 127.0.0.1 / 143 / StartTLS (optional) 3: SMTP / ::1 / 587 / StartTLS (optional) 4: IMAP / ::1 / 143 / StartTLS (optional) So localhost can use TLS but doesn’t have t...
by Virinum
2018-12-12 17:13
Forum: General discussions
Topic: SSL - Gmail certificate Subject and hostname mismatch
Replies: 20
Views: 3307

Re: SSL - Gmail certificate Subject and hostname mismatch

If I change the default POP3 and IMAP ports to StartTLS(Required) is it necessary to make any changes in the clients mail client? I'm not quite sure. I think it depends on the client. But chances are high it will work without changes. Why not StartTLS(Required) for the default SMTP port too? I know...
by Virinum
2018-12-12 09:50
Forum: General discussions
Topic: SSL - Gmail certificate Subject and hostname mismatch
Replies: 20
Views: 3307

Re: SSL - Gmail certificate Subject and hostname mismatch

Also you should include the chain certificate of letsencrypt. So the certificate chain is complete. This for sure. I'm not even sure you'll get anything to work properly without this. It would work on devices which have the intermediate certificate of letsencrypt in store. Here is the report I got ...
by Virinum
2018-12-11 23:34
Forum: General discussions
Topic: SSL - Gmail certificate Subject and hostname mismatch
Replies: 20
Views: 3307

Re: SSL - Gmail certificate Subject and hostname mismatch

Here the tools I use for testing: SMTP (Port 25, StartTLS) Mailserver to Mailserver: https://ssl-tools.net/mailservers IMAP/POP/SMTP for Clients (supports only SSL/TLS, not StartTLS): https://www.sslshopper.com/ssl-checker.html Enter something like smtp.example.com:465, pop.example.com:995 or imap.e...
by Virinum
2018-12-11 21:33
Forum: General discussions
Topic: SSL - Gmail certificate Subject and hostname mismatch
Replies: 20
Views: 3307

Re: SSL - Gmail certificate Subject and hostname mismatch

I recently tried to explain some examples with SSL: viewtopic.php?f=7&t=33198&p=208260#p208260
Maybe it helps you.

Also you should include the chain certificate of letsencrypt. So the certificate chain is complete.
by Virinum
2018-12-05 16:18
Forum: General discussions
Topic: config ip:port with ssl-certificates for each domains
Replies: 4
Views: 2971

Re: config ip:port with ssl-certificates for each domains

Hi! First of all you should check the table at the bottom of this page: https://www.hmailserver.com/documentation/latest/?page=howto_install SMTP 25 StartTLS (Optional) SMTP via SSL/TLS 465 SSL/TLS SMTP Submission 587 StartTLS (Required) POP3 110 StartTLS (Required) POP3 via SSL/TLS 995 SSL/TLS IMAP...
by Virinum
2018-12-05 16:06
Forum: General discussions
Topic: DKIM not signing domain alias senders
Replies: 15
Views: 4739

Re: DKIM not signing domain alias senders

As far as I know you can reuse certificates. The only thing that has to be the same is the selector.

e.g.
  • dkim._domainkey.domain1.com: v=DKIM1; k=rsa; p=123
  • dkim._domainkey.domain2.com: v=DKIM1; k=rsa; p=123
by Virinum
2018-12-05 07:41
Forum: General discussions
Topic: DKIM not signing domain alias senders
Replies: 15
Views: 4739

Re: DKIM not signing domain alias senders

I'm not a developer, too. But I think a checkbox with "Use DKIM-settings from primary domain" in the domain-alias section would be great. If checked the settings from the primary-domain would be used. The only thing the user would have to do is to provide the public DKIM-key-record in all alias-doma...
by Virinum
2018-12-03 22:22
Forum: General discussions
Topic: Failed to fetch messages in Inbox
Replies: 12
Views: 1751

Re: Failed to fetch messages in Inbox

I believe there is a Password complexity rule in place. Maybe a 3 char password is to small or you have a weird character in password which cannot be resolved. Passwords in logs are just ***. No matter how long the password is. When I added my mailbox account to the linked database through my own p...
by Virinum
2018-12-03 21:59
Forum: General discussions
Topic: iOS devices do not purge deleted mails
Replies: 12
Views: 2484

Re: iOS devices do not purge deleted mails

Unbelievable, restarting the hMailServer service was the solution! Thanks to all of you for helping! I'm glad it works now. But for the protocol here is what I've tested: 1. Send two test messages 2. Delete them from INBOX with an iPhone 3. Run the script Result: screenshot.png No restarting of the...
by Virinum
2018-12-02 23:12
Forum: General discussions
Topic: iOS devices do not purge deleted mails
Replies: 12
Views: 2484

Re: iOS devices do not purge deleted mails

I tested it in my staging environment, logging the ids of the messages to be deleted for a testaccount. I can see why you are looking into the database. But I would just use the COM API. Delete a message on an iOS-device and run the script below. You should see the subject of the message you just d...
by Virinum
2018-11-28 09:55
Forum: General discussions
Topic: How to setup SSL?
Replies: 28
Views: 4876

Re: How to setup SSL?

And "Verify certificate: False" is ok? Quote from the documentation https://www.hmailserver.com/documentation/latest/?page=reference_ssltls : During testing, you may want to disable certificate verification completely. To do this, de-select this option. Keeping certificate verification enabled in p...
by Virinum
2018-11-27 14:55
Forum: General discussions
Topic: What is hm_messagereceipients good for?
Replies: 5
Views: 1256

Re: What is hm_messagereceipients good for?

Ok, I'm beginning to understand. // If the message is placed into an account, there won't be any recipients // connected to it. If the message is still in the queue, we must delete the // recipients as well. if (pMessage->GetState() != Message::Delivered) { // Delete recipients. SQLCommand deleteCom...
by Virinum
2018-11-27 10:04
Forum: General discussions
Topic: What is hm_messagereceipients good for?
Replies: 5
Views: 1256

Re: What is hm_messagereceipients good for?

Thank you for your answers. But I don't get it. I know it's not for human eyes but I like to understand why there are entries in this table. I looked into the sourcecode and I found the place where entries are saved to the database. But I just don't understand why these entries get generated. messag...
by Virinum
2018-11-26 11:50
Forum: General discussions
Topic: need to configure SSL certificate
Replies: 7
Views: 1423

Re: need to configure SSL certificate

Here are the commands: Extract the private key from PFX: openssl pkcs12 -in filename.pfx -nocerts -out key.pem openssl will ask you two things: 1. Import Password: The password you got from your hosting company 2. PEM pass phrase: Use something you want. We will remove this in the next step. Remove ...
by Virinum
2018-11-26 11:26
Forum: General discussions
Topic: What is hm_messagereceipients good for?
Replies: 5
Views: 1256

What is hm_messagereceipients good for?

Hello!

I recently scrolled through the database of HM and asked myself "What is the table hm_messagereceipients good for?" There are a few entries but I can't see what they do and why they are there.

I would really appreciate it if someone could explain this table to me.

Thanks!
by Virinum
2018-11-26 11:15
Forum: General discussions
Topic: iOS devices do not purge deleted mails
Replies: 12
Views: 2484

Re: iOS devices do not purge deleted mails

Yes, iOS doesn't like to purge. I noticed that a mail is copied to trash when you delete it on an iOS-Device (like the most clients do). So you have this e-mail twice. One copy e.g. in INBOX (but with flag "deleted") and one copy in trash. I've wrote a script which runs weekly and deletes all messag...
by Virinum
2018-11-26 11:07
Forum: General discussions
Topic: need to configure SSL certificate
Replies: 7
Views: 1423

Re: need to configure SSL certificate

.pfx is a container format. You have to extract your certificate (e.g. into .pem) and the private key. OpenSSL should help you with this task. Just google for "get pem and key from pfx". Then you add your certfificate in HM (Settings -> Advanced -> SSL Certificates) and map it in TCP/IP ports (Setti...
by Virinum
2018-11-23 15:27
Forum: General discussions
Topic: Beste way to reload certificate files
Replies: 1
Views: 742

Beste way to reload certificate files

Hello! My certificates for hMailServer get renewed automatically. Because hMailServer doesn't recognise the new certificate files by itself, I have to say hMailServer to reload the files via script. My first way was to restart the hMailServer service: net stop "hMailServer" net start "hMailServer" T...