Hacker Newsnew | past | comments | ask | show | jobs | submit | itnerd's commentslogin

I haven’t had a chance to play with this yet, but my curiosity is piqued.

Why PostgreSQL instead of SQLite?

There is an opportunity to BCC all messages on the way through to create an Archive of mail that has left the system.

Can this match outbound mails FROM and/or local SMTP-AUTH to a specific Mail Provider Account? ie - Can I have 5 Office 365 accounts as separate mail providers that each handle different mail based on the mail’s origin parameters?

Would you consider an ordered full matrix conditional map of which outbound account should be used: Local-SMTP-User, From Regex, To Regex? I’ve got a need to send specific Mail “RCPT TO” via Google Workspace for deliverability reasons, while I’d like all other Mail to go out my main provider.

I guess what I’m sharing is… if you have interest in making this a feature rich tool, I have a complex Smart Host configuration I’d be willing to move here as a test.


Okay... so I started playing with the tool.

There is currently a 1:1 relationship between a client and a provider. I think this should greatly be decoupled. I'd replace clients with "first match wins" mail routes.


Does PD include a specification that allows a client device to share its current battery level? How does Apriv know which device “needs” a high output level?

> Using dual-port modules, the system recognizes that, say, one smartphone battery in the vehicle is at 5 percent of capacity and a second phone is at 75 percent. The programming module gives the former device 100W and the latter 25W.


USB-PD 3.1 provides both a Get_Battery_Cap message, which asks the sink to tell the source the capacity of its battery) and a Get_Battery_Status message, which asks the sink to inform the source about the current charge of its battery.

Here's an example capture of an exchange between my MacBook Pro and iPad: https://imgur.com/a/8rZlN9X

The iPad responds to Get_Battery_Cap with Battery_Capabilities, which reports the total capacity in Wh:

USB Vendor ID: 0x05AC Product ID: 0x0000 Design capacity: 280 Last full-charge capacity: 280 Battery reference: valid

And then when the MBP asks for battery status, the iPad returns a Battery_Status message:

Battery is present. Present capacity: 14.2Wh Charging state: charging.

Later on, as the charging continues, the iPad will issue an Alert message:

Reported alerts: Battery status changed. Affected batteries: Fixed battery slots: 1

And then the MBP will send a Get_Battery_Status again, and so on. (Example capture here: https://imgur.com/a/TI5maV0

What's really cool is that this exchange happens both ways—the iPad also sends a Get_Battery_Cap message to the MBP, because it is also capable of acting as a source, and, if the laptop's battery drops sufficiently low, the source/sink roles may swap (using a DR_Swap message) so that the iPad ends up charging the MBP!


I think you meant PR_Swap rather than DR_Swap.


I did, you're absolutely right. Thanks for the correction!


Yes, since PD 3.1 (see "Get_Battery_Status" request).


Is there a path to submit new content, ie websites, to be indexed and crawled? How does new content get seeded into DDG’s internal index?


Any details on your AIS setup, or links to a similar configuration?


A contractor manages bridge hardware so I am missing details. They set it up. I troubleshoot and use the data.

AIS is connected to a serial-to-ethernet converter. That allows me to get the AIS stream over TCP/IP. I wrote an application to consume AIS and do what they wanted with it.

The serial-to-ethernet converters are the magic ingredient. It allowed us to have tracking and telemetry regardless of terrestrial VHF stations in the area. The original setup also provided a feed from Transas but we stopped using it. We also use a private AIS VHF recorder as a backup source of AIS messages. We used that a lot more before Starlink due to terrestrial blockage of VSAT links. The backup source was a good compliment to the primary. They had the most infra in areas that were blocked most often.


The market is FULL of hosted providers. Every single one has its ups and downs.

I’d like to take a moment to acknowledge the technical knobs that Google Workspace and MS Office 360 provide over mail routing. Clearly they have enough large customers with in-house IT staff that demand this level of control and “the rest of us” get the benefit. Once you leave their platforms it’s easy to be disappointed. I can’t say that their platforms are good just technically feature rich; Google’s insistence on silently discarding “duplicate” messages is infuriating but other platforms will have a different set of problems.

If you don’t need enterprise control… Lately, I’ve been on MXroute.com, mostly because the team seems dedicated to trying to make something good. It’s not polished yet. They are opinionated. It’s designed for you to point your MX at them and check your mail via IMAP and send via Authenticated SMTP, that’s it, nothing more. Sure, they have extra features that will work but clearly that’s not their focus.

iCloud+ is also worth looking at and is often underrated. Many folks already have a paid iCloud+ account. Here, you can just turn on “Custom Email” as a set it and forget it option.

While I’m writing non-sense, I’ll ask what others are doing for inbound mail control and spam filtering. Prior to moving to MXroute, I was using SpamStopsHere that offered incredible flexibility and control. It was acquired by Zix and then dismantled.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: