Sub OnHELO(oClient) progress?

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
estradis
Normal user
Normal user
Posts: 145
Joined: 2014-09-09 10:47

Re: Sub OnHELO(oClient) progress?

Post by estradis » 2019-05-13 20:03

estradis wrote:
2019-04-26 09:34
... the executive board will probably decide to replace hms.
... and they did!

https://www.hmailserver.com/forum/viewt ... =7&t=33995

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-06-02 02:37

Install the latest production and/or beta version from the URL below, then copy and overwrite files in this archive in hmailserver '/bin' directory
https://build.hmailserver.com/repositor ... -B2437.exe
  1. Supports Sub OnHELO(oClient) event, issue #153
  2. Fixed Incorrect DEBUG logging for event 'OnDeliverMessage', issue #181
  3. Include HTMLBody into IMAP TEXT search, pull #193
  4. Fixed implicit conversion: "int" to "unsigned char" pull #204
  5. Faulty: SMTP 'Disconnect client after too many invalid commands' pull issue #160
  6. SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] issue #164
  7. Removed warning if backup was more than 1,5GB and 15GB limit. There's no longer a recommended max-size - the time will vary with the installation size. issue #69
  8. Speed up 'update hm_messages set messageflags' issue #221
  9. Treat authenticated users as localsender if the sender is authenticated and AuthUserIsLocal=1 INI setting Office 2016 Bug
  10. Add Return-Path header as topmost header before sending the message to SA (+ delete Return-Path header after the SA check completes) issue #116
  11. Experimental eventhandler OnClientLogon(oClient), New ClientInfo property oClient.Authenticated (Boolean)
  12. Handling of long UIDL response lists was too slow. issue #93
  13. When calling SpamAssassin and there was a connection failure, sometimes temporary files were left behind issue #100
  14. SURBL detection properly fails to detect url's ending with a query string issue #108
  15. If a route is set up, but the recipient does not match an address in the route address list, the domain catch-all should be used if specified. issue #74
  16. Fix ExternalFetcher DELE when no RETR, pull pull #254
  17. SMTP multiply max message size with 1024 issue #267
  18. Add email address variable to SignatureAdder.cpp pull #265
  19. DKIM on acccount-rule 'reply' not applied #172 issue #172
  20. preserve RewriteEnvelopeFromWhenForwarding setting when forwarding from account rule
+ OpenSSL 1.0.2s (released may 28, 2019)

https://d-fault.nl/files/5.6.8-B2437.20 ... _1.0.2s.7z
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
jimimaseye
Moderator
Moderator
Posts: 8091
Joined: 2011-09-08 17:48

Re: Sub OnHELO(oClient) progress?

Post by jimimaseye » 2019-06-02 09:48

First post on page 1 now points to the latest release as it became difficult finding the updates as the thread progresses. (I will edit and update it whenever a new one is posted).

That should help.

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

insomniac2k2
Normal user
Normal user
Posts: 84
Joined: 2016-08-09 19:47

Re: Sub OnHELO(oClient) progress?

Post by insomniac2k2 » 2019-06-02 15:27

Thank you for your contribution. I will update my servers as soon as i get a few free minutes :)
RvdH wrote:
2019-06-02 02:37
Install the latest production and/or beta version from the URL below, then copy and overwrite files in this archive in hmailserver '/bin' directory
https://build.hmailserver.com/repositor ... -B2437.exe
  1. Supports Sub OnHELO(oClient) event, issue #153
  2. Fixed Incorrect DEBUG logging for event 'OnDeliverMessage', issue #181
  3. Include HTMLBody into IMAP TEXT search, pull #193
  4. Fixed implicit conversion: "int" to "unsigned char" pull #204
  5. Faulty: SMTP 'Disconnect client after too many invalid commands' pull issue #160
  6. SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] issue #164
  7. Removed warning if backup was more than 1,5GB and 15GB limit. There's no longer a recommended max-size - the time will vary with the installation size. issue #69
  8. Speed up 'update hm_messages set messageflags' issue #221
  9. Treat authenticated users as localsender if the sender is authenticated and AuthUserIsLocal=1 INI setting Office 2016 Bug
  10. Add Return-Path header as topmost header before sending the message to SA (+ delete Return-Path header after the SA check completes) issue #116
  11. Experimental eventhandler OnClientLogon(oClient), New ClientInfo property oClient.Authenticated (Boolean)
  12. Handling of long UIDL response lists was too slow. issue #93
  13. When calling SpamAssassin and there was a connection failure, sometimes temporary files were left behind issue #100
  14. SURBL detection properly fails to detect url's ending with a query string issue #108
  15. If a route is set up, but the recipient does not match an address in the route address list, the domain catch-all should be used if specified. issue #74
  16. Fix ExternalFetcher DELE when no RETR, pull pull #254
  17. SMTP multiply max message size with 1024 issue #267
  18. Add email address variable to SignatureAdder.cpp pull #265
  19. DKIM on acccount-rule 'reply' not applied #172 issue #172
  20. preserve RewriteEnvelopeFromWhenForwarding setting when forwarding from account rule
+ OpenSSL 1.0.2s (released may 28, 2019)

https://d-fault.nl/files/5.6.8-B2437.20 ... _1.0.2s.7z

User avatar
nitro
New user
New user
Posts: 25
Joined: 2018-11-08 16:31
Location: Spain

Re: Sub OnHELO(oClient) progress?

Post by nitro » 2019-06-04 09:25

RvdH wrote:
2019-06-02 02:37
Install the latest production and/or beta version from the URL below, then copy and overwrite files in this archive in hmailserver '/bin' directory
https://build.hmailserver.com/repositor ... -B2437.exe
  1. Supports Sub OnHELO(oClient) event, issue #153
  2. Fixed Incorrect DEBUG logging for event 'OnDeliverMessage', issue #181
  3. Include HTMLBody into IMAP TEXT search, pull #193
  4. Fixed implicit conversion: "int" to "unsigned char" pull #204
  5. Faulty: SMTP 'Disconnect client after too many invalid commands' pull issue #160
  6. SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] issue #164
  7. Removed warning if backup was more than 1,5GB and 15GB limit. There's no longer a recommended max-size - the time will vary with the installation size. issue #69
  8. Speed up 'update hm_messages set messageflags' issue #221
  9. Treat authenticated users as localsender if the sender is authenticated and AuthUserIsLocal=1 INI setting Office 2016 Bug
  10. Add Return-Path header as topmost header before sending the message to SA (+ delete Return-Path header after the SA check completes) issue #116
  11. Experimental eventhandler OnClientLogon(oClient), New ClientInfo property oClient.Authenticated (Boolean)
  12. Handling of long UIDL response lists was too slow. issue #93
  13. When calling SpamAssassin and there was a connection failure, sometimes temporary files were left behind issue #100
  14. SURBL detection properly fails to detect url's ending with a query string issue #108
  15. If a route is set up, but the recipient does not match an address in the route address list, the domain catch-all should be used if specified. issue #74
  16. Fix ExternalFetcher DELE when no RETR, pull pull #254
  17. SMTP multiply max message size with 1024 issue #267
  18. Add email address variable to SignatureAdder.cpp pull #265
  19. DKIM on acccount-rule 'reply' not applied #172 issue #172
  20. preserve RewriteEnvelopeFromWhenForwarding setting when forwarding from account rule
+ OpenSSL 1.0.2s (released may 28, 2019)

https://d-fault.nl/files/5.6.8-B2437.20 ... _1.0.2s.7z
Approximately 24 hours ago I updated my production server with this new version.
One of my clients uses the "damn" version of Outlook 2016, I have correctly configured the .ini for "RECEIVED: MAIL FROM: <>".
I have only detected these errors in the log as strange or different.

Code: Select all

"ERROR"	9928	"2019-06-03 18:59:30.767"	"Severity: 3 (Medium), Code: HM5310, Source: DKIM::SignHash_, Description: Unable to parse the private key file."
"ERROR"	9928	"2019-06-03 18:59:30.767"	"Severity: 3 (Medium), Code: HM5308, Source: DKIM::Sign, Description: Failed to create siganture."
"ERROR"	9928	"2019-06-03 18:59:30.767"	"Severity: 3 (Medium), Code: HM5306, Source: DKIMSigner::Sign, Description: Message signing using DKIM failed."

I understand that it has realation with:

Code: Select all

DKIM on acccount-rule 'reply' not applied
Is it because of a bad configuration in the DKIM?
To this day I have not suffered that error.

Thank you very much for your work and your help to keep hmailserver alive.


Update

Code: Select all

Scenario:

1, DKIM signing setup and enabled - Sending an email with email client signs the email correctly (with the usual "dkim-signature:" header).

[b]2, Set up an Account Rule with a "REPLY (email)" as an action (all fields filled correctly).[/b]

BUT the received reply email (sent by the rule) does not get DKIM signed.
Could it be the problem?
Production 5.6.8-B2437.20_OpenSSL_1.0.2s W.Server 2016 Datace [2x Intel Xeon E5-2660 8GB RAM]
Staging 5.7.0-B2428-LibreSSL-x64-LTS W.Server 2008 R2 Stand [Intel Pentium 4 4GB RAM]

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-06-04 11:37

The account address this account rule is assigned to and the address defined in the From field are the same?

Addendum: And only emails to external accounts get signed by DKIM
Last edited by RvdH on 2019-06-04 11:54, edited 1 time in total.
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
nitro
New user
New user
Posts: 25
Joined: 2018-11-08 16:31
Location: Spain

Re: Sub OnHELO(oClient) progress?

Post by nitro » 2019-06-04 11:52

RvdH wrote:
2019-06-04 11:37
The account address this account rule is assigned to and the address defined in the From field are the same?
No, it is a forwarding over the same domain but not on the same account.

Image
Production 5.6.8-B2437.20_OpenSSL_1.0.2s W.Server 2016 Datace [2x Intel Xeon E5-2660 8GB RAM]
Staging 5.7.0-B2428-LibreSSL-x64-LTS W.Server 2008 R2 Stand [Intel Pentium 4 4GB RAM]

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-06-04 11:57

Forwarding? Settings in that Tab, have literally nothing to do with an Account Reply rule, or what am i missing here?
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
nitro
New user
New user
Posts: 25
Joined: 2018-11-08 16:31
Location: Spain

Re: Sub OnHELO(oClient) progress?

Post by nitro » 2019-06-04 12:02

RvdH wrote:
2019-06-04 11:57
Forwarding? Settings in that Tab, have literally nothing to do with an Account Reply rule, or what am i missing here?
There is no rule defined for those accounts, I do not know if the forwarding behaves internally as if it were a rule.

That domain and those accounts do not have any other special configuration.

From the moment of the error, more than 1000 emails have already been processed and the error has not been repeated.
Production 5.6.8-B2437.20_OpenSSL_1.0.2s W.Server 2016 Datace [2x Intel Xeon E5-2660 8GB RAM]
Staging 5.7.0-B2428-LibreSSL-x64-LTS W.Server 2008 R2 Stand [Intel Pentium 4 4GB RAM]

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-06-04 12:25

nitro wrote:
2019-06-04 12:02
There is no rule defined for those accounts, I do not know if the forwarding behaves internally as if it were a rule.
No :!:

Do you use?
RewriteEnvelopeFromWhenForwarding=1

But yes, also here note that only mails to external recipients are dkim signed, if you forward from a local account to local account it never gets signed
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
nitro
New user
New user
Posts: 25
Joined: 2018-11-08 16:31
Location: Spain

Re: Sub OnHELO(oClient) progress?

Post by nitro » 2019-06-04 12:37

Do not pay attention to me, it's just a blank space in the DKIM chain of dns.

I have reconfigured, this time correctly and the error no longer appears when receiving an email from an external account.

From what I see, it must have been configured for a long time but with the previous versions it did not show an error in the log.

I feel the discomfort, and thanks for your help.
Production 5.6.8-B2437.20_OpenSSL_1.0.2s W.Server 2016 Datace [2x Intel Xeon E5-2660 8GB RAM]
Staging 5.7.0-B2428-LibreSSL-x64-LTS W.Server 2008 R2 Stand [Intel Pentium 4 4GB RAM]

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-06-04 12:38

Glad you got it resolved :wink:
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

estradis
Normal user
Normal user
Posts: 145
Joined: 2014-09-09 10:47

Re: Sub OnHELO(oClient) progress?

Post by estradis » 2019-06-06 09:55

Install the latest production and/or beta version from the URL below, then copy and overwrite files in this archive in hmailserver '/bin' directory
https://build.hmailserver.com/repositor ... -B2437.exe
Please check your certificate. It's expired.

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-06-06 13:28

It is not mine ;)
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
RvdH
Senior user
Senior user
Posts: 796
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Sub OnHELO(oClient) progress?

Post by RvdH » 2019-07-08 08:08

Install the latest production and/or beta version from the URL below, then copy and overwrite files in this archive in hmailserver '/bin' directory
https://build.hmailserver.com/repositor ... -B2437.exe
  1. Supports Sub OnHELO(oClient) event, issue #153
  2. Fixed Incorrect DEBUG logging for event 'OnDeliverMessage', issue #181
  3. Include HTMLBody into IMAP TEXT search, pull #193
  4. Fixed implicit conversion: "int" to "unsigned char" pull #204
  5. Faulty: SMTP 'Disconnect client after too many invalid commands' pull issue #160
  6. SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] issue #164
  7. Removed warning if backup was more than 1,5GB and 15GB limit. There's no longer a recommended max-size - the time will vary with the installation size. issue #69
  8. Speed up 'update hm_messages set messageflags' issue #221
  9. Treat authenticated users as localsender if the sender is authenticated and AuthUserIsLocal=1 INI setting Office 2016 Bug
  10. Add Return-Path header as topmost header before sending the message to SA (+ delete Return-Path header after the SA check completes) issue #116
  11. Experimental eventhandler OnClientLogon(oClient), New ClientInfo property oClient.Authenticated (Boolean)
  12. Handling of long UIDL response lists was too slow. issue #93
  13. When calling SpamAssassin and there was a connection failure, sometimes temporary files were left behind issue #100
  14. SURBL detection properly fails to detect url's ending with a query string issue #108
  15. If a route is set up, but the recipient does not match an address in the route address list, the domain catch-all should be used if specified. issue #74
  16. Fix ExternalFetcher DELE when no RETR, pull pull #254
  17. SMTP multiply max message size with 1024 issue #267
  18. Add email address variable to SignatureAdder.cpp pull #265
  19. DKIM on acccount-rule 'reply' not applied #172 issue #172
  20. preserve RewriteEnvelopeFromWhenForwarding setting when forwarding from account rule
  21. The logical flow should be to disregard "Require SMTP authentication" if "Allow deliveries from" is unselected issue #287
+ OpenSSL 1.0.2s (released may 28, 2019)

https://d-fault.nl/files/5.6.8-B2437.21 ... _1.0.2s.7z
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
nitro
New user
New user
Posts: 25
Joined: 2018-11-08 16:31
Location: Spain

Re: Sub OnHELO(oClient) progress?

Post by nitro » 2019-07-08 10:28

I'll update to see how it works, so I see it's a minor update. Thanks for your job.
Production 5.6.8-B2437.20_OpenSSL_1.0.2s W.Server 2016 Datace [2x Intel Xeon E5-2660 8GB RAM]
Staging 5.7.0-B2428-LibreSSL-x64-LTS W.Server 2008 R2 Stand [Intel Pentium 4 4GB RAM]

User avatar
mattg
Moderator
Moderator
Posts: 20017
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Sub OnHELO(oClient) progress?

Post by mattg » 2019-07-08 13:18

Thanks from me too
Already installed and in use
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
ras07
Normal user
Normal user
Posts: 193
Joined: 2010-03-11 08:51

Re: Sub OnHELO(oClient) progress?

Post by ras07 » 2019-07-08 17:17

Installed and using, no problems so far - thanks!

Post Reply