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

If an email is sent from user@somedomain.com to foo@example.com and if it is forwarded from foo@example.com to bar@example.com.

Whose authentication (SPF/Sender-ID) will be validated at bar@example.com, is it authentication of user@somedomain.com or foo@example.com ?

share|improve this question
    
Envelope or header? SRS in use? –  womble Aug 1 '11 at 6:57
add comment

1 Answer

SPF works on the envelope sender - ie MAIL FROM: during the SMTP conversation, rather than the 'From:' in the body of the email.

Often these are the same. So the domain specified in 'MAIL FROM:' is somedomain.com first. The SPF process on the server accepting example.com email would look up the address of the incoming SMTP server and compare it against the somedomain.com SPF TXT DNS record.

But then you say it is forwarded to another address at example.com - this does not require an SPF lookup, as it is a local delivery - no other SMTP server participates.

share|improve this answer
    
If instead of foo@example.com it is forwarded to a different domain say john@mydomain.com then how the lookup will happen ? –  Supratik Aug 1 '11 at 8:52
add comment

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.