Search found 135 matches

by gotspatel
2021-07-29 08:32
Forum: Scripting
Topic: Processing Incoming Read Receipts
Replies: 12
Views: 244

Re: Processing Incoming Read Receipts

This is what I did Created a Global rule IF Content-Type: Contains report-type=disposition-notification THEN Set header Value X-hmailserver-ReadReceipt YES and it is working as of now. And regarding the Function Setenvelope() I tried implementation as is and called it first thing in Sub onacceptmess...
by gotspatel
2021-07-26 11:44
Forum: Scripting
Topic: Processing Incoming Read Receipts
Replies: 12
Views: 244

Re: Processing Incoming Read Receipts

You cannot use a rule for that other than to launch a script... Rule will look for first instance of string (top down) and use that. You need to process message line by line. Something like this: For i = 0 To oMessage.Headers.Count-1 If (oMessage.Headers(i).Name = "Content-Type") Then .... If InStr...
by gotspatel
2021-07-26 11:10
Forum: Scripting
Topic: Processing Incoming Read Receipts
Replies: 12
Views: 244

Re: Processing Incoming Read Receipts

Thanks for the tip. Found them as below READ RECEIPTS Content-Type: multipart/mixed; report-type=disposition-notification; boundary="----=_NextPart_000_001C_01D77E1B.8A0ACF60" Content-Type: multipart/mixed; boundary="_000_CWXP265MB4570857051E368A1F4FF04DB9DE19CWXP265MB4570GBRP_"; report-type=disposi...
by gotspatel
2021-07-25 10:48
Forum: Scripting
Topic: Processing Incoming Read Receipts
Replies: 12
Views: 244

Processing Incoming Read Receipts

Is there a way to find that whether the email is a "Read Receipt" of the mail sent and not an Email?

so as a custom Header can be sent to it "X-Hmailserver-ReadReceipt" via Script.

TIA
GP
by gotspatel
2021-07-04 14:47
Forum: Scripting
Topic: Creating Rule Script with Multiple Criterias
Replies: 5
Views: 684

Re: Creating Rule Script with Multiple Criterias

Yes using from outside to replicate multiple rules
by gotspatel
2021-07-04 14:36
Forum: Scripting
Topic: Creating Rule Script with Multiple Criterias
Replies: 5
Views: 684

Re: Creating Rule Script with Multiple Criterias

GOT SOLUTION from POWERSHELL by [user]palinka[/user] (the Powershell Guru) HERE IN FORUM Just wondering Can this be used in VB Script eMTUnknown for Custom Header as what is used in powershell $hMSAddRuleCriteria4.UsePredefined = $False This thread was the basis of my powershell work: https://www.h...
by gotspatel
2021-07-04 12:08
Forum: Scripting
Topic: Creating Rule Script with Multiple Criterias
Replies: 5
Views: 684

Re: Creating Rule Script with Multiple Criterias

GOT SOLUTION from POWERSHELL by [user]palinka[/user] (the Powershell Guru)

HERE IN FORUM

Just wondering Can this be used in VB Script

eMTUnknown for Custom Header

as what is used in powershell $hMSAddRuleCriteria4.UsePredefined = $False
by gotspatel
2021-07-04 10:43
Forum: Scripting
Topic: Creating Rule Script with Multiple Criterias
Replies: 5
Views: 684

Creating Rule Script with Multiple Criterias

Referring to COM and other details https://www.hmailserver.com/documentation/v4.4/?page=com_rule https://www.hmailserver.com/documentation/v4.4/?page=com_rulecriteria https://www.hmailserver.com/documentation/v4.4/?page=com_ruleaction and Eg strAdminPassword = "somemagicpassword" Dim obBaseApp set o...
by gotspatel
2021-07-04 10:15
Forum: Development & alpha discussions
Topic: Sub OnHELO(oClient) progress?
Replies: 248
Views: 245836

Re: Sub OnHELO(oClient) progress?

manos2000 wrote:
2021-07-01 20:29
@RvdH thank you so much for your builds/packages, i always install

If you will ever have time please post for the 5.6.8-B2555



Thanks!
You can grab it from here
Link to Download
by gotspatel
2021-06-29 13:58
Forum: General discussions
Topic: Import/export email from cpanel external server
Replies: 9
Views: 5386

Re:

^DooM^ wrote:
2007-09-05 11:35
Your best bet would be to use IMAPCopy

You do need to know the users passwords though.
Very OLD POSt BUT IT SAVED MY DAY.

Thanks a lot :D
by gotspatel
2021-06-24 13:06
Forum: User-submitted tutorials
Topic: HOW TO run Clamwin and have a ClamAV system SERVICE
Replies: 236
Views: 307921

Re: HOW TO run Clamwin and have a ClamAV system SERVICE

jimimaseye wrote:
2021-06-24 12:04


This thread is about clamwin. Clamwin is still at 0.103.2.1.
MY BAD. :oops:
by gotspatel
2021-05-25 14:07
Forum: User contributed hMailServer 5 scripts
Topic: Need Script : Enable Auto Reply on specific mailbox on weekend
Replies: 6
Views: 924

Re: Need Script : Enable Auto Reply on specific mailbox on weekend

Hello Support, We are getting syntax error when we place the OutofOffice script below sub OnAcceptMessage(oClient, oMessage). Please refer to attached screenshot. Awaiting for your response. Regards Akshay Purabia sub OnAcceptMessage(oClient, oMessage) Check that "Sub" is there in your code, it is ...
by gotspatel
2021-05-25 12:22
Forum: Off-topic discussions
Topic: SaneSecurity.Foxhole false positives on DMARK reports
Replies: 30
Views: 1926

Re: SaneSecurity.Foxhole false positives on DMARK reports

RvdH wrote:
2021-05-25 11:58

Some signatures simply haven't been updated in ages, both on http(s) mirror as on official rsync server.... you never noticed that as you never looked at that before
New Image https://imgur.com/a/1rfENCb

Some How the list has been updated just now. :lol:

Did you do it? :lol: (Just Joking)
by gotspatel
2021-05-25 11:53
Forum: Off-topic discussions
Topic: SaneSecurity.Foxhole false positives on DMARK reports
Replies: 30
Views: 1926

Re: SaneSecurity.Foxhole false positives on DMARK reports

What is the benefit of using the official ClamAV distribution compared to the https://oss.netfarm.it/clamav/ which is optimized to run as a service under Windows? The official ClamAV distribution is missing functionality (under Windows) and that is exactly what Gianluigi's fork steps in. @gotspatel...
by gotspatel
2021-05-25 11:18
Forum: Off-topic discussions
Topic: SaneSecurity.Foxhole false positives on DMARK reports
Replies: 30
Views: 1926

Re: SaneSecurity.Foxhole false positives on DMARK reports

Thanks for the info. Will check and move to freshclam update list. :D

Also changing from official CLAMAV to Gianluigi's fork
by gotspatel
2021-05-25 06:00
Forum: Off-topic discussions
Topic: SaneSecurity.Foxhole false positives on DMARK reports
Replies: 30
Views: 1926

Re: SaneSecurity.Foxhole false positives on DMARK reports

palinka wrote:
2021-05-24 22:27


I got it working with task scheduler. I was using the sane security rsync script before, so I moved those sigs to the freshclam conf and its working every half hour since I enabled it.
I think there is a rate limit for check at minimum 1 Hour else they may block update for some time.
by gotspatel
2021-05-24 06:06
Forum: Off-topic discussions
Topic: SaneSecurity.Foxhole false positives on DMARK reports
Replies: 30
Views: 1926

Re: SaneSecurity.Foxhole false positives on DMARK reports

:P DAMN and I thought I was the only one having this problem in the official clamav 0.103.2 I made a Task Schedule manually run a batchfile, but strangely sometime the task scheduler doesn't run that also, investigating it now. BATCH FILE START "" CMD /c "C:\Program Files\ClamAV\freshclam.exe" I had...
by gotspatel
2021-04-22 14:23
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Very Confusing

https://www.iplocation.net/ip-lookup

Shows Netherlands, USA, China :!:
by gotspatel
2021-04-22 13:00
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Sir You are missing the file GeoLite2SQL.ps1 on git The problem is in L190 $CountryLocations = "$PSScriptRoot\GeoLite2-Country-CSV\GeoLite2-Country-Locations- $CountryLocationLang .csv" Its not missing. It was removed. Use GeoLite2SQL-Country.ps1 or GeoLite2SQL-City.ps1 (or both). I probably have t...
by gotspatel
2021-04-22 09:00
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

Thanks to Mr. Soren, I have implemented the solution to parse the mail and send a modified copy of mails to some users. Below is complete details for someone with same requirement. RULE (It can be Global or Account) [In mycase It worked with Account rule] Rule: BankMailParsing Criteria: (use AND) Cu...
by gotspatel
2021-04-22 05:52
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

If you want you can ask them for batch corrections for multiple IP here https://support.maxmind.com/correction-faq/submit-a-correction/can-i-submit-batch-corrections/ Are you SURE the error is on MaxMind? :wink: I would not submit a correction unless I controlled or at least had personal knowledge ...
by gotspatel
2021-04-22 05:50
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Thanks for the update will inform the maxmind people for the correction. Meanwhile $LocationLanguage if used then the CSV with "en" is not parsed. and it throws error. 21/04/2021 07:04 PM : MaxMind data successfully downloaded in 7 seconds 21/04/2021 07:04 PM : MaxMind data successfully unzipped in...
by gotspatel
2021-04-21 15:35
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Thanks for the update will inform the maxmind people for the correction. Meanwhile $LocationLanguage if used then the CSV with "en" is not parsed. and it throws error. 21/04/2021 07:04 PM : MaxMind data successfully downloaded in 7 seconds 21/04/2021 07:04 PM : MaxMind data successfully unzipped in ...
by gotspatel
2021-04-21 14:51
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Just tested with this ip 45.58.142.12 it says china but it is actually netherlands, any idea Why?

I also tested many other IP They come correct.

Also a small glitch in GeoLite2SQL-Config.dist.ps1 Line 58

It should be $CountryLocationLang = "en"
by gotspatel
2021-04-07 05:43
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

Second lookup where body is "text/html" you still refer to "oMessage.Body" in "oLookup" and "Replace". I believe that should be "oMessage.HTMLBody" . Also, your rule ... body contains "BALANCE line to redact" ... Again, this is "text/plain" only and does such a text exist in the email body? Perhaps...
by gotspatel
2021-04-06 07:43
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

mails come from alerts@mybank.com to finance@mydomain.com Global Rule: If from contains alerts@mybank.com body contains "BALANCE line to redact" X-hMailServer-LoopCount < 1 Action: 1) Forward unredacted to distribution list No 1 2) Run function to redact 3) Forward to distribution list No 2 Mails o...
by gotspatel
2021-04-01 11:46
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

If oMessage.HeaderValue("X-hMailServer-LoopCount") = "" Then I don't think that header exists wehn it's empty.... oMessage.HeaderValue("X-hMailServer-LoopCount") only is added when loopcount > 0 Got that. Thanks. Already removed them but still figuring out the exact sequencing for achieve what I wa...
by gotspatel
2021-03-30 07:00
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

One problem I found that even the finance@mydomain.com is getting the redacted mail :roll: Naturally, since it was edited before delivery. I guess one thing you could is set up an intermediate account. Create finance-temp@mydomain.com. Then: Global Rule If: from contains bankmail@bank.com body cont...
by gotspatel
2021-03-29 17:03
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Glad to be of service :mrgreen: I actually found a bug, nothing major and if you only run the script once a week it does not matter... It's the "fc" file compare on one of the datasets that trigger mysqlimport also when downloaded data is not changed by comparing files that will never match. :roll:...
by gotspatel
2021-03-29 17:02
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

All Files are being created with the "network","geoname_id" EXCEPT "CSV-DB.csv" is created without the headers. This is clearly something on your end. Try this powershell. Put the script in some place that's NOT where you're running geolite2sql: FOUND THE ISSUE The database table being EMPTY the co...
by gotspatel
2021-03-29 15:35
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

If you are like me where PowerShell is a bit like "Yeah, I'll get into it when I get some spare time" then perhaps try this old school approach. :mrgreen: Ok, I've been working on indexes to optimize stuff and field types to get rid of all the warning during import. This is the "local" version wher...
by gotspatel
2021-03-29 06:08
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

All Files are being created with the "network","geoname_id" EXCEPT "CSV-DB.csv" is created without the headers. This is clearly something on your end. Try this powershell. Put the script in some place that's NOT where you're running geolite2sql: $DBcsv = "$PSScriptRoot\Script-Created-Files\CSV-DB.c...
by gotspatel
2021-03-28 14:06
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Sorry to bug you but still problem is here Can you confirm these files exist with the headers intact? Add-Content -Path $MMcsv -Value '"network","geoname_id"' Add-Content -Path $DBcsv -Value '"network","geoname_id"' Add-Content -Path $ToAddIPv4 -Value '"network","geoname_id"' Add-Content -Path $ToD...
by gotspatel
2021-03-28 07:10
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

Sorry to bug you but still problem is here Compare-Object -ReferenceObject $(Get-Content $DBcsv) -DifferenceObject $(Get-Content $MMcsv) | ForEach-Object { THE LOG PS C:\Users\NSP.Admin> C:\Scripts\GeoIP\GeoLite2SQL.ps1 Directory: C:\Scripts\GeoIP Mode LastWriteTime Length Name ---- ------------- --...
by gotspatel
2021-03-27 06:12
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

New-Item -Path $MMcsv -Value '"network","geoname_id"' New-Item -Path $DBcsv -Value '"network","geoname_id"' New-Item -Path $ToAddIPv4 -Value '"network","geoname_id"' New-Item -Path $ToDelIPv4 -Value '"network","geoname_id"' RESULT: PS C:\Users\NSP.Admin> C:\Scripts\GeoIP\GeoLite2SQL.ps1 Directory: ...
by gotspatel
2021-03-26 13:37
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

<# Delete old files if exist #> VerboseOutput "Deleting old files" $Timer = Get-Date If (Test-Path "$PSScriptRoot\GeoLite2-Country-CSV") {Remove-Item -Recurse -Force "$PSScriptRoot\GeoLite2-Country-CSV"} If (Test-Path "$PSScriptRoot\Script-Created-Files\GeoLite2-Country-CSV.zip") {Remove-Item -Forc...
by gotspatel
2021-03-26 12:41
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

No so other error after replacing the block Directory: C:\Scripts\GeoIP Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 26/03/2021 04:09 PM Script-Created-Files -a---- 26/03/2021 04:09 PM 0 DebugLog.log 16:09:19 : 00:00 : GeoIP Update Start 16:09:19 : 00:00 : Deleting old files ...
by gotspatel
2021-03-26 10:03
Forum: Scripting
Topic: MaxMinds GeoIP for local MySQL
Replies: 81
Views: 21798

Re: MaxMinds GeoIP for local MySQL

RAN INTO A PROBLEM geo_ip table is created but it is blank with no values Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 26/03/2021 01:05 PM 0 DebugLog.log 13:05:08 : 00:00 : GeoIP Update Start 13:05:08 : 00:00 : Deleting old files 13:05:08 : 00:00 : Downloading MaxMind data 13...
by gotspatel
2021-03-24 17:23
Forum: Scripting
Topic: Firewall Ban
Replies: 165
Views: 87660

Re: Firewall Ban

Will check that out tomorrow.

Thanks
by gotspatel
2021-03-22 13:16
Forum: Scripting
Topic: Firewall Ban
Replies: 165
Views: 87660

Re: Firewall Ban

Thanks will check it out.

The error is random as I am already getting ONLOGIN entries in my database.
by gotspatel
2021-03-22 07:45
Forum: Scripting
Topic: Firewall Ban
Replies: 165
Views: 87660

Re: Firewall Ban

Getting an Error "ERROR" 8396 "2021-03-22 09:36:01.591" "Script Error: Source: Microsoft VBScript runtime error - Error: 800A000D - Description: Type mismatch: 'oGeoip' - Line: 138 Column: 3 - Code: (null)" ' Credit 99.9% to SorenR Function AccRejDB(xPort, xEvent, xAccRej, xReason, xIPAddress, xHELO...
by gotspatel
2021-03-16 15:30
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

One problem I found that even the finance@mydomain.com is getting the redacted mail :roll:
by gotspatel
2021-03-16 14:18
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

I think that can all be done by rule. If from finance Action: 1) Forward unredacted to appropriate person 2) Run function to redact 3) Forward to distribution list Is this Possible / OR Viable sorry for little confusion in my previous post. mails come from bankmail@bank.com to finance@mydomain.com ...
by gotspatel
2021-03-16 14:04
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

Can you elaborate on the intended functionality? Should the message be modified BEFORE forwarding - thus also modifying the original message? (your initial suggestion) My intended use is as We are getting mails from bank on email finance@mydomain.com I want to forward copies to some users with the ...
by gotspatel
2021-03-16 11:09
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

I'm not really sure what else to use the "Groups" for ... :mrgreen: Isn't that for Public folder permissions Yes - but not exclusively :mrgreen: Am I on the right Track?? Option Explicit ' ' COM authentication ' Private Const ADMIN = "administrator" Private Const PASSWORD = "Cosmic Secret Password"...
by gotspatel
2021-03-13 15:06
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

Try this instead. You can reuse the function for other things. Function oLookup(strRegEx, strMatch, bGlobal) If strRegEx = "" Then strRegEx = StrReverse(strMatch) With CreateObject("VBScript.RegExp") .Pattern = strRegEx .Global = bGlobal .MultiLine = True .IgnoreCase = True Set oLookup = .Execute(s...
by gotspatel
2021-03-12 13:00
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Re: Modifying the Body before Forwarding

Try this instead. You can reuse the function for other things. Function oLookup(strRegEx, strMatch, bGlobal) If strRegEx = "" Then strRegEx = StrReverse(strMatch) With CreateObject("VBScript.RegExp") .Pattern = strRegEx .Global = bGlobal .MultiLine = True .IgnoreCase = True Set oLookup = .Execute(s...
by gotspatel
2021-03-12 11:15
Forum: Scripting
Topic: Modifying the Body before Forwarding
Replies: 31
Views: 3665

Modifying the Body before Forwarding

Hi, Need small help, I want to remove one line from the mail and forward it to a user. Where I am making mistake. Sub Bankmail(oMessage) 'custom event 'uses globals: 'called from: Rules Dim txtMsg, aspMsg If oMessage.HeaderValue("X-hMailServer-LoopCount") = "" Then If oMessage.HasBodyType("text/plai...
by gotspatel
2021-01-25 14:06
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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: 22231

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...