Hi: I could send, but not receive emails from gmail with the error: This is a CentOS5 mailserver using PowerDNS with ISPConfig3 and the MTA is postfix with courier-imap and courier-authlib. I searched online and figured out that the following could be the reason of the problem. I tried to add a SPF records under DNS >> Domain DNS >> TXT records as advised at https://support.google.com/a/answer/178723?hl=en&topic=2759192&ctx=topic But what should go in the 'Hostname' field against the 'Text' field (v=spf1 include:_spf.google.com ~all)? Whether hostname be 'mydomain.tld.' or 'google.com.'? Thanks in advance.