Search found 41 matches

by modiX
2016-10-26 03:27
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

- Fixed Text mails
- Added support for Outlook English (newer versions)
by modiX
2016-05-31 15:55
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

- Added support for AquaMail
by modiX
2016-03-19 23:09
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

- Added support for RainLoop (web mail client)
- Fixed a compatibility bug with Thunderbird
by modiX
2016-03-19 18:55
Forum: General discussions
Topic: One of our clients is unable to connect our IMAP server
Replies: 6
Views: 2082

Re: One of our clients is unable to connect our IMAP server

Finally, we wanted to repeat the login attempt and fetch the logs and now it works, magically.

While I'm happy this works now, I fear the magic of bugs, they might come back and I'm not aware of their cause ...
by modiX
2016-03-18 18:30
Forum: User-submitted tutorials
Topic: HOW TO: Easy Set Up DKIM signatures on Hmailserver
Replies: 31
Views: 33515

Re: HOW TO: Easy Set Up DKIM signatures on Hmailserver

You must have mistyped/misread/mishandled some of the data somehow and perhaps not set the dns record correctly. Let me know your domain so we can check. (Also, stop and restart your hmailserver service to be sure) Thank you for your PM. The DNS record was not stored correctly. Now it's working and...
by modiX
2016-03-17 22:14
Forum: User-submitted tutorials
Topic: HOW TO: Easy Set Up DKIM signatures on Hmailserver
Replies: 31
Views: 33515

Re: HOW TO: Easy Set Up DKIM signatures on Hmailserver

Ok I could not resist and tried this.

The dkim signature got attached, but in the top of the mail behind Authentication-Results it's not "dkim=pass", it's "dkim=permerror header.d=***.com".

What does this mean? The signature below looks right to me.
by modiX
2016-03-17 21:46
Forum: General discussions
Topic: How to encrypt the authentication on a STARTTLS mail server?
Replies: 12
Views: 3740

Re: How to encrypt the authentication on a STARTTLS mail server?

Thank you. Do you have dkim enabled? I posted an easy 'how to' yesterday in the tutorial section. That will at least go some way to ensuring your emails are not modified. And with spf and dmarc you can stop frauds being received altogether. (I acknowledge this doesn't stop your emails being snooped...
by modiX
2016-03-17 19:22
Forum: General discussions
Topic: How to encrypt the authentication on a STARTTLS mail server?
Replies: 12
Views: 3740

Re: How to encrypt the authentication on a STARTTLS mail server?

jimimaseye wrote:[...]
This is very valuable information, rich quality, easy understandable and well explained, you nailed it down for me.

Thank you very much!
by modiX
2016-03-17 16:35
Forum: General discussions
Topic: How to encrypt the authentication on a STARTTLS mail server?
Replies: 12
Views: 3740

Re: How to encrypt the authentication on a STARTTLS mail server?

AFAIK HMS doesnt support encrypted password (or any of the other type) and there is no way of implementing it with scripts or otherwise - and in fact very few email server/providers do offer this. With your connection security being stated as TLS/SSL anyway, the password will already be encrypted (...
by modiX
2016-03-17 11:49
Forum: General discussions
Topic: How to encrypt the authentication on a STARTTLS mail server?
Replies: 12
Views: 3740

Re: How to encrypt the authentication on a STARTTLS mail server?

Your initial request was about encrypting the password when sending it, right? Therefore it will be encrypted as this will be on the first hop (as will the emial contents). Someone shouldnt be able to snoop and see the password being sent. But that is where the encryption protection for this stage ...
by modiX
2016-03-17 11:30
Forum: General discussions
Topic: One of our clients is unable to connect our IMAP server
Replies: 6
Views: 2082

Re: One of our clients is unable to connect our IMAP server

Thanks for your fast responses. What does the SMTP and TCPIP logging in HMS say as time of connection? EDIT: sorry, I meant IMAP (not SMTP) I'm going to post a detailed log this evening with LogLevel=99. In addition to the hmailserver logs What connection security setting do you have for IMAP port 1...
by modiX
2016-03-17 11:05
Forum: General discussions
Topic: How to encrypt the authentication on a STARTTLS mail server?
Replies: 12
Views: 3740

Re: How to encrypt the authentication on a STARTTLS mail server?

THIS DOES NOT PROTECT EMAIL CONTENTS, only message level encryption will do that (PKI, PGP, MIME etc) Yes, I know that our mails are not save yet. I'm looking further to get S/MIME or PGP to run in a later step. You can't use encrypted in Thunderbird credentials. The password is not exchanged until...
by modiX
2016-03-17 00:12
Forum: General discussions
Topic: One of our clients is unable to connect our IMAP server
Replies: 6
Views: 2082

One of our clients is unable to connect our IMAP server

One of our clients cannot connect the IMAP server on Windows 7. I ended up testing this via TeamViewer with openSSL: https://dl.dropboxusercontent.com/u/55589036/Pictures/Other/SandraCannot%20ConnectToImapTLS.png After CONNECTED(000000EC) the server did not responed. OpenSSL reported the rest as soo...
by modiX
2016-03-16 22:32
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

- Optimized code based on jimimaseye post
- Added support for Thunderbird (German)
by modiX
2016-03-16 13:54
Forum: General discussions
Topic: How to encrypt the authentication on a STARTTLS mail server?
Replies: 12
Views: 3740

How to encrypt the authentication on a STARTTLS mail server?

So, I finally got everything to work on our hMailServer, including a valid certificate and key. Now my last security problem is the way our clients authenticate on SMTPS / IMAPS. I.e Thunderbird reports me, it's sending the login credentials "normal", instead of "encrypted" / "Kerberos / GSSAPI" or ...
by modiX
2016-03-15 16:26
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

Re: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

It's solved.

The problem on the client was I forgot to set the right ports in the additional settings:

Image


*happy*
by modiX
2016-03-15 15:55
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

Re: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

SMTPS is not on Port 443 (this is for HTTPS protocol) the correct and expected Port for SMTPS is 587 for IMAP its 143 and for SMTP to SMTP-Server comummication its Port 25. Embarrassing, I was a bit on the wrong scent, yesterday. :oops: Now I finally catch my first fault. I used "openssl s_client -...
by modiX
2016-03-14 23:37
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

Re: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

"DEBUG" 4836 "2016-03-13 21:24:21.340" " The read operation failed. Bytes transferred: 0 Remote IP: XXX.XXX.XXX.XXX, Session: 4, Code: 10054, Message: An existing connection was forcibly closed by the remote host" I checked the sources catch (boost::system::system_error error) { // We failed to sen...
by modiX
2016-03-14 22:50
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

Re: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

Does your hamilserver work without your SSL certificate loaded?? As soon as I select to use no certificate or simply connect to my non encrypted ports, everything works like charm. With a GeoTRUST certificate this shouldn't be an issue though... GeoTrust sent me a certificate that contains two sub ...
by modiX
2016-03-14 15:35
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

Re: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

HMailserver doesnt use the System crypto store at all, its using OpenSSL and you have to setup your CRT and Key file in the hMailserver ssl settings via the GUI Admin tool. So it does not matter what protocols (client and server), ciphers, hashes and key exchange algorithms I enabled in my registry...
by modiX
2016-03-14 10:57
Forum: General discussions
Topic: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.
Replies: 9
Views: 8175

Re: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

It is probably using SHA256 to encrypt the passwords in the database as that is the default I think unless you changed it. I don't think so. I disabled SHA and left SHA256 enabled, but the SQL Server stopped working. A bit outdated, M$ ... I think that Microsoft SQL Server will only accept a SSL co...
by modiX
2016-03-14 00:17
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

Re: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

Any hmailserver error log created? do you have smtp, pop or imap logging enabled in hMailserver? If not please enable them and show logs of a connection from your mail client Where did you get the certificate? Who supplied it? have you removed the password? I disabled POP3 completely. hMailServer h...
by modiX
2016-03-13 23:49
Forum: General discussions
Topic: SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports
Replies: 16
Views: 4273

SSL: Cannot login to IMAP and SMTP due unknown protocol, openssl reports

I finally managed to install my certificate from our CA on hMailServer. I configured port 993 (IMAP) and 143 (SMTP) to use the certificate and to use STARTTSL (required). I enabled all TLS versions and disabled some very weak ciphers on the local security policy in my Windows Server 2012 R2. My ciph...
by modiX
2016-03-13 22:45
Forum: General discussions
Topic: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.
Replies: 9
Views: 8175

Re: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

Ok, I disabled SHA hashing before the problem occured, so obviously hMailServer uses a SHA type cipher to connect to my local database. Now it's working again, however I don't want hMailServer to use SSL on the local database. Hope anybody knows a solution to this, but it's not an emergency, anymore...
by modiX
2016-03-13 22:40
Forum: General discussions
Topic: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.
Replies: 9
Views: 8175

Re: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

jimimaseye wrote:here you go: viewtopic.php?t=28960
Thanks for the link, but I miss the required information how to disable SSL between hMailServer and my SQL Server. :(
by modiX
2016-03-13 22:15
Forum: General discussions
Topic: ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.
Replies: 9
Views: 8175

ADO: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

After disabling some SSL ciphers I cannot connect the MSSQL-DB (2012 SP3) with hMailServer. [img]https://dl.dropboxusercontent.com/u/55589036/Pictures/Screenshots/20160313210958.png [/img] Here are my enabled SSL ciphers: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384, TLS_DHE_DSS_WITH_AES_256_CBC_SHA...
by modiX
2016-03-13 13:51
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

The username is the username of the account on hmailserver that they used to authenticate with. It doesnt matter where they are in the world, or what client they are using - they can only authenticate to hmailserver with hmailserver credentials (accounts). Therefore when authenticated, it will alwa...
by modiX
2016-03-13 13:44
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

In order to be universal and avoid the risk of 'forgetting' to add to your Array of domains any new domains that may be created, you could replace all the above and simply just use: If oClient.username <> "" then The idea being that if oClient.username is not "" then it must be authenticated, and t...
by modiX
2016-03-11 02:53
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

- Fixed the issue with Outlook 2003
- Handled appointment mails (only HTML mails will attach a signature)
by modiX
2016-03-09 14:48
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

Another update, the following emails are supported now: - HTML mails sent with Microsoft Outlook 2010 / 2016 - HTML mails sent with Microsoft Outlook Web App - HTML mails sent with Microsoft Mail for Windows 10 - HTML mails sent with Mozilla Thunderbird - TXT mails sent with Mozilla Thunderbird - HT...
by modiX
2016-03-08 13:40
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

I updated it again, so text mails from Thunderbird finally work. In the next updates I will include support for:
- Messages & Mail (iPhone)
- Mail for Windows 10
- Microsoft Outlook 2003
by modiX
2016-03-07 19:28
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Re: Email Signature Placement Script

- Added support for Mozilla Thunderbird
- Added support for text signatures (read the comments)
- Bugfixes
by modiX
2016-03-07 14:25
Forum: Off-topic discussions
Topic: I cannot edit my own post.
Replies: 9
Views: 2963

Re: I cannot edit my own post.

Done. (Although my experience is that few people follow on to links for code....especially when the section is in a SCRIPT section). Thank you very much. I think you are really right about that, but I don't want you to mess with that, because I might want to update it more than one time per day. Pe...
by modiX
2016-03-07 14:17
Forum: Off-topic discussions
Topic: I cannot edit my own post.
Replies: 9
Views: 2963

Re: I cannot edit my own post.

Please take another look. I went to the pastebin post: http://pastebin.com/BuqkuGFX, I clicked 'RAW' and copy and pasted that. However, (I now see) that RAW message is not the same as the pretty code shown on the initial screen. (Take a look for yourself) I have now done it with the code from the o...
by modiX
2016-03-07 13:48
Forum: Off-topic discussions
Topic: I cannot edit my own post.
Replies: 9
Views: 2963

Re: I cannot edit my own post.

jimimaseye wrote:Update done as requested.
Excuse me? No update has been made. The post is still the old one: viewtopic.php?f=20&t=29348&p=183853#p183853
by modiX
2016-03-07 13:20
Forum: Off-topic discussions
Topic: I cannot edit my own post.
Replies: 9
Views: 2963

Re: I cannot edit my own post.

I'm not sure how to do that, but if you send me edits, I'll make the changes for you Okay, please remove the entire code block in my post and replace it with this: [url=http://pastebin.com/BuqkuGFX]View Script[/url] Also please link this thread to the admin. I think it's the wrong choice to disallo...
by modiX
2016-03-07 04:19
Forum: Off-topic discussions
Topic: I cannot edit my own post.
Replies: 9
Views: 2963

I cannot edit my own post.

I just contributed a script I've wrote and I made a mistake. However, I'm unable to edit my own post after some time. Could any moderator give me the rights to edit this first post, please?
viewtopic.php?f=20&t=29348&p=183853#p183853
by modiX
2016-03-07 03:32
Forum: General discussions
Topic: Email Signature Placement
Replies: 25
Views: 4529

Re: Email Signature Placement

I've just wrote a script for it: viewtopic.php?f=20&t=29348
by modiX
2016-03-07 03:31
Forum: User contributed hMailServer 5 scripts
Topic: Email Signature Placement Script
Replies: 12
Views: 6009

Email Signature Placement Script

Basically, when you reply to any mail in any client, hMailServer will place the auto signature at the very end of the mail down below the quote of the person you are replying to. The aim of this script is to modify the email and place the signature right before the quote, if possible. The real probl...
by modiX
2016-03-06 22:57
Forum: Development & alpha discussions
Topic: Body tag using html signature
Replies: 5
Views: 4378

Re: Body tag using html signature

Sry for this necro, but four years later it's still not fixed!
by modiX
2016-03-06 21:41
Forum: General discussions
Topic: "Failed to create COM object `hMailServer.Application'", although Everyone has launch and activation DCOM permissions
Replies: 1
Views: 997

"Failed to create COM object `hMailServer.Application'", although Everyone has launch and activation DCOM permissions

In a Windows Server 2012 R2 Datacenter environment with IIS 8.5.9600.16384, Plesk 12.5.30 Update #24 and hMailServer 5.6.4-B2283 I'm trying to install the web interface PHPWebAdmin that ships with hMailServer to allow the users to access their mail account from everywhere. hMailServer has been conne...