Search found 86 matches

by gotspatel
2021-01-25 14:06
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

No I am using the old 1.13 version still now. I haven't change to hmsdir/7za.exe You sure about that? YES and sorry for confusion but I changed the version file manually as I have custom function of archiving the log files. and YES I have compared the codes file by file and line by line the changes...
by gotspatel
2021-01-25 13:55
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Thanks for this. Recently I started uploading system of backup but getting problem, 1. Neither folder is being created 2. Neither the 7z is being created, Previously it was non password zip files being created when not uploading to letsupload.io 3. Nor it is being uploaded to letsupload, the folder...
by gotspatel
2021-01-25 11:51
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Sorry - I thought I had removed the double quotes. I meant: $ArchivePassword = "y(PJ8G2{cn$Ub4f^>" (the double quote just creates and empty string and therefore the remaining characters have no place - hence the error when using them). Yes it works and created the passworded zip but cannot open the...
by gotspatel
2021-01-25 10:22
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Hmmm... And $ArchivePassword = ""y(PJ8G2{cn$Ub4f^>"" Definitely doesn't work? (Escaped with ^) [Entered by mobile. Excuse my spelling.] NOPE. 25/01/2021 01:51 PM : ERROR : Unable to load supporting PowerShell Scripts 25/01/2021 01:51 PM : ERROR : At C:\Scripts\HMSBackup\hMailServerBackupConfig.ps1:...
by gotspatel
2021-01-25 10:10
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

$ArchivePassword = ""y(PJ8G2{cn$Ub4f>"" And $PWSwitch = "-p$ArchivePassword" ? [Entered by mobile. Excuse my spelling.] Still not working. Pserror.log 25/01/2021 01:41 PM : ERROR : Unable to load supporting PowerShell Scripts 25/01/2021 01:41 PM : ERROR : At C:\Scripts\HMSBackup\hMailServerBackupCo...
by gotspatel
2021-01-25 09:13
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

request to mods if inappropriate please remove my both previous posts. 7z command line does not accept passwords with special character unless provided in " " Quotes. as per this https://sourceforge.net/p/sevenzip/discussion/45798/thread/2bbf54b7/ https://stackoverflow.com/questions/21611328/python-...
by gotspatel
2021-01-25 08:36
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

I again tried many different setting combination and conclude as below, using the $PWProtectedArchive = $True created the problem of not creating the archive locally and not uploading it If It is false then archives are created locally as well as are uploaded properly. this is the parameters in hmsb...
by gotspatel
2021-01-25 06:51
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Also, this thread: Spamassassin bootcamp https://hmailserver.com/forum/viewtopic.php?f=20&t=26866&start=60 Read it like its scripture. :mrgreen: Thanks for this. Recently I started uploading system of backup but getting problem, 1. Neither folder is being created 2. Neither the 7z is being created,...
by gotspatel
2021-01-14 14:37
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

palinka wrote:
2021-01-14 13:58
Also, this thread: Spamassassin bootcamp https://hmailserver.com/forum/viewtopic ... 6&start=60

Read it like its scripture. :mrgreen:
Thanks for the head start will check.

And thanks for the config details in previous post, will check and start config.
by gotspatel
2021-01-14 05:04
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

The error is access denied, so it probably has something to do with what user is attempting to access sa-learn (unlikely) -or- what user is attempting to access your bayes backup file -or- your bayes backup file does not exist. Check your config file and verify the bayes backup FILE (the config say...
by gotspatel
2021-01-13 17:00
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Or, instead of Out-Null, use Out-String. One of them is bound to work. You'll have to test it out and let me know which one works. Out of curiosity, what database and what version are you using? Tried all variations but the error stays, BUT the SQL dump is coming successfully. I checked over the we...
by gotspatel
2021-01-12 14:32
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Not to worry, it "just one of those things with Windows". The problem with path names containing one or more spaces has existed since Windows 95. https://www.howtogeek.com/694949/how-to-escape-spaces-in-file-paths-on-the-windows-command-line/ Thanks for the pointer, if it is not a problem I need no...
by gotspatel
2021-01-12 14:17
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

One more error in Bayes processing cmd.exe : Access is denied. At C:\Scripts\HMSBackup\hMailServerBackupFunctions.ps1:729 char:5 + ... & cmd /c "`"$SADir\sa-learn.exe`" --backup > `"$BayesBack ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Access is ...
by gotspatel
2021-01-12 14:14
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Maybe the help text helps: C:\Program Files (x86)\hMailServer\Bin>7za C:\Program Files (x86)\hMailServer\Bin> (There is a " -v{Size}[b|k|m|g]: Create volumes " option) Wikipedia says "standalone executable 7za.exe, containing built-in modules, but with compression/decompression support limited to 7...
by gotspatel
2021-01-12 13:47
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Implemented the code but getting error in using 7zip for logs, calling the 7zip, I checked your code in hMailServerBackupFunctions.ps1 also it is the same, still it is throwing this error here for logs of PATH. but it is successfully creating zip for the main backup of mails and other data. PS: $Se...
by gotspatel
2021-01-12 10:34
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

One more error in Bayes processing cmd.exe : Access is denied. At C:\Scripts\HMSBackup\hMailServerBackupFunctions.ps1:729 char:5 + ... & cmd /c "`"$SADir\sa-learn.exe`" --backup > `"$BayesBack ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Access is d...
by gotspatel
2021-01-12 08:51
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Please ignore my Ignorance but I am no programmer but learning from the forum. :D That was me not long ago. :D Sorry, but you caught me at a bad time. I have to go away for the weekend with no computer, so I won't be able to get to much until Monday, but I have a couple of minutes now, so... :D For...
by gotspatel
2021-01-11 15:39
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Winscp can do a synchronize backup (using sftp). It can reference destination by ftp or by unc as per your choice) but using sftp protocol can you can look down to single port and connection authentication therefore secure against unwanted connections and devices. It can also de incorporated in scr...
by gotspatel
2021-01-10 06:31
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Winscp can do a synchronize backup (using sftp). It can reference destination by ftp or by unc as per your choice) but using sftp protocol can you can look down to single port and connection authentication therefore secure against unwanted connections and devices. It can also de incorporated in scr...
by gotspatel
2021-01-09 13:26
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

When I do my weekly "backup-backup" (backing up the built-in hMailServer backups) I use Remote Desktop to my server, log on network resources, sync network drives with DSynchronize v2.30.6 (server is a W2K3R2 Server), log off servers, disconnect Remote Desktop. :lol: As simple as That. But I want t...
by gotspatel
2021-01-09 10:51
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

hMailServerLogImporter1004.7z Here is an almost complete re-write. What has changed: * The bug with sharing violation reported by gotspatel is fixed. + PostgreSQL implemented + Now users can create their own reports. 3x sample JSON definitions can be found under .\Reports\ Any JSON file placed ther...
by gotspatel
2021-01-09 06:43
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Thank you Palinka and Soren for pointers. Here is what I found. For Uploading to NAS by NOT USING ROBOCOPY https://github.com/marcosfreccia/Powershell-Scripts/blob/master/SyncFileSystem.ps1 $SourceFolder = "D:\Source" $TargetFolder = "D:\Target\" $SourceFolderItems = Get-ChildItem -Recurse -Path D:\...
by gotspatel
2021-01-08 14:26
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Please ignore my Ignorance but I am no programmer but learning from the forum. :D That was me not long ago. :D Sorry, but you caught me at a bad time. I have to go away for the weekend with no computer, so I won't be able to get to much until Monday, but I have a couple of minutes now, so... :D For...
by gotspatel
2021-01-08 12:27
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 15769

Re: hMailServer Offsite Backup

Trying to implement NAS Backup in your Backup Script, need help if it is correct location I am putting the code or Shall I Put it somewhere else. I am trying to copy the Backup zips from ||$BackupLocation = "C:\HMS-BACKUP" || to my NAS, I am putting the code in "HMailserverBackup.ps1" right after th...
by gotspatel
2021-01-06 11:13
Forum: Scripting
Topic: Firewall Ban
Replies: 155
Views: 73547

Re: Firewall Ban

Hello. Newbie here just moved to HMS from Mdaemon, anyway I got your scripts all setup from https://github.com/palinkas-jo-reggelt/hMailServer-Firewall-Ban and been running for 12+ hours now, mysql db seems to fill with IPs, FW rules gets created aso. However when using the webgui I get: Spammers a...
by gotspatel
2021-01-01 11:50
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

DrmCa wrote:
2020-12-30 16:21
Great, thanks for testing! It was a bug in MySQL. Here is a fix.
I scrapped my old logs, but tested and here are the results.

Error in open file log processing, Any solution.
error in direct.png

It works fine if dates specified.
Perfect Logging.png
by gotspatel
2020-12-31 07:13
Forum: Scripting
Topic: Parsing Public Suffix List in VBS
Replies: 11
Views: 4336

Re: Parsing Public Suffix List in VBS

palinka wrote:
2020-12-30 22:10
Here's what I have in my eventhandlers.vbs.

Function here:



"GetMainDomain" is just a means of obtaining the highest level FQDN (without subdomains)
Many Thanks and Happy new year there
by gotspatel
2020-12-30 17:19
Forum: Scripting
Topic: Parsing Public Suffix List in VBS
Replies: 11
Views: 4336

Re: Parsing Public Suffix List in VBS

SorenR wrote:
2020-12-30 17:10

You can't do that... EventHandlers.vbs is run in an embedded CScript interpreter. You can only use VBScript commands that do not require a command shell.
Thank you for the pointer. I learnt it now.
by gotspatel
2020-12-30 17:18
Forum: Scripting
Topic: Parsing Public Suffix List in VBS
Replies: 11
Views: 4336

Re: Parsing Public Suffix List in VBS

palinka wrote:
2020-12-30 16:14
How are you running it? Are you running it from cscript?
Yes I tried running it with Eventhandlers.vbs
by gotspatel
2020-12-30 09:07
Forum: Scripting
Topic: Parsing Public Suffix List in VBS
Replies: 11
Views: 4336

Re: Parsing Public Suffix List in VBS

Playing around with this tonight. I changed the vbs to a recursive function so it a) cuts down on the number of lines and b) can test any length of domain. Option Explicit Function Include(sInstFile) Dim f, s, oFSO Set oFSO = CreateObject("Scripting.FileSystemObject") On Error Resume Next If oFSO.F...
by gotspatel
2020-12-29 11:42
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

I am not really sure what is happening here. Without seeing those errors I am blind and cannot troubleshoot. This program does not create a database. The database has to exist. It only creates 2x tables in the current version and 1x table in the old version. In MS SQL the old version used Tempdb, b...
by gotspatel
2020-12-27 06:12
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

hMailServerLogImporter1002.7z Here is the new version that implements PostgreSQL. It is refactored properly from the quick and dirty prototype, to allow it to be truly extendable for any DB back end. Hi I downloaded it, Deleted the old Database and tried running this version but something is broken...
by gotspatel
2020-12-25 12:19
Forum: General discussions
Topic: Looking for a new Email client.
Replies: 4
Views: 1855

Re: Looking for a new Email client.

Hi,

Welcome and Merry Christmas.

Hmail is an Email Server (Eg: Microsoft Exchange, PostMaster) and NOT an Email Client. (Eg: thunderbird, Outlook, bat, mailbird, Mail etc.)

And surely it is Free and Lovely with very nice people to support you to install and configure it.

HTH
by gotspatel
2020-12-25 06:52
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

Here is a portion if you need full i can upload and share link for you to research. I only need to see one line that says "Client connection from X.X.X.X was not accepted. Blocked either by IP range or by connection limit." It was not included in your portion. There is no Line for blocked connectio...
by gotspatel
2020-12-24 10:57
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 234
Views: 220417

Re: Sub OnHELO(oClient) progress?

RvdH wrote:
2020-12-24 10:55
For debugging, you do not need that
Thanks for Clarifying.
by gotspatel
2020-12-24 10:51
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 234
Views: 220417

Re: Sub OnHELO(oClient) progress?

RvdH wrote:
2020-12-24 10:14

It is in the readme :?
Very Sorry Sir for Confusion. I thought It is already installed so no need to install from the link in the Readme file. :oops:

Thanks for guidance. it is up and running.

BTW what is this file for "hMailServer-5.6.8-B2505-Symbols.zip"
by gotspatel
2020-12-24 09:17
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 234
Views: 220417

Re: Sub OnHELO(oClient) progress?

mattg wrote:
2020-12-24 08:38
You must use the same base version...
Sir can you please explain more. I am not an expert but can read and follow instructions.
by gotspatel
2020-12-24 07:18
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 234
Views: 220417

Re: Sub OnHELO(oClient) progress?

Latest is 5.6.8-B2505.27 Hi Currently running 5.6.7 B2425 Official Build Database Version 5601 on Windows Server 2019 and tried copying files from this build after stopping the HMAIL SERVICE but getting COM error when starting hmail administrator app. Any help please. Also tried re-registering the ...
by gotspatel
2020-12-24 06:26
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

Since I do not use IMAP, I have no way of knowing the format of the log record that it creates. Could you post a sample of the whole record? I'll see if I can accommodate it. I have time today and am adding PostgreSQL import, so if you post it soon, I may have a fix before the end of the day. Here ...
by gotspatel
2020-12-23 17:44
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

Where does the value "40777" come from? Somehow, the last file is different from all of the successfully loaded ones, in terms of the log entry date that contains this value. The software only looks at the lines that match this log entry: "DEBUG" 6816 "2020-12-03 00:26:50.199" "Client connection fr...
by gotspatel
2020-12-23 06:16
Forum: User-submitted tutorials
Topic: Giving back to the team and community: log file database upload
Replies: 36
Views: 5927

Re: Giving back to the team and community: log file database upload

[/quote] Do you get this error with the latest update that I've posted right before your comment? It should have addressed the date format error that arises on Dec 1st which seems to be your case, judging by the log file date. Try the latest version and post back if any issues. [/quote] yes i used y...
by gotspatel
2020-12-17 10:31
Forum: General discussions
Topic: Add warning to emails
Replies: 43
Views: 20878

Re: Add warning to emails

@Mattg @SorenR and other Seniors

Any Help please on How to remove the banner on reply and forwards please
by gotspatel
2020-12-05 07:17
Forum: General discussions
Topic: Add warning to emails
Replies: 43
Views: 20878

Re: Add warning to emails

hi to all,

this is really nice feature to have. Read all posts. getting little confused.

can someone post the final version of script which a nooob like me can use. I liked the @mattg approach very much that when replying the external people do not see that banner.

any help please.
by gotspatel
2017-01-02 15:22
Forum: Development & alpha discussions
Topic: hMailServer web-interface redesign
Replies: 169
Views: 120902

Re: hMailServer web-interface redesign

I'll be polishing the webadmin next week, there are some small glitches when not logged in as administrator. Hi there, Any chance you will upgrade it to hMailServer version: 5.6.6-B2383 As i just upgraded hmailserver and cannot test it :lol: The hMailServer version does not match the WebAdmin versi...
by gotspatel
2013-11-29 12:57
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Thanks for the solution and patience,

forwarding of emails Working perfectly OK now.

Only problem of false alarm stays for forwarded messages "Virus Found" by Microsoft security essentials.
by gotspatel
2013-11-23 11:12
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

How to rectify the same without loosing the mirror functionality.

We need mirror for backup of incoming and outgoing mails.

Please suggest.

Thanks & Regards

Attached the rule again showing the forward to address:
by gotspatel
2013-11-22 15:08
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

OK sent you open files link in PM for wetransfer.

Files are not in a zip or rar files. All separate.
by gotspatel
2013-11-22 06:40
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Did you get the image and log files
by gotspatel
2013-11-16 11:09
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Sent another link.

Please note it is a WinRAR file with images and log files in it.
by gotspatel
2013-11-14 15:16
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

MY rules are global rules, there are no account level rules.

I am using SMTP relay as shown in the image in PM.

Logs send by PM.
by gotspatel
2013-11-14 12:47
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Hi sorry for confusion.

I had actually removed the rule while editing so just in hurry again typed it and sent the screenshot.

You can refer my previous screenshots I have three rules set right now but all are disabled as awaiting solution
by gotspatel
2013-11-13 06:34
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

yes no error. I have double checked.
by gotspatel
2013-11-12 09:14
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Attached picture of global rule
by gotspatel
2013-11-12 07:54
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Hi mattg, I started receiving the mail in gmail, but the other problems are not solved. I am getting multiple copies of the forwarded mail (10 copies) mitul@xxx.com is sending mail to gotsxxx@gmail.com Forwarding rule is applied gautam@xxx.com is receiving 10 copies of the same message and 2 warning...
by gotspatel
2013-11-10 14:27
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

PM sent with logs and diagnostics
by gotspatel
2013-11-10 06:12
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

Hi,

Sorry for very late reply.

I configured the smtp relay but still it is not working properly.

I am getting multiple copies of email and alerts for virus found.
by gotspatel
2013-10-28 07:48
Forum: General discussions
Topic: need to verify installation scenario
Replies: 2
Views: 1826

Re: need to verify installation scenario

Some more info please. a little more detail as I check up the rout screen in smtp but a little confused.
by gotspatel
2013-10-28 07:41
Forum: General discussions
Topic: help required for forwarding copy of sent mail
Replies: 56
Views: 31447

Re: help required for forwarding copy of sent mail

I will ask ISP to give me IP and id pass for SMTP Relay.

Will check and update.