Search found 2475 matches

by palinka
2020-11-10 19:46
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

Just looking at it again. Your error was "bad index". I've noticed that sometimes operations will only accept a declared variable. In my DO loops, I end them with a com variable like this: } Until ($IterateDomains -eq $hMS.Domains.Count) Sometimes things break unless you use a variable like this: $D...
by palinka
2020-11-10 19:36
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

Yea seems like it....can't get this to work (to bad) I just looked at your error a little closer. Line 186 is at the beginning - not even part of a recursive function. Do ANY com scripts work on the affected server? Are you running the script on the same machine? If that was the very first error, i...
by palinka
2020-11-10 17:26
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

Yea seems like it....can't get this to work (to bad) I just looked at your error a little closer. Line 186 is at the beginning - not even part of a recursive function. Do ANY com scripts work on the affected server? Are you running the script on the same machine? If that was the very first error, i...
by palinka
2020-11-10 16:46
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

All powershell are not created equal... :roll: That's why you try before you buy... Can you try on your server again, but change the number of days to 1? Yea seems like it....can't get this to work (to bad) I don't believe the script uses any "new" modules. Its just com stuff. Is recursive function...
by palinka
2020-11-10 15:18
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 272
Views: 94823

Re: Corona Virus

jimimaseye wrote:
2020-11-10 11:37
Because the outgoing U.S president...
There is no outgoing president. There is a current president awaiting re-inauguration and a fake-news-pretending-to-be pipe dream of a president. But no outgoing president. Not in 2020.
by palinka
2020-11-10 15:13
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 272
Views: 94823

Re: Corona Virus

Yep that one But we seem to have gone an extra step at times in the past. We have been known to have two or more geographically disparate areas (areas that aren't connected) grouped together to form an electorate. That sort of sounds like what happens in the US, too. There may be two geographical a...
by palinka
2020-11-09 18:41
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

My powershell (win 10) is version 5. PS C:\Users\palinka> $PSVersionTable Name Value ---- ----- PSVersion 5.1.19041.546 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.19041.546 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 Serializat...
by palinka
2020-11-09 16:34
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

On (Work production) Server 2012, HMS 5.6.8 (PowerShell 3.0) I get a massive amount of errors like this when running a test run: Begin deleting messages older than 30 days Delete disabled - Test Run ONLY Exception getting "Item": "Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)...
by palinka
2020-11-08 04:34
Forum: Off-topic discussions
Topic: Floyd
Replies: 45
Views: 15877

Re: Floyd

Don't look behind the curtain and don't look inside the sausage factory.
by palinka
2020-11-08 04:10
Forum: Off-topic discussions
Topic: Floyd
Replies: 45
Views: 15877

Re: Floyd

Its very simple. Its the same process as when you have any dispute. If you feel that you have no chance or that you've genuinely lost, you simply concede. Has that happened? No. Any idea why? Spare me the pop psychology. Be patient. Its not over. Trump will win. The fake news is doing everything the...
by palinka
2020-11-08 01:32
Forum: Off-topic discussions
Topic: Floyd
Replies: 45
Views: 15877

Re: Floyd

He still comes off as the law and order guy, not the riot guy. He's going to win in a landslide . Well, that worked then. 🤣 After the fraudulent votes are discounted, its a landslide by any definition. I don't know what the fake news in Europe is saying, but its probably the same as here. " JoePedo...
by palinka
2020-11-07 14:22
Forum: General discussions
Topic: SMTPC relay Amazon SES error 554 Missing Final domain
Replies: 14
Views: 5760

Re: SMTPC relay Amazon SES error 554 Missing Final domain

After more investigation our current progress points to: we need to send the message with an Amazon validated sender FROM address. Have a look at this: https://stackoverflow.com/questions/8613776/amazon-ses-smtp-smtpdataerror-554-transaction-failed-missing-final-domain#10840386 I also read somethin...
by palinka
2020-11-06 03:14
Forum: General discussions
Topic: Empty Folders in Data Directory
Replies: 5
Views: 4236

Re: Empty Folders in Data Directory

Perfect. The way I read it, it looks like its ok to delete empty folders. I imagine they'll be recreated later if needed. Just like they were the first time.

Its not a big deal. I was just curious.
by palinka
2020-11-06 00:40
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 16287

Re: hMailServer Offsite Backup

Added a download script that will download all archive volumes of the last backup to a specified folder.
by palinka
2020-11-05 23:41
Forum: General discussions
Topic: Outlook Issue
Replies: 8
Views: 4633

Re: Outlook Issue

kernelmalta wrote:
2020-11-05 22:22
Thanks for the replies I will try the clients, just a quick question how for the past years everything worked fine
what could have happened / changed
Microsoft never updates outlook?
by palinka
2020-11-05 23:39
Forum: General discussions
Topic: using hMailServer for receive direction only
Replies: 3
Views: 2724

Re: using hMailServer for receive direction only

but as far as i understand, sending emails over the smtp server of the external account does not work. right? That depends mainly on whether you have control of the external account. hMailServer is only able to use a single smtp relay and is not configurable per user account. right? You can use as ...
by palinka
2020-11-05 18:57
Forum: General discussions
Topic: Outlook Issue
Replies: 8
Views: 4633

Re: Outlook Issue

I still need to look at profiles, but this iOS issue is puzzling as seems the only free client that works with imap is outlook I use https://www.emclient.com/ Free and paid versions. Largely an Outlook knock-off with a functioning IMAP. +1 No issues. For mobile, try Nine email/groupware client.
by palinka
2020-11-05 18:18
Forum: General discussions
Topic: Empty Folders in Data Directory
Replies: 5
Views: 4236

Re: Empty Folders in Data Directory

I have lots of empty folders in my data directory. Is there any reason they should not be deleted? You don't mess with system generated folders... :( Any idea why they even exist if they're empty? Why would they not be "system deleted folders" if all messages contained therein are removed?
by palinka
2020-11-05 17:39
Forum: General discussions
Topic: Empty Folders in Data Directory
Replies: 5
Views: 4236

Empty Folders in Data Directory

I have lots of empty folders in my data directory. Is there any reason they should not be deleted?
by palinka
2020-11-04 16:39
Forum: General discussions
Topic: Unseen message
Replies: 13
Views: 5672

Re: Unseen message

Anyone have a solution to resolve this situation or avoid happen ? dont use iphones legacy app Nine is the bestest. Do they have that for iphone? Absolutely worth every penny and then some. Its the only app I could find that worked for every account, every email/groupware platform, including my hor...
by palinka
2020-11-04 13:36
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 16287

Re: hMailServer Offsite Backup

Added choice of plain text or html email report. Html has fancy schmancy colors green, yellow and red for OK, INFO and ERROR.
by palinka
2020-11-03 21:28
Forum: General discussions
Topic: Cannot load / run new install of hMailServer
Replies: 4
Views: 3542

Re: Cannot load / run new install of hMailServer

Which database are you using? I'm using MariaDB. When I had the same issue, i went to their download page and downloaded the 32 bit MariaDB zip file installer (same version number as the MariaDB I have installed), then extracted libmysql and put it in the hmailserver bin folder. Then everything work...
by palinka
2020-11-03 04:15
Forum: General discussions
Topic: Hold release outgoing mail
Replies: 2
Views: 3050

Re: Hold release outgoing mail

Just address it to the manager... Or create a rule that forwards to the manager then deletes the original There is no mechanism to 'hold' messages that can be delivered Have the app create 2 copies of the message: one to the manager and one to the original recipient. When the manager clicks OK, the...
by palinka
2020-11-02 17:24
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

I cleaned up a bunch of stuff like variable naming so it makes more sense, plus better error checking. Working great now. Everything below <# Begin hMailServer Backup Prune Messages #> is taken straight from my working backup script: https://github.com/palinkas-jo-reggelt/hMailServer_Offsite_Backup ...
by palinka
2020-11-02 14:11
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 16287

Re: hMailServer Offsite Backup

Updated message pruning script to look down all subfolder levels that exist. Also deletes empty subfolders of matching folders.

See here for testing: https://hmailserver.com/forum/viewtopic.php?f=9&t=35463
by palinka
2020-11-02 14:08
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

Worked as intended in last night's backup routine. :D
by palinka
2020-11-02 01:28
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

I've been testing by creating several levels of subfolders and copying old messages. Seems to work perfectly now. I'm going to implement it tonight into my backup routine.
by palinka
2020-11-01 22:45
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

OK, I think I fixed that search-for-empty-folders issue. Look at function SubFoldersEmpty. Otherwise, I'm very confident in the message deleting. You can turn off DeleteEmptySubfolders in the config if you don't want to do that, but I think its good now. Anyway, set DoDelete to false for testing. <#...
by palinka
2020-11-01 19:53
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

:evil: Still now working.
by palinka
2020-11-01 19:30
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Re: Delete messages older than N days

OOPS... I wish the post edit time were longer. Already found a flaw in the delete folder > check subfolders for messages logic. It was doing the exact opposite of what was intended! :oops: Its fixed now. <# .SYNOPSIS Prune Messages .DESCRIPTION Delete messages in specified folders older than N days ...
by palinka
2020-11-01 18:49
Forum: Scripting
Topic: Delete messages older than N days
Replies: 28
Views: 9491

Delete messages older than N days

There's a few of these around here, so this is nothing new, of course. But I do think I've improved on it, so I'm sharing it here. As part of my hmailserver backup offsite routine I also made a fairly simplistic cleardown script, which was basically Jimimaseye's backup and cleardown script but rewri...
by palinka
2020-10-31 13:39
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 272
Views: 94823

Re: Corona Virus

All of these countries have had wearing masks as compulsory for months. And still are. As I said, it doesn't look like wearing masks works, does it. And one has to remember to factor in the quality of what people are wearing out there and suitability of how people wear them. After all, the average ...
by palinka
2020-10-30 15:20
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 16287

Re: hMailServer Offsite Backup

I added better error handling for the upload part. * If there is a failure during upload, it will try again N times (specified in the config). * If there's a successful upload, but the remote file size does not match the size of the file uploaded, it will throw an error, delete the uploaded file and...
by palinka
2020-10-27 19:35
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 16287

Re: hMailServer Offsite Backup

Probably the most useful script in the whole place. 👍
by palinka
2020-10-27 17:51
Forum: Scripting
Topic: hMailServer Offsite Backup
Replies: 72
Views: 16287

hMailServer Offsite Backup

First of all, I have to give Jimimaseye 100% credit for this. Except for the uploading part, its all from his backup script here: https://hmailserver.com/forum/viewtopic.php?f=21&t=28139 which I've been using with great success for over a year. I wasn't planning on touching it at all, but I couldn't...
by palinka
2020-10-27 15:29
Forum: General discussions
Topic: Cannot send mail via client
Replies: 124
Views: 24055

Re: Cannot send mail via client

I have ran some of those tests... I don't have DKIM signature .. SPF: You will certainly need those things (and more) Ok I get that I need this and that... but can you explain whats the meaning of every other thing? how do I get it ? and what its purpose ? https://en.wikipedia.org/wiki/Sender_Polic...
by palinka
2020-10-27 04:00
Forum: General discussions
Topic: Possible port 25 block and MX record issues
Replies: 7
Views: 3971

Re: Possible port 25 block and MX record issues

You’ve set up a mx record for mx. zgamelogic.com: https://mxtoolbox.com/SuperTool.aspx?action=mx%3amx.zgamelogic.com That’s the reason why the mx record for zgamelogic.com couldn’t be found. Yes. OP should change the mx record from mx.zgamelogic.com to zgamelogic.com, then point it to either mail.z...
by palinka
2020-10-26 00:29
Forum: General discussions
Topic: Cannot send mail via client
Replies: 124
Views: 24055

Re: Cannot send mail via client

I want to make sure it works perfectly There is SO MUCH more to running a mailserver than simply installing the software and opening ports on your router (with instruction). You need a valid SSL certificate, and not a self signed one You need SPF, DKIM and DMARC records You need RDNS to match your ...
by palinka
2020-10-25 20:14
Forum: General discussions
Topic: 550 Rejected by SpamCop - when using Sendgrid
Replies: 24
Views: 8323

Re: 550 Rejected by SpamCop - when using Sendgrid

SendGrid suffered an incursion in August and a large number of customer accounts were compromised. https://krebsonsecurity.com/2020/08/sendgrid-under-siege-from-hacked-accounts/ Spammer quickly hoovered up the account and the resulting spam assault BL many SendGrid IPs. They are still recovering. I...
by palinka
2020-10-23 20:03
Forum: Scripting
Topic: Free Unlimited Offsite Backup
Replies: 5
Views: 2943

Re: Free Unlimited Offsite Backup

Fixed a bug that caused file encoding to corrupt the archive to be uploaded. Took a while to figure that one out. Clue was here: https://stackoverflow.com/questions/25469118/trouble-with-powershell-script-to-call-http-post-with-multipart-form-data #ISO-8859-1 is only encoding where byte value == cod...
by palinka
2020-10-23 15:09
Forum: General discussions
Topic: 550 Rejected by SpamCop - when using Sendgrid
Replies: 24
Views: 8323

Re: 550 Rejected by SpamCop - when using Sendgrid

Firstly, it wasn't vicious by even the broadest standard. Being accused of spamming on the internet is about the same as being accused of a murder in real life, so yes, this was vicious. Hmmmm....... That's interesting. Let's review: A) Someone hurt your feelings vs B) Arrest, prosecution, $$$ to d...
by palinka
2020-10-22 21:24
Forum: General discussions
Topic: 550 Rejected by SpamCop - when using Sendgrid
Replies: 24
Views: 8323

Re: 550 Rejected by SpamCop - when using Sendgrid

PS: I do not understand why you are viciously attacking an innocent victim. Sendgrid is for spamming like HTTP is for child porn. I cannot help it: I have to develop a wrapper for Sendgrid API for an infrastructure monitoring application, but you keep attacking me personally. Give your head a shake...
by palinka
2020-10-21 14:19
Forum: Off-topic discussions
Topic: Why using "master" in Github is bad ...
Replies: 23
Views: 7562

Re: Why using "master" in Github is bad ...

I came across a thing called 'USER_IN_WELCOMELIST', previously know as 'USER_IN_WHITELIST' in spamassassin....we are kind of going crazy with blm, aren't we? Allthough, blacklist_from seems unchanged (yet) From recent back and forth in the SA user list, there is only one set of rules for all versio...
by palinka
2020-10-21 14:06
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

Meh... All signs point to landslide victory. Yard signs, merchandise, donations, every conceivable metric. Except fake news polls. They're the only holdout and just as fake as they were in 2016. There is simply zero enthusiasm for the corrupt, senile kiddie diddler candidate that hides in his basem...
by palinka
2020-10-21 00:38
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

I wouldn't worry about that. Trump is the peace president, disengaging from eternal war. Plus, he has the election in the bag. A landslide cometh. This is brave. Can you imagine the "told you so" and opportunity for ridicule this is opening up. I presume the "eternal war" should have been "external...
by palinka
2020-10-20 16:30
Forum: General discussions
Topic: hMailServer and Sendgrid
Replies: 15
Views: 4811

Re: hMailServer and Sendgrid

have you read this ? https://sendgrid.com/docs/for-developers/sending-email/getting-started-smtp/ roughly: "Create a SendGrid API key on the API Keys page." "Convert your API key to Base64" "when authenticating use the API username encoded in Base64. Everyone's username is apikey, which is YXBpa2V5...
by palinka
2020-10-20 16:28
Forum: General discussions
Topic: hMailServer and Sendgrid
Replies: 15
Views: 4811

Re: hMailServer and Sendgrid

Ahhh... Sorry, I thought the api key was only for the control panel stuff. They're requiring everyone script an email client. That's probably not a big deal for marketers. hMailServer is not a solution for this API. It looks like they're phasing out smtp relaying altogether. https://sendgrid.com/blo...
by palinka
2020-10-20 15:56
Forum: Scripting
Topic: Free Unlimited Offsite Backup
Replies: 5
Views: 2943

Re: Free Unlimited Offsite Backup

Fixed up a bit. This version creates the archive as well as upload. <# .SYNOPSIS LetsUpload Backup Utility .DESCRIPTION Compresses and uploads folder contents to LetsUpload.io .FUNCTIONALITY Compresses and uploads folder contents to LetsUpload.io .PARAMETER UploadFolder Specifies the folder on local...
by palinka
2020-10-20 15:37
Forum: General discussions
Topic: hMailServer and Sendgrid
Replies: 15
Views: 4811

Re: hMailServer and Sendgrid

SMS should do the trick. Get a code, type it in... Easy peasy. I'm sorry but I don't follow you If sendgrid offers SMS as a 2FA method, you make your request for new keys, they send you a text with a one time code, you use the code to validate the 2FA form. Then you get your new keys. Just like whe...
by palinka
2020-10-20 13:15
Forum: General discussions
Topic: hMailServer and Sendgrid
Replies: 15
Views: 4811

Re: hMailServer and Sendgrid

SMS should do the trick. Get a code, type it in... Easy peasy.
by palinka
2020-10-20 03:06
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

mattg wrote:
2020-10-19 23:39
I thought that the war had already began...
That's just the pretend one. Fills the TV screens but doesn't amount to much. Its more or less reality TV.
by palinka
2020-10-19 18:46
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

SorenR wrote:
2020-10-19 15:56
If Trump refuses to accept he lost and starts WW3 ... Yes!
I wouldn't worry about that. Trump is the peace president, disengaging from eternal war. Plus, he has the election in the bag. A landslide cometh. I predict much wailing and gnashing of teeth.
by palinka
2020-10-19 15:50
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

SorenR wrote:
2020-10-19 15:19
It can also come in handy if the global DNS network is damaged.
Is that something you're expecting? :D
by palinka
2020-10-19 11:50
Forum: Scripting
Topic: Free Unlimited Offsite Backup
Replies: 5
Views: 2943

Re: Free Unlimited Offsite Backup

I will. Thanks for the tip!
by palinka
2020-10-19 03:44
Forum: General discussions
Topic: A strange issue with STARTTLS
Replies: 4
Views: 2219

Re: A strange issue with STARTTLS

Sorry, I don't have a solution for you, but this happens when TLS is required from the beginning by the client. StartTLS on 587 first connects unencrypted and then upgrades the connection to TLS. 465 starts the connection with TLS (no unencrypted connection/upgrade). Your client is going in hot (enc...
by palinka
2020-10-19 03:31
Forum: Scripting
Topic: Free Unlimited Offsite Backup
Replies: 5
Views: 2943

Free Unlimited Offsite Backup

No, this is not spam. :lol: I had an idea to backup my work files so I started looking around for a dropbox/onedrive/googledrive type of solution. None of them had a free account with enough storage. Then I found letsupload.org with FREE UNLIMITED storage. Who knows how long this will last but may a...
by palinka
2020-10-18 18:39
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

johang wrote:
2020-10-18 17:50
since you are stating you dont want your hmailserver to be internet connected, there is no need to worry for the diagnostics program reporting that the mx record cant be resolved
I agree. Just ignore it.
by palinka
2020-10-18 16:59
Forum: User-submitted tutorials
Topic: HOW TO: Ready-To-Go Backup and Cleardown script
Replies: 165
Views: 121216

Re: HOW TO: Ready-To-Go Backup and Cleardown script

What if there were a way to backup your server into an AES-256 encrypted archive, then upload it to a free file storage site that allows unlimited storage space and will hold your backups for 60 days, no matter how large the files are? Would you say I was completely crazy for suggesting such a thing...
by palinka
2020-10-18 16:53
Forum: General discussions
Topic: Where to place created MX record in hMail
Replies: 29
Views: 9435

Re: Where to place created MX record in hMail

No MX required if you're NEVER going to attempt to contact outside servers, or have mail delivered from the internet. All you need is a local domain: mydomain.local Of course, you're limited to sending messages to your local domain only, but that appears to be your intent. Out of curiosity, what is ...