Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an email account info@example.com with mail.live.com .

I also have a Gmail account. I have set up the 'Send mail as' feature in Gmail to send mail as info@example.com, and this works correctly.

My question is, if I send an email from Gmail 'as' info@example.com, how does the recipient's server verify that Gmail was authorized to send mail for example.com?

I have some knowledge of SPF records, and I know that the SPF record for example.com says that only messages originating from hotmail.com servers are valid.

The message that Gmail sends out has the @gmail.com address in the Return-Path and Sender fields, and so the SPF check is done against gmail.com and not example.com.

I have tested this with the test service at verifier.port25.com and it passes.

SPF check:          pass
DomainKeys check:   neutral
DKIM check:         pass
Sender-ID check:    pass
SpamAssassin check: ham
share|improve this question

1 Answer 1

My question is, if I send an email from Gmail 'as' info@example.com, how does the recipient's server verify that Gmail was authorized to send mail for example.com?

It would check the SPF record, which would indicate a failure and thus a higher spamminess score. If you're going to be sending from Gmail, you should have Gmail in the SPF.

share|improve this answer
    
I don't have Gmail in the SPF, but it still passes checks by verifier.port25.com, so I think that there is something else going on. –  Liam Jun 4 '13 at 11:56
    
How about you give us the domain and some example e-mail headers, then? Hard for us to help you troubleshoot example.com. –  ceejayoz Jun 4 '13 at 13:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.