In the email tag, I routinely flag the following for closing as off-topic.
- My email is blocked by Gmail as spam, what can I do?
- My email is blocked as spam, how do I configure PTR / SPF / DKIM / what not?
- My email is blocked as spam, how can I reformat it so it goes through?
Tangentially, there is also
- Help, my system was hacked and is transmitting spam
- Help, my system is blacklisted by a DNSBL or similar reputation provider
Obviously, none of these topics are programming-related.
There is no way to programmatically influence (say) Gmail's company-internal decisions for what to block -- and if you find a way to bypass one particular filter of theirs, it's only a matter of time before the spammers notice, too; and so any useful answer will be extremely volatile, and likely to be obsolete by the time a reader visits the question.
Configuring DNS and related infrastructure obviously belongs on https://serverfault.com/ (though will likely be closed as a duplicate there, I guess).
The third topic really goes by the same reasoning as the first -- even if changing which headers are transmitted might coincidentally involve some programming, email deliverability as such is not a programming topic (and in fact, I don't believe there is a place in the Stack Exchange network for this particular topic currently). What to put in your message in order to bypass one or more spam filters is fundamentally a content question, not a logic question.
Now, my close votes have generally been accepted, though not always so; and now, one correspondent is challenging my close vote. Thus I am posting here in the hope that my reasoning could be either refuted, or accepted as a consensus interpretation of the StackOverflow posting guidelines.
This is not a question about how to react to off-topic questions in general; it seeks to clarify the scope of the posting guidelines regarding this specific group of topics.
For background, here are some samples of previous close votes of mine.
- Closed as off-topic:
- Not closed, by arguably members of one of the above sets:
- Deleted (requires 10k reputation to view):
- http://stackoverflow.com/questions/29693029/dedicated-server-emails-goes-in-spam-on-many-email-providers -- deleted by Community♦
- http://stackoverflow.com/questions/29455657/gmail-puts-emails-from-my-fresh-server-into-spam-folder-due-to-its-similar-to -- deleted by OP
- http://stackoverflow.com/questions/29443400/symfony1-4-mail-send-to-spam -- deleted by Community♦
- http://stackoverflow.com/questions/29051293/how-do-i-get-emails-into-inboxes-and-not-spamboxes -- deleted by Community♦
- http://stackoverflow.com/questions/28688735/postfix-mail-server-spam-allboutspam-spamassassin-batv -- deleted by Community♦
- http://stackoverflow.com/questions/28555218/lot-of-spam-mails-are-being-sent-from-vpscentos-postfix -- deleted by Community♦
- http://stackoverflow.com/questions/28415059/email-going-in-spam-folder-using-php -- deleted by Community♦
- http://stackoverflow.com/questions/28222259/postfix-smtp-mail-is-sent-to-spam -- deleted by Community♦