Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Default Mail marked as spam, tried everything.

    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 serv.domain1.com (hostname), I am trying to send email from another site on my VPS with domain2.com, when I use admin@domain2.com, the mail goes to SPAM. But if I use admin@domain1.com, 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. #2
    Member
    Join Date
    Dec 2003
    Location
    Catalonia, EU
    Posts
    50
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Hello,

    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

    domain2.com. IN MX domain2.com.

    change it to:

    domain2.com IN MX mail.domain2.com.

    AND change the record for mail(domain2.com) this way:

    mail.domain2.com 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.
    Jordi Casanovas - Bones Connexions
    Hostatge i cPanel en català

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 02-27-2010, 05:38 PM
  2. PHP (Mail) Marked As Spam Yahoo/Msn
    By PAKIDIL in forum E-mail Discussions
    Replies: 2
    Last Post: 02-24-2008, 06:31 AM
  3. New server and everything is marked as spam!
    By cooldude7273 in forum E-mail Discussions
    Replies: 6
    Last Post: 12-13-2007, 08:19 PM
  4. mail server (exim) forwards mails marked as spam
    By hariskhan in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-11-2006, 01:33 AM
  5. my emails marked as spam
    By okanari in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-22-2006, 03:01 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube