News for hackers. Stuff that matters.
Re:Maddy: Composable all-in-one mail server by n3storm on Saturday June 19, 2021 @02:00AM (#27558168)
Your mail will go to Spam too with Maddy, this is not about the MTA.
Re:Maddy: Composable all-in-one mail server by reitanuki on Saturday June 19, 2021 @03:30AM (#27558561)
This is not (always) true.

Maddy comes with a lot of the 'good stuff' like DKIM and DMARC ready to be used, whereas setting that up yourself with Postfix was a pain (from my experience a few years ago) and probably meant you didn't bother.

I've had better deliverability, especially to Gmail and Microsoft, since using Maddy, probably for this reason.

Now, of course, I must admit that self-hosted e-mail seems like it will always inevitably run into a blocklist problem, usually because of IP neighbours. But personally, I've managed to avoid that in the last year that I've been running Maddy -- main exception is I had to fill in Microsoft's silly form to get unblocked at the start (but I've had to do this for every deployment I've ever done).

Re:Maddy: Composable all-in-one mail server by httpsterio on Sunday June 20, 2021 @03:35AM (#27567965)
I dunno, I'm pretty shit when it comes to Unix systems and programming in general (spent 6 hours fighting a postcss and tailwind config file and lost) but I got dkim and dmarc set up on my own server for my own mail in maybe 30 minutes?
Re:Maddy: Composable all-in-one mail server by n3storm on Saturday June 19, 2021 @05:36AM (#27559145)
So you agree is not about the software but you did not implement best practices with Postfix. Also, whenever you give an address to someone else, family or friend, risk of going to spam increases. Links or src in emails without https, higher risk, Does Maudy prevent you from doing that?
Re:Maddy: Composable all-in-one mail server by viraptor on Saturday June 19, 2021 @07:02AM (#27559520)
If one software makes best practices easy to implement and another makes them hard, it still is about software. Not entirely, but it's important.
Re:Maddy: Composable all-in-one mail server by foxcpp on Saturday June 19, 2021 @06:19AM (#27559313)
It is definitely possible to configure something like rspamd to scan outbound messages.
Re:Maddy: Composable all-in-one mail server by patrakov on Saturday June 19, 2021 @03:14PM (#27563480)
And your sales people will call this a misconfiguration serious enough to fire the sysadmin who did this. The problem is that, typically, nobody trains or supervises the filter applied to the outgoing mail, and nobody is warned that it did, in fact, reject an email, and there is no manual override if the filter is, in fact, wrong. And spammers (from the viewpoint of a particular organization) don't exist and can't exist inside the organization, so any rejected outgoing email is, by definition, a false positive.

Well, viruses are the exception.

Re:Maddy: Composable all-in-one mail server by g_p on Saturday June 19, 2021 @05:50AM (#27559202)
One "weird trick" I discovered with deliverability was that plaintext email from my server was rejected, but HTML email from it was accepted.

For anyone with deliverability issues and mail going to spam, it might be worth trying this out (after you have sorted all the usual points like DKIM, SPF, PTR record etc.) - this obviously only helps if your IP is clean. I was surprised though, and only discovered it by accident.

I had good deliverability to Google hosted mail, but not to Microsoft 365. I even had issues with deliverability doing 365 to 365, until I sent HTML mail.

Re:Maddy: Composable all-in-one mail server by hawski on Saturday June 19, 2021 @07:46AM (#27559695)
What a world we live in, I always would thought the opposite. Probably it was like that before, but now maybe spammers send more plain text e-mails to appear legit. Never ending game of cat and mouse.
Re:Maddy: Composable all-in-one mail server by g_p on Saturday June 19, 2021 @08:02AM (#27559770)
My guess (pure speculation) is that more spam is auto-generated via email libraries and similar, and that is producing plaintext mail to try to simplify what it's getting through the filters.

On the other hand, most human-generated mail is HTML-based, as it's written in a web-client or desktop/mobile "app client", that is using HTML to let people do bold and put pictures into their email.

I was as surprised as you when I figured this out!

Re:Maddy: Composable all-in-one mail server by dhess on Saturday June 19, 2021 @06:59AM (#27559514)
As someone who has run his own mail servers since 2000, and still gets his email delivered to people's spam folders (even when I've emailed them in the past, or simply replied to their original message), this is very interesting, as I always enable plaintext outbound email.

I'll have to give this a try. Thanks for the tip!

Re:Maddy: Composable all-in-one mail server by g_p on Saturday June 19, 2021 @07:19AM (#27559592)
Your symptoms sound exactly like the issues I was having - everything was "right" (in theory) - emails were leaving on the right IPv4, that had the correct PTR, etc etc. I just couldn't figure out what was wrong.

It was the same issue - even replies to existing threads had the issue. What got me looking into it more closely was that I had no issues delivering to G Suite tenants; it was only issues with 365 tenants.

I wonder if there's a non-trivial correlation between people choosing to genuinely self-host their own mail, and those who use plaintext outbound mail by default (and know what that means).

Re:Maddy: Composable all-in-one mail server by upofadown on Saturday June 19, 2021 @08:22AM (#27559860)
That's odd. I know that Spamassassin actually penalizes HTML and HTML only email.

Are you sure there is not some sort of parasitic Bayes filtering happening here?

Re:Maddy: Composable all-in-one mail server by g_p on Saturday June 19, 2021 @09:09AM (#27560158)
It's very odd. I don't know how Microsoft implements their own server-side spam filtering, but the issue was coming from their filters. No issues with any other host. G Suite accounts received plaintext mail fine.

I never found much by way of technical detail on 365 deliverability, beyond the usual DKIM/SPF/DMARC/PTR record guidance, and forms for getting yourself removed from the whitelist.

What's especially strange is that this issue applied even when sending mail as a 365 subscriber. Once there was HTML content present in the email, deliverability (to other separate 365 tenants) improved!

Very odd...

Re:Maddy: Composable all-in-one mail server by atatatat on Sunday June 20, 2021 @01:59AM (#27567529)
My mail goes to spam using GSuite for my Domain for Work Gmail! (or whatever it's called these days)

Where do I even turn? Did my startup's domain get blacklisted before I've even launched?