I am trying to setup SPF records for my mail server as gmail is marking my clients domains as SPAM. I have my mail domain mail.maindomain.com and I need to include my virtual hosts for my other clients. I have the following record set up for my main domain set up as follows Code: maindomain.com TXT v=spf1 mx a include:vdomain1.com include:vdomain2.com ~all I set up the records for the individual domain as follows. I have tried with the mail host and with out. Code: vdomain1.com TXT v=spf1 mx include:maindomain.com ~all I have tried this configuration and the emails are still being marked as SPAM. I have searched through the forums but I couldn't find anything that worked for me. Any help would be really appreciated. Many thanks in advance Any ideas