Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using my own domain's email address :

i have a simple email sign up form, where emails entered are sent to using php's mail().

i discover it always goes into spam folder. any emails sent from always ends up in Spam!

why is this ? this server is very new.

share|improve this question

migrated from Jan 5 '10 at 22:27

This question came from our site for professional and enthusiast programmers.

In your local client? In web mail? Is SPAM added to subject? – gbn Jan 5 '10 at 22:25
serverfault or superuser - take your pick – JW. Jan 5 '10 at 22:26

See this question for a number of good answers.

share|improve this answer

When did this start? Are you using SpamAssassin?

There’s a bug in SpamAssassin that causes mail received in year 2010 to receive a much higher spam score.

Running sa-update should fix the problem. Alternatively, you can locate the rule file and change the line that says:

header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]

To read:

header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]

And then restart SpamAssassin.

share|improve this answer
Is this just me, or are they perpetually re-inventing the Y2K bug? [files this as it will come in handy in 2020 again] – Piskvor Oct 11 '11 at 13:25

Short answer, check if your IP is blacklisted. Lots of places to do this. works for me. no relation or affiliation.

Longer answer, your mail client might not like the content of the test messages you're sending. Or it's seeing so many of them that it thinks it's getting spammed.

If you're not on a blacklist then set up a new email account somewhere else and try sending one message there from your server to see if that gets through.

share|improve this answer

Some things to check:

  1. Is your IP blacklisted?
  2. Are you hosting the email server yourself? Some anti-spam services will have issues with email originating from self hosted email providers.
  3. Ensure that your DNS records have all the correct MX records.
  4. Are you specifying all the email information from address etc?
share|improve this answer

You must log in to answer this question.