Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    9

    Default SPF and forwarding mail to a Gmail-account

    How do I properly set up SPF on a domain hosted on a server with cpanel, while still beeing able to securly forwarding all email to my personal Gmail account?

    Have anyone successfully done this?

    Kim

  2. #2
    Member koolcards's Avatar
    Join Date
    Oct 2003
    Location
    Tampa, Fl
    Posts
    146

    Default

    Edit the DNS zone file for the server's domain i.e., if the server is "fred.freddomain.com", edit the domain file for "freddomain.com".
    Enter the resulting text record you generate from the free "Publishing SPF Records" tool at http://www.openspf.org/

  3. #3
    Member
    Join Date
    Sep 2006
    Posts
    9

    Default Sending from a Gmail account

    I need to add the Gmail data in the SPF record for the domain I am using, so that sending email from within Gmail works fine.

    I have also read that there is some issues forwarding email to Gmail with SPF enabled.

  4. #4
    Member
    Join Date
    Feb 2004
    Posts
    106

    Default

    Have you already activated SPF and/or DomainKeys via the Cpanel / Email Authentication Menu? If not - start there or if you already did that and it won't work it will help posting more details.
    Last edited by lorio; 07-12-2008 at 01:22 PM.

  5. #5
    Member
    Join Date
    Sep 2006
    Posts
    9

    Default

    Tha cpanel part works fine.

    Its sending emails from Gmail that is the issue. I need to include the information of Gmail in my SPF records. I have yet to find this information to accurately update the SPF record. Have anyone found the information to add?

    There is also a problem of Gmail accepting any forwarded email from the Cpanel email account. There is a supposedly a problem with this. Gmail silently sends it into a blackhole. But I will do some more testing on this to see if I can replicate it.

  6. #6
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    add include:google.com to your SPF record.

    Mike

  7. #7
    Member
    Join Date
    Feb 2004
    Posts
    106

    Default

    Quote Originally Posted by kservik View Post
    Its sending emails from Gmail that is the issue. I need to include the information of Gmail in my SPF records.
    What is the issue with sending emails FROM Gmail? The second issue is not receiving forwarded message at your Gmail account. But what is the problem with sending from Gmail?

  8. #8
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If he uses -all and then sets up his Gmail account so that it can send mail out as user@one_of_his_cpanel_domains.com, then remote servers that get that mail are going to say "hey, SPF records indicate that this host (google) is not allowed to send mail as user@one_of_his_cpanel_domains.com unless he specifies in the SPF record that it is okay for Google mailservers to be sending mail as user@one_of_his_cpanel_domains.com.

    From what I gather, he wants to be able to only use his Gmail account (configured to allow sending from one or more non-gmail addresses) and wants to make sure that remote servers are going to find his @one_of_his_cpanel_domains.com emails acceptable when they are sent via Google's mail system.

    Mike

  9. #9
    Member
    Join Date
    Sep 2006
    Posts
    9

    Default

    That is correct, Mike! Thanks for explaining it more accurately

  10. #10
    Member
    Join Date
    Nov 2006
    Location
    GB
    Posts
    44

    Default

    Presumably the reference a few posts above about "issues forwarding email to Gmail with SPF enabled" refers to the fact that the cPanel Exim still does not support SRS (Sender Rewriting Scheme)?

    It is not all that well-publicized that SPF "breaks" forwarding UNLESS one has a working SRS in operation.

    I have seen evidence that Googlemail is itself using an apparent variant of SRS, but the resulting rewritten sender looks a bit garbled to me! Has anybody else noticed any problem with Exim accepting such emails?
    --
    Wemail ServerAdmin
    (GB)

Similar Threads & Tags
Similar threads

  1. Replies: 10
    Last Post: 05-04-2011, 02:52 PM
  2. Forwarding broken by SPF - need SRS to mend it
    By wemail in forum E-mail Discussions
    Replies: 6
    Last Post: 05-27-2008, 04:46 PM
  3. Forwarding all mailboxes to one mail account
    By sh4ka in forum New User Questions
    Replies: 2
    Last Post: 06-19-2007, 03:46 AM
  4. can not receive any mail from Gmail
    By dannyst in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-26-2005, 12:29 PM
  5. Forwarding A Copy of Incoming Mail to Another Account
    By ee99ee in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-18-2005, 05:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube