blackstrat

joined 1 year ago
[–] [email protected] 18 points 1 week ago (26 children)

XML is a superior format to Json or yaml or any of those other trendy formats around today. It's the hill I'm willing to die on because I'm right.

[–] [email protected] 16 points 1 week ago (1 children)

If your toaster can't fit a slice of Warburton' Toastie comfortably, then the CEO of the toaster company gets toasted to death at the stake.

[–] [email protected] 3 points 1 week ago

I still call them Opel Fruits

[–] [email protected] 3 points 1 week ago

The past 10 years has been dominated by female solo singers

[–] [email protected] 14 points 1 week ago

The only sport that is a predominantly physical exercise (so excluding things like snooker, darts, archery etc) where women could compete competitively against men at an equivilent level in their sport (league 1 men vs league 1 women) would be ultra marathons. Most other sports is so mis-matched you'd end up with some random amateur bloke against an elite woman.

Basically if you've gone through male puberty you are vastly different physically from someone who hasn't.

[–] [email protected] 2 points 2 weeks ago

The fact that American English doesn't have the word 'fortnightly' is incredibly confusing on every level.

[–] [email protected] 1 points 3 weeks ago (1 children)

Last year I went from a 10 year old Nikon D7100 with 17-55 f/2.8 to a Nikon Z6 with 24-70 f/4 and holy moly there is an insane difference in quality. I was absolutely blown away. If you can afford it I highly recommend getting something newer. It really breathed fresh air in to my photography and got me excited that I can get really sharp photos, even at high ISOs with good tracking.

[–] [email protected] 12 points 3 weeks ago (4 children)

Then in a few years you'll be gassing for those 3k lenses a 5k camera and a carbon fibre tripod, a few flashguns etc.

[–] [email protected] 1 points 3 weeks ago (1 children)

This, but in big friendly letters.

[–] [email protected] 2 points 3 weeks ago

"Soap is soap, it's self cleaning"

[–] [email protected] 1 points 3 weeks ago

That would involve quite a bit of begging if I were to try that too.

[–] [email protected] 1 points 3 weeks ago (1 children)

You were saying the input size doesn't matter because you only store the hash which is always the same size. What I'm saying is that the input size really does matter.

You absolutely should set upper limits on all input fields because it will be abused if you don't. Systems should validate their inputs, passwords included

 

I've run my own email server for a few years now without too many troubles. I also pay for a ProtonMail account that's been very good. But I've always struggled with PGP keys for encrypting messages to non-Proton users - basically everyone. The PGP key distribution setup just seemed half baked and a bit broken relying on central key servers.

Then I noticed that email I set from my personal email to my company provided email were being encrypted even though I wasn't doing anything to achieve this. This got me curious as to why that was happening which lead me to WKD (Web Key Directory). It's such a simple idea for providing discoverable downloads for public keys and it works really well having set it up for my own emails now.

It's basically a way of discovering the public key of someone's email by making it available over HTTPS at an address that can be calculated based on the email address itself. So if your email is [email protected], then the public key can be hosted at (in this case) https://openpgpkey.example.com/.well-known/openpgpkey/example.com/hu/pmw31ijkbwshwfgsfaihtp5r4p55dzmc?l=name this is derived using a command like gpg-wks-client --print-wkd-url [email protected]. You just need an email client that can do this and find the key for you automatically. And when setting up your own server you generate the content using the keys in your gpg key ring using env GNUPGHOME=$(mktemp -d) gpg --locate-keys --auto-key-locate clear,wkd,nodefault [email protected]. Move this generated folder structure to your webserver and you're basically good to go.

I have this working with Thunderbird, which now prompts me to do the discoverability step when I enter an email that doesn't have an associated key. On Android, I've found OpenKeyChain can also do a search based just on the email address that apps like K9-Mail (to be Thunderbird mail) can then use.

Anyway, I thought this was pretty cool and was excited to see such an improvement in seamless encryption integration. It'd be nicer if on Thunderbird and K9 it all happened as soon as you enter an email address rather than a few extra steps to jump through to perform the search and confirm the keys. But it's a major improvement.

Does your email provider have WKD setup and working or do you use it already?

 

I noticed that I wasn't getting many mails (I need better monitoring), and discovered that my iredmail server was poorly.

I have spent far too much time and energy on getting it back and working these past few days, but I've finally got it back up and stable.

Some background: I've had iredmail running for probably going on 6 years now and have had very few issues at all. It runs on an Ubuntu VM on Proxmox and originally was running in the same VM on ESXi (I migrated it over). I haven't changed anything to do with the VM for years other than the Ubuntu LTS updates every 2-3 years, it's always been there and stable. I occasionally will update the Ubuntu OS and iredmail itself, no problems.

Back to the problem... I noticed that Postfix was running OK, but was showing a bunch of errors about clamav not being able to connect. Odd. I then noticed that amavis was not running and had seemed to just die. I couldn't find any reason in any log file. Very strange. Bunch of hunting, checking config file history in the git repo. Nothing significant for years.

Find that restarting the server got everything back up and running. Great, lets go to bed.... Wake up next morning to find that amavis was dead again - it only lasted about 40 mins and then just closed for no reason. Right, ok, time to turn off clamAV as that seemed be be coming up a bit wheilst looking, follow the guide, all is well. Hmm, this seems to be working, but I don't really want clamav off. A whole bunch of duck duck going and I still couldn't figure out a root cause.

And then it clicked, the thing that was causing amavis to close was that it was running out of memory and it was being killed. Bump the memory up to 4GB and re-enable everything as it originally was and.... it seems to have worked. Been going strong for over a day now.

I don't know what it was that's changed recently which has meant the memory requirements have gone up a bit, but at least it's now fixed and it took all of 2 minutes to adjust.

The joys of selfhosting!

 
view more: next ›