Search found 219 matches

by bagu
2020-06-01 15:52
Forum: Off-topic discussions
Topic: Edit the first post in tutorial section
Replies: 1
Views: 129

Edit the first post in tutorial section

Hello, In order to improve the readability of the messages in the "User-submitted tutorials" section, it would be interesting to let the author of the first message have the possibility of editing it. This would greatly improve the readability of the tutorials. Especially when these are improved by ...
by bagu
2020-06-01 15:47
Forum: User-submitted tutorials
Topic: LetsEncrypt + Wilcard + cloudflare
Replies: 6
Views: 3612

Re: LetsEncrypt + Wilcard + cloudflare

First, thanks for your contribution. Then, Can you explain why you add -Scope CurrentUser ? For which benefit ? Also, why using iex (irm https://raw.githubusercontent.com/rmbolger/Posh-ACME/master/instdev.ps1) while Update-Module -Name Posh-ACME seem easier ? Set-PAServer LE_PROD -> Yes ! Mistake in...
by bagu
2020-05-20 00:39
Forum: User-submitted tutorials
Topic: LetsEncrypt + Wilcard + cloudflare
Replies: 6
Views: 3612

Re: LetsEncrypt + Wilcard + cloudflare

Update ! The old method seem to don't work anymore. Here is the new way to do this working : First, follow this on cloudflare: In the API Tokens section, click Create Token Give it a name such as 'DNS edit all zones' Add the following permissions: Zone - DNS - Edit Zone - Zone - Read Set the followi...
by bagu
2020-03-25 02:00
Forum: User contributed hMailServer 5 scripts
Topic: Rewrite chack Maxming GeoIP
Replies: 6
Views: 1044

Re: Rewrite chack Maxming GeoIP

I'll take a look in it.

But, i will stay on geoip.dat for the moment, because everything is on the .vbs script and i want to avoid adding more task in my scheduler ;)
by bagu
2020-03-22 16:48
Forum: User contributed hMailServer 5 scripts
Topic: Rewrite chack Maxming GeoIP
Replies: 6
Views: 1044

Re: Rewrite chack Maxming GeoIP

Oh, i missed this post...

Another good news ^^
by bagu
2020-03-22 16:29
Forum: User contributed hMailServer 5 scripts
Topic: Rewrite chack Maxming GeoIP
Replies: 6
Views: 1044

Re: Rewrite chack Maxming GeoIP

Oh, it's a good news ;)

Thanks a lot, i'll try to use it.
by bagu
2020-03-22 16:12
Forum: User contributed hMailServer 5 scripts
Topic: Rewrite chack Maxming GeoIP
Replies: 6
Views: 1044

Rewrite chack Maxming GeoIP

Hi, I'm looking to update this script : https://www.hmailserver.com/forum/viewtopic.php?f=20&t=16679&start=60 But, Maxmind now use mmdb format. Do you know how to use it trought vbs script ? Here is my old script : ' Sub OnClientConnect(oClient) Function ListedInAbuseIPDB(strIP) : ListedInAbuseIPDB ...
by bagu
2020-02-10 22:20
Forum: General discussions
Topic: Started getting errors recently
Replies: 2
Views: 3328

Re: Started getting errors recently

This often happens when the HmailServer "data" folder is not excluded from antivirus scanning and we receive infected emails.
by bagu
2019-09-27 14:21
Forum: User-submitted tutorials
Topic: LetsEncrypt + Wilcard + cloudflare
Replies: 6
Views: 3612

LetsEncrypt + Wilcard + cloudflare

Here is a small tutorial to get Letsencrypt wildcard easily with Posh-Acme and Cloudflare (thanks to palinka) It auto-create Cloudflare DNS TXT. Launch powershell as an admin Remove restrictions with : set-executionpolicy unrestricted Install Posh-ACME with this command : Install-Module -Name Posh-A...
by bagu
2019-09-22 12:30
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

I come back to the original problem. I successfully tested the command with the cloudflare plugin. On the other hand, the original command seems to set up a profile with all the right parameters. The command to update all is Submit-Renewal -PluginArgs @{CFAuthEmail='my@email.fr'; CFAuthKey='cloudfla...
by bagu
2019-09-22 12:09
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

I doubt that this leads to this result if we consider that the builds must remain multi-platform. Indeed, many developers would like to have a port of hmailserver because it is really within reach of all. But if the basic idea of porting is that it remains multi-platform, there should be no problem....
by bagu
2019-09-22 11:21
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

In my case, the problem occurs on the stable versions, beta and dravion. So, I do not think it comes from hmailserver, but it comes from the certificate generated by mod_md. In fact, if I use a certificate other than the one generated by mod_md, everything works fine. Now, I'm watching Dravion's wor...
by bagu
2019-09-21 21:29
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

I will try it later, it's late for now ;)

And yes, no more error in hmailserver with this certificate.
So i search why the mod_md certificate don't work...It seem that there is something different...
by bagu
2019-09-21 21:10
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

Ok, i give many tries, but nothing work... So, i read many docs, and here is how i get a working solution : i launch powershell as an admin Install Posh-ACME with this command : Install-Module -Name Posh-ACME Set the server as a production server (to use a staging server, replace LE_PROD by LE_STAGE...
by bagu
2019-09-21 15:07
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

Oh, ok...

My registrar is Gandi but my dns provider is cloudflare.
I host my domains myself on the same server than hmailserver with apache. (that's why i use mod_md)
by bagu
2019-09-21 15:02
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

Yes, but i have a higher version...

I will try to install the 4.7.2 to see if it change something

Oh, i can't : ".NET Framework 4.7.2 ou une mise à jour ultérieure est déjà installé sur cet ordinateur."
by bagu
2019-09-21 14:59
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

wonder if it's possible to have a wildcard certificate for two domains with mod_md. I ask this because i have an hmailserver installation with only one certificate for *.bagu.fr and *.bagu.biz witch allow me to have smtp.bagu.fr and other things like that without having the need to have these subdo...
by bagu
2019-09-21 14:57
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

by bagu
2019-09-21 14:53
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

I already try it, but it seem it failed to launch : [EROR] Error loading any types from assembly D:\Certificats\GenLeCertificate\Utils\libbind9.dll: BadImageFormatException {Message="Impossible de charger le fichier ou l'assembly 'libbind9.dll' ou une de ses dépendances. Le module était censé conten...
by bagu
2019-09-21 13:49
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

I can't remember the default cipher and it seem there is no way to make it default again (maybe a futur feature ? :D ) EDIT : ok, the default cipher is : ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-...
by bagu
2019-09-21 13:34
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

After some other tests, same prolem happen on v5.6.8 - Build 2451 (BETA) and vhMailServer 5.6.7 - Build 2425 with and without the mattg cipher


P.S. : new post because after a small amount of time, i can't edit my previous post
by bagu
2019-09-21 13:02
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

jim.bus is quite right.

I'm using the Dravion version.

mattg : i will try your cipher ;) Thanks
by bagu
2019-09-20 13:04
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

Oh, i remove them to rewrite them... Here are my ciphers : ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM::ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-...
by bagu
2019-09-20 10:07
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

2019-09-20 Hmailserver: 5.7.0-B2429 DOMAINS "Domain1.com" - baxx.bix Enabled: True |- "Alias1.com" - maxx.baxx.bix SIGNATURE LIMITS DKIM ADVANCED Enabled: False Max size: 7000 Enabled: True Max message size: 30000 Header: Relaxed Plus addressing: True Max size of accounts: 2000 Body: Relaxed Charac...
by bagu
2019-09-19 22:38
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

It's really strange because i use the same certificate for my website and everything appear ok Oo
And https://www.checktls.com/TestReceiver say that everything is ok when i set the LE certificate.

Argh ! :S
by bagu
2019-09-19 22:06
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

Hello and thanks for your answer. The problem happen in SMTP and IMAP session. I use Thunderbird and i don't know why it's trying to negotiate a SSLv3 session. For mod_md, the certificate is in place since a while. Maybe i may use a copy of certificate/key instead of the certificate in mod_md folder...
by bagu
2019-09-19 17:49
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Re: Certificate problem

I enable debug and i get this : "DEBUG" 8232 "2019-09-19 17:47:19.697" "TCP connection started for session 6" "DEBUG" 8232 "2019-09-19 17:47:19.698" "Performing SSL/TLS handshake for session 6. Verify certificate: False" "DEBUG" 1900 "2019-09-19 17:47:19.718" "The read operation failed. Bytes transf...
by bagu
2019-09-19 15:26
Forum: General discussions
Topic: Certificate problem
Replies: 37
Views: 6424

Certificate problem

Hello, I'm coming here to finish a question from this forum : https://www.apachelounge.com/viewtopic.php?p=38503#38503 As i said on this forum, i have an apache web server with letsencrypt certificate (thanks to mod_md !). I have set up my two domains to have the same mx pointing to mail.bagu.biz (w...
by bagu
2019-09-10 22:44
Forum: General discussions
Topic: A way to auto-ban on "SENT: 550 Unknown user"
Replies: 5
Views: 1864

Re: A way to auto-ban on "SENT: 550 Unknown user"

Work well for 504. I have made a small change to search through hmailserver_STMP-date.log instead of hmailserver_date.log I will try to adapt it for 550 unknown user because the dravion utility just don't work on my system (sad, really sad for me) Rem Rem Checks logs and bans AUTH attempts from unkn...
by bagu
2019-09-03 23:31
Forum: General discussions
Topic: Autoban problem
Replies: 5
Views: 1238

Re: Autoban problem

I'm using the Dravion's version.
So i don't know if i can rise priority up to 100 in this version.

But Dravion say that he will follow upcoming changes as i understand.
by bagu
2019-09-03 22:20
Forum: General discussions
Topic: Autoban problem
Replies: 5
Views: 1238

Re: Autoban problem

Ok for the 5.7, i will wait ;) But for the documentation, nop : "The IP ranges added by auto-ban is given the priority 20, so if your own IP range has priority 25 it will take precedence." Must be : "The IP ranges added by auto-ban is given the priority 100, so if your own IP range has priority 125 ...
by bagu
2019-09-03 15:45
Forum: General discussions
Topic: Autoban problem
Replies: 5
Views: 1238

Autoban problem

Hello, I use the "Autoban" feature to eliminate attempts to log in to non-existent accounts. However, the priority given by the autoban is 100. So, if my users are wrong using the webmail, I have no more ways to prevent the webmail to be banned. Would you have a solution? In addition, the documentat...
by bagu
2019-07-10 12:01
Forum: User-submitted tutorials
Topic: hMSLog2Ban - Logfile ip blocker
Replies: 36
Views: 11167

Re: hMSLog2Ban - Logfile ip blocker

I always wondered if there was not a risk big enough to block a little too largely with this type of system.
But if it is not the case, it is a great system that you propose us there. :wink:
by bagu
2019-05-11 13:03
Forum: Development & alpha discussions
Topic: Future of Hmailserver
Replies: 7
Views: 3816

Re: Future of Hmailserver

Linux support ? Wooot !

I don't like postfix and co because it's not really user friendly.
This is the one and only reason that prevents me from switching my entire server to linux.
by bagu
2019-05-02 16:26
Forum: General discussions
Topic: Hmailserver 5.7.0 64bits from Dravion
Replies: 3
Views: 1136

Re: Hmailserver 5.7.0 64bits from Dravion

Thanks a lot.

I want to libressl version of 5.7.0 but i get a smartscreen caution.
Is it normal ?
by bagu
2019-04-30 13:52
Forum: General discussions
Topic: Hmailserver 5.7.0 64bits from Dravion
Replies: 3
Views: 1136

Hmailserver 5.7.0 64bits from Dravion

Hello, I have been using Hmailserver for a long time and stayed on version 5.6.8. I just saw that Dravion had made available a 64Bits version stamped 5.7.0 LTS. Does this mean that Martin is no longer following the project? Do I have a problem if I upgrade to the Dravion version? What procedure to f...
by bagu
2018-08-12 19:58
Forum: General discussions
Topic: A way to auto-ban on "SENT: 550 Unknown user"
Replies: 5
Views: 1864

Re: A way to auto-ban on "SENT: 550 Unknown user"

Even trough a vbs script ?
by bagu
2018-08-12 16:04
Forum: General discussions
Topic: A way to auto-ban on "SENT: 550 Unknown user"
Replies: 5
Views: 1864

A way to auto-ban on "SENT: 550 Unknown user"

Hello,

I use the latest hmailserver and i wonder if there is a way to auto-ban an ip for a configurable time on "SENT: 550 Unknown user" message ?
Thanks a lot for your help.
by bagu
2017-09-27 00:41
Forum: General discussions
Topic: Better log in my ip/domain blacklist
Replies: 4
Views: 1764

Re: Better log in my ip/domain blacklist

I found the same solution just one second before reading your message ;)

Thanks a lot ;)
by bagu
2017-09-27 00:16
Forum: General discussions
Topic: Better log in my ip/domain blacklist
Replies: 4
Views: 1764

Re: Better log in my ip/domain blacklist

Thanks for the first part ;) I'm sorry for my bad english. Is there a better way to write : If right(oMessage.FromAddress,len(bEmail)) = bEmail Then Result.Value = 1 If right(oMessage.FromAddress,len(bEmail)) = bEmail Then EventLog.Write("OnSMTPData rejected" + Chr(34) + vbTab + Chr(34) + oClient.IP...
by bagu
2017-09-26 11:03
Forum: General discussions
Topic: Better log in my ip/domain blacklist
Replies: 4
Views: 1764

Better log in my ip/domain blacklist

Hello, I use this script : ' Sub OnClientConnect(oClient) Sub OnClientConnect(oClient) Dim GeoIP Dim Country Set GeoIP = CreateObject("GeoIPCOMEx.GeoIPEx") GeoIP.set_db_path("D:\geoip\") GeoIP.find_by_addr(oClient.IPAddress) Country = GeoIP.country_code Select Case Country Case "BE","CA","CL","DE","...
by bagu
2017-06-19 23:47
Forum: General discussions
Topic: Problem with dkim header signature ?
Replies: 3
Views: 1998

Re: Problem with dkim header signature ?

Yes, but i don't remember how. Here is the results now : DKIM Information: DKIM Signature Message contains this DKIM Signature: Signature Information: v= Version: 1 a= Algorithm: rsa-sha256 c= Method: relaxed/relaxed d= Domain: bagu.fr s= Selector: mail q= Protocol: dns/txt bh= V+BC2CQH3cJIAZJosPEz9...
by bagu
2017-04-12 12:31
Forum: General discussions
Topic: DSPAM support
Replies: 1
Views: 1069

DSPAM support

Hello,

I wonder if there is a way to use DSPAM + Hmailserver.
If yes, is there a tuto somewhere ?

Thanks
by bagu
2016-11-03 13:26
Forum: Scripting
Topic: Way to auto-ban unknow user
Replies: 10
Views: 8401

Way to auto-ban unknow user

Is there a way to auto ban for a specified time sender wich try to send to unknow user directly ?
Because i have a ton of SENT: 550 Unknown user with 60 minutes between every try...
by bagu
2016-07-19 23:42
Forum: General discussions
Topic: SA-update problem
Replies: 1
Views: 1756

SA-update problem

Hello, Since a while, i get this message : juil. 19 23:39:21.874 [6860] dbg: http: url: http://sa-update.secnap.net/1750237.tar.gz.sha1 juil. 19 23:39:21.883 [6860] dbg: http: downloading to: D:\SpamAssassin\share\3.004001\updates_spamassassin_org\1750237.tar.gz.sha1, update juil. 19 23:39:21.909 [6...
by bagu
2016-02-19 13:01
Forum: General discussions
Topic: Problem with dkim header signature ?
Replies: 3
Views: 1998

Problem with dkim header signature ?

Hello, I made some checks on my mail server, spf/dkim/dmarc, and i receive this error : DKIM-Signature header exists but is not valid Do someone know how to correct this ? Because other checks pass without errors : DKIM Information: DKIM Signature Message contains this DKIM Signature: Signature Info...
by bagu
2015-08-19 11:52
Forum: General discussions
Topic: Mysql error in log
Replies: 4
Views: 3540

Re: Mysql error in log

Thanks a lot for your answer.
I have made changes and waiting to see if it happen again.
by bagu
2015-08-18 23:58
Forum: General discussions
Topic: Mysql error in log
Replies: 4
Views: 3540

Mysql error in log

Hello, I have the same error that back between one and two times every day, and I do not understand why . "ERROR" 4344 "2015-08-18 23:33:23.805" "Severity: 2 (High), Code: HM5032, Source: DALConnection::Execute, Description: MySQL: Incorrect string value: '\xF0\x9F\x8D\x92 w...' for column 'metadata...
by bagu
2014-10-30 00:02
Forum: Feature requests
Topic: Long-term roadmap suggestions?
Replies: 91
Views: 47768

Re: Long-term roadmap suggestions?

I'm voting for "cross-platform" and "other" because I wanted to add the point that if hMailServer were to be going cross platform I would much prefer that it not be dependent on supporting applications like Java, Python, Perl, .NET, Ruby, etc. My mail server also provides http, sshd, irc, mysql, an...
by bagu
2014-01-13 00:46
Forum: Feature requests
Topic: Additions to the built in diagnostic tool
Replies: 6
Views: 3379

Re: Additions to the built in diagnostic tool

Maybe an SPF / DKIM diagnostic tool can also be added
by bagu
2013-06-27 18:28
Forum: Feature requests
Topic: Specify DNS NameServer to be used by HMailServer
Replies: 29
Views: 33242

Re: Specify DNS NameServer to be used by HMailServer

Don't use opendns with any mailserver. You will end up with issues as they send their own web pages through if you have a failed lookup. tis messy. You can easily disable this by creating an opendns account and set your preferences. See here : http://www.labnol.org/internet/stop-opendns-from-redire...
by bagu
2013-05-15 21:56
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

Already do that. But...I found the problem. I have a security problem with the com object. After setting it again, it work fine. I also have re-write the script to make it shorter. Sub OnClientConnect(oClient) Dim geoip Dim Country Result.Value = 0 set geoip = CreateObject("GeoIPCOMEx.GeoIPEx") geoi...
by bagu
2013-05-15 19:37
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

Already done...3 time (with 2 browsers different and with command line tool to be sure)
Md5 checksum are the same for the 3 files.

Everything should work.

Regsvr and reboot done to be sure.
by bagu
2013-05-15 18:48
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

When i say that's it, i mean, that it's the pdf docs i follow...Not it work ;) I register the com successfuly I made the com object folowing the pdf doc I have the correct geoip.dat file I have the right path I have reboot As you can see, i have done every tests wich can be made easy. And every test...
by bagu
2013-05-15 18:18
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

That's it.
by bagu
2013-05-15 18:00
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

Already done, i followed the docs.
by bagu
2013-05-15 17:27
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

Yes, reboot have been done.

Yes syntax is ok.
by bagu
2013-05-15 17:18
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

Path are correct for both geoip and hmailserver.
by bagu
2013-05-15 16:41
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

Re: GeoIp anti spam script problem

Sub is correctly ended ;)

Code: Select all

   If (Result.Value = 1 ) Then  ' Rejected
      EventLog.Write("Geo-IP rejected:"+Chr(34)+vbTab+oClient.IPAddress+vbTab+Chr(34)+geoip.country_code+" "+geoip.country_name)
   End if
End Sub
Here is my whole vbs : http://pastebin.com/kfgTpUiJ
by bagu
2013-05-15 15:26
Forum: Scripting
Topic: GeoIp anti spam script problem
Replies: 19
Views: 8816

GeoIp anti spam script problem

Hello, I use this script : Sub OnClientConnect(oClient) Dim geoip Dim Country Result.Value = 0 set geoip = CreateObject("GeoIPCOMEx.GeoIPEx") geoip.set_db_path("D:\hMailServer\Geoip\") geoip.find_by_addr(oClient.IPAddress) country = GeoIP.country_code If (country = "CN" ) Then ' Reject this country ...