Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail marked as spam, tried everything.

Discussion in 'E-mail Discussion' started by c0rrup, May 25, 2010.

  1. c0rrup

    c0rrup Registered

    May 25, 2010
    Likes Received:
    Trophy Points:
    Hello, I need some help with mail from my server being marked as spam. Mail sent from my server from PHP mail() and SMTP have both been marked as spam, in Gmail, Yahoo, Hotmail, etc.

    My server IP is not blacklisted, my SPF record passes, but mail still gets marked as spam.

    I have isolated the issue I think, the site I am trying to send mail from is different than my cPanel's main domain/IP (I have 4 dedicated IPs on my VPS).

    My server is set up on (hostname), I am trying to send email from another site on my VPS with, when I use [email protected], the mail goes to SPAM. But if I use [email protected], the email goes to the inbox fine.

    (^used replacements because my sites are for filesharing and not sure if I could post them here, if needed I can)

    Does anybody have a clue as what I can try, I really need this fixed and have no more ideas.
  2. JordiCS

    JordiCS Well-Known Member

    Dec 3, 2003
    Likes Received:
    Trophy Points:
    Catalonia, EU
    cPanel Access Level:
    Root Administrator

    Probably MX records for those domains are not pointing to the main server IP. This is a common reason for mail being blocked for most servers.

    Check your dns zones for the problematic domains. If you find IN MX

    change it to: IN MX

    AND change the record for mail( this way: IN A yourmainserverIPhere

    Finally add your main server IP to your SPF records. Wait for a while before checking mail, because DNS changes need a time to be propagated.

    Hope this helps.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice