trixtah: (Default)
Trixtah ([personal profile] trixtah) wrote in [site community profile] dw_suggestions2010-05-20 10:36 pm

Implement SPF records for email

Title:
Implement SPF records for email

Area:
Administration

Summary:
Implment DNS SPF records to facilitate email delivery to large webmail providers

Description:
SPF is an industry standard way of guaranteeing which email servers are permitted to send mail on behalf of your domain. At present, there seems to be a perennial problem with Dreamwidth bulk email being rejected from time-to-time - the "big four" email providers (Gmail, Hotmail, Yahoo and AOL) -do- use SPF records to positively weight email spam scores in favour of bulk emailers.

Dreamwith.org sends mail from one server - it is simple to implement a DNS TXT record that reads "v=spf1 mx ~all" that will verify to any email receiver that checks SPF that your MX server is permitted to send mail on behalf of "@dreamwidth.org" senders.

It also makes the likelihood of future spammers spoofing dreamwith.org addresses in order to send mail much less.

SenderID is also a useful solution, but SPF is simple to implement and will assist with delivery of bulk email to most large email service providers.

Poll #3195 Implement SPF records for email
Open to: Registered Users, detailed results viewable to: All, participants: 45


This suggestion:

View Answers

Should be implemented as-is.
27 (60.0%)

Should be implemented with changes. (please comment)
0 (0.0%)

Shouldn't be implemented.
0 (0.0%)

(I have no opinion)
17 (37.8%)

(Other: please comment)
1 (2.2%)

zarhooie: Girl on a blueberry bramble looking happy. Text: Kat (Default)

[personal profile] zarhooie 2010-05-21 04:00 am (UTC)(link)
I am in favor of anything that makes emails work.
mstevens: (Default)

[personal profile] mstevens 2010-05-21 02:04 pm (UTC)(link)
DKIM might also be worth a look if dreamwidth isn't doing it (yet).

Especially Yahoo apparently like this.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2010-05-21 03:20 pm (UTC)(link)
*nod* IIRC, the prevailing opinion on postfix-users@ last time the topic came around is that DKIM is better overall. (And Google is also a strong believer in it, IIRC.)
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2010-05-21 03:35 pm (UTC)(link)
Do we know what triggers the "discard email from this site" reaction?
1- email sent from Dreamwidth normally (notification emails for comments and other small-scale events)
2- email sent from Dreamwidth at a high rate (notifications for newsposts)
3- email sent *through* Dreamwidth (sent to an @dreamwidth.org alias)
4- Spoofed HELO or MAIL FROM domains or addresses (joe jobs and similar)

SPF will only help if the cause is 4.
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2010-05-26 08:59 pm (UTC)(link)
As long as it doesn't cause providers to *negatively* weight mails sent from other servers, I like the idea.

However, if it would cause providers to negatively weight emails that weren't sent from DW's servers, I'd say no, because lots of people might send email from their @dreamwidth.org address via their own mail servers if they don't want to give out their real email address, and it would be bad for them to be marked as spam simply because it didn't come from Dreamwidth's own mail servers.
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2010-05-27 09:25 am (UTC)(link)
But if someone sent mail purporting to be from @dreamwidth.org, and from a home IP address, my organisation would reject it anyway. We don't accept mail from home networks, and while I enforce a stringent ruleset in that way, it is not rare.


I hope you mean you would block mail where the first mailserver was on a home IP address. Plenty of people send mail from a home IP address, but it's incredibly rare that any good mail would be sent where the mailserver itself was on a home IP address - instead, those mails would be mostly sent through their ISP's mailserver.

I agree with blocking in the mailserver/home IP case, but not blocking everyone who just happens to send their mail from home. How on earth would you check for that, anyway?