Search found 25 matches

by berg128
2021-01-30 00:02
Forum: Feature requests
Topic: RFC Local hostname in SMTP-protocol
Replies: 9
Views: 2114

Re: RFC Local hostname in SMTP-protocol

Just a heads-up I discovered - may even be re-discovered as I can't remember seing it before on my 5.6.8 release... On my Backup-MX server I have SMTP Routes to my domain and aliases. Well, that is I HAD! If we asume my main domain is "acme.inc" I have my two servers "mx.acme.inc" and "mail.acme.in...
by berg128
2021-01-29 23:51
Forum: User-submitted tutorials
Topic: Adding warning to message only if it contains attachments
Replies: 14
Views: 3254

Re: Adding warning to message only if it contains attachments

Will this include both http:// and https:// ? Yes: https://regex101.com/r/LjwwEY/1 Top! :) Then: If Lookup(strRegEx, oMessage.Body) or Lookup(strRegEx, oMessage.HTMLBody) or oMessage.Attachments.Count > 0 Then Great! Many thanks Palinka! Well, Then you are "Palinka" about 1 year ago. We are all str...
by berg128
2021-01-29 23:22
Forum: Scripting
Topic: Best update order/procedure ClamAV and Spamassassin
Replies: 8
Views: 2494

Re: Best update order/procedure ClamAV and Spamassassin

Read this like its scripture: https://hmailserver.com/forum/viewtopic.php?f=21&t=26829 "Real" MTAs will attempt re-delivery on failure for any reason. I noticed that and will have a look at it later, thanks. SpamAssassin ... well ... sa-update.exe -v --nogpg --channelfile UpdateChannels.txt net sto...
by berg128
2021-01-26 15:40
Forum: Scripting
Topic: Best update order/procedure ClamAV and Spamassassin
Replies: 8
Views: 2494

Re: Best update order/procedure ClamAV and Spamassassin

This will do that and more. You can cut out what you don't want. https://hmailserver.com/forum/viewtopic.php?f=9&t=35447 I think I can achieve that but what I'm missing is how to prevent HMS errors when freshclam is running. I was thinking of disabling the FreshClam service and to transfer the fres...
by berg128
2021-01-26 15:31
Forum: User-submitted tutorials
Topic: Adding warning to message only if it contains attachments
Replies: 14
Views: 3254

Re: Adding warning to message only if it contains attachments

If that's the case, then try this: If client connection is not authenticated (every outside server, so only incoming mail) AND a URL appears in text or html body, then the banner insertion will be triggered. Thanks Palinka that looks like a start, I just hadn't had the guts and enough knowledge whe...
by berg128
2021-01-26 08:43
Forum: General discussions
Topic: I cann't send and receive mail, All is correct
Replies: 4
Views: 1261

Re: I cann't send and receive mail, All is correct

mizan.mail doesn't look to be a real domain I'm guessing that you have set this up as a record in your host file, to get the 'local connect' response that you show You will need a real domain to send and receive email on the internet Or setup a local domain on your dns server of course... :) with m...
by berg128
2021-01-26 08:38
Forum: General discussions
Topic: Setup delay time for sending emails
Replies: 4
Views: 1164

Re: Setup delay time for sending emails

Incoming you could prevent too many mails coming in via Protocols, SMTP in the maximum number of connections. Outgoing there maybe some perfomance setting which you could experiment with to prevent too many sessions at a time (Advanced, Performance, Threading) You may find nothing helps to achieve y...
by berg128
2021-01-26 08:29
Forum: User-submitted tutorials
Topic: Adding warning to message only if it contains attachments
Replies: 14
Views: 3254

Re: Adding warning to message only if it contains attachments

How will you determine whether a url or attachment is one that needs to be flagged? The presence of an url or an attachment is enough. You know, there is a search function on this board... I started this post mentioning this post in the first place. Can you tell where I can read how to get it to fi...
by berg128
2021-01-25 22:43
Forum: Scripting
Topic: Best update order/procedure ClamAV and Spamassassin
Replies: 8
Views: 2494

Best update order/procedure ClamAV and Spamassassin

Hello, I'm looking for the best way to update ClamAV and SpamAssassin without disturbing HMS and run into errors because ClamAV or SpamAssassin are not reachable for HMS during updates. Until now I use a scheduled task which: Stops HMS Stops SA Updates SA Start SA Starts HMS On the background Freshc...
by berg128
2021-01-25 22:26
Forum: User-submitted tutorials
Topic: Adding warning to message only if it contains attachments
Replies: 14
Views: 3254

Re: Adding warning to message only if it contains attachments

Thanks Palinka for your tips but.... :) What I'm trying to achieve is to have a warning message added to an email which either contains an url or has one or more attachments. It is an extra to the normal Spam/Fishing/antivirus checks already in place in HMS but which offer no warranty an attachment ...
by berg128
2021-01-22 23:40
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 197704

Re: hMailServer 5.7

IP Ranges excluded from BAN should use priority > 20 for versions before 5.7 and priority > 100 for version 5.7 It looks like autoban is using prio 100 to ban IP's which is higher then the internet (10) and local ip's (15). The IP-ranges I want to exclude from autoban have 20 as I think they will n...
by berg128
2021-01-22 22:53
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 197704

Re: hMailServer 5.7

I was not aware of @palinka creating an "AutoBan" solution exclusively for version 5.7 :?: I meant his dynamic black/whitelisting...I read it requires version 5.7.+? IP Ranges excluded from BAN should use priority > 20 for versions before 5.7 and priority > 100 for version 5.7 With the values at 20...
by berg128
2021-01-22 21:47
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 197704

Re: hMailServer 5.7

Yes, I have backups and am able to go back in a few minutes if I run into problems. I closely monitor the logs for errors or abnormalities so maybe I can contribute with my specific setup. Can you eleborate on the Ip ranges and the priority please? I only have a few Ip ranges with internet 10, local...
by berg128
2021-01-22 18:49
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 197704

Re: hMailServer 5.7

You need to log in to github as a user first. [Entered by mobile. Excuse my spelling.] Thank downloaded and upgraded, works like a charm! If your current version HMS is 32-bit don't forget to update libmysql.dll before you start the installation. I didn't and use MariaDB so I had to replace my libm...
by berg128
2021-01-22 18:10
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 197704

Re: hMailServer 5.7

Thx but 404 errors when clicking the download?
by berg128
2021-01-22 18:07
Forum: Feature requests
Topic: RFC Local hostname in SMTP-protocol
Replies: 9
Views: 2114

Re: RFC Local hostname in SMTP-protocol

A few advantages of this setup with onpremise servers are: No exposed server/port on my clients side Central management of domains/useraliases/pop collecting Central management and monitoring of spam/antivirus Low cost of operation I should have written .."domains with useraliases".. Pop and delete ...
by berg128
2021-01-22 17:57
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 173
Views: 197704

Re: hMailServer 5.7

What is the current download location for this version? I can only find the code on Github and older versions here?

I need an installer and I'm reluctant to using installers from others.
by berg128
2021-01-22 17:44
Forum: Feature requests
Topic: RFC Local hostname in SMTP-protocol
Replies: 9
Views: 2114

Re: RFC Local hostname in SMTP-protocol

Plenty Domains with aliases and even (dummy-)users for which pop is collected and delivered to addresses in domains. And plenty routes to client-servers with their main emailaddresses so mail is delivered. Also rules for some specific cases. No mail is being kept locally. Any change in above is repl...
by berg128
2021-01-22 17:03
Forum: Feature requests
Topic: RFC Local hostname in SMTP-protocol
Replies: 9
Views: 2114

Re: RFC Local hostname in SMTP-protocol

That is correct but i now have a master-slave setup for mysql so a change on the master gets replicated but not the other way around. I would like to have a master-master setup so the changes are bidirectional. Right now MX1 is the sql-master and MX2 is the slave and it works fine as long as we rest...
by berg128
2021-01-22 14:48
Forum: Feature requests
Topic: RFC Local hostname in SMTP-protocol
Replies: 9
Views: 2114

RFC Local hostname in SMTP-protocol

I succesfully setup two servers with master-slave sql db for HMS, so every change in settings on the master automatically gets replicated to the slave. Of course I realize the settings only fully apply when the slave hmailserver is restarted, but I don't have to export and import between the two ser...
by berg128
2021-01-21 18:51
Forum: General discussions
Topic: IMAP mail not syncing to all devices
Replies: 15
Views: 5299

Re: IMAP mail not syncing to all devices

Seems to me that the number of items in folders or subfolders are creating the problem. For both the client and the server it's a hell of a job to constantly sync high number of items in a folder most certainly if more devices access the same account. My advise would be to try and test the maximum n...
by berg128
2021-01-21 18:44
Forum: Feature requests
Topic: Change sender
Replies: 26
Views: 4484

Re: Change sender

To me it looks like your trying to authenticate against the gateway server you are trying to sent to. You will probably have to disable that so that you are an anonymous user/server who is trying to deliver to a known address on the receiving server side.
by berg128
2021-01-21 15:17
Forum: User-submitted tutorials
Topic: Adding warning to message only if it contains attachments
Replies: 14
Views: 3254

Re: Adding warning to message only if it contains attachments

Thanks Palinka, To clarify: The script should act only if an attachment is found or if any url is found in the message The rule is to apply it only for one or more domains or to not apply it to certain domains (depending how you set up the rule) I have SA en ClamAV working and will look into Sanesec...
by berg128
2021-01-21 12:14
Forum: User-submitted tutorials
Topic: Adding warning to message only if it contains attachments
Replies: 14
Views: 3254

Adding warning to message only if it contains attachments

Hello, I've seen the different solutions here to add warning messages to all external mail and the solutions in this post https://www.hmailserver.com/forum/viewtopic.php?f=7&t=29777 look very attractive so I can combine it with a rule to only apply it on selected domain (or not of course :wink: ). B...
by berg128
2021-01-07 13:41
Forum: User-submitted tutorials
Topic: Certify automatic ssl certificate and renewal
Replies: 8
Views: 7167

Re: Certify automatic ssl certificate and renewal

I'm trying to implement but it seems the $result isn't passed on to the script or the $latest isn't expanded to the openssl command Must be something annoying I oversee because I'm a novice to PS, Anyone have an idea? ***SCRIPT*** param($result) $env:path = $env:path + ";D:\Program Files\OpenSSL\bin...