LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-20-2014, 10:15 PM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
SPF record on a relayed email


Let's say I have a server on the cloud and I handle my own domain. I do not want to open relay from this cloud server to my SMTP and use a different SMTP cloud relay which have added the server's IP to open relay will my emails be blocked by SPF as well?

e.g.
Server1: IP 1.1.1.1
Mail Relay: IP 1.1.1.2
Mail Relay Domain: domain2
Domain: domain1

From: someuser@@domain1
To: someuser@otherdomain
 
Old 05-22-2014, 08:29 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
There is no "SPF record" on a mail message itself.

SPF/TXT records are DNS records. SPF and/or TXT records (for Send Policy Framework or Domain Keys) are used to tell anyone querying you for them that only certain servers are allowed to send mail on behalf of your domain. When a mail server receives a mail it will check the domain name that purports to send the mail then check to see if that domain has defined SPF/TXT records and use same if they exist. If there is no SPF/TXT records restricting this most mail servers will go ahead and accept the mail (unless of course your domain has been blacklisted for spam.) The intent of SPF/TXT is to prevent your domain from getting blacklisted in the first place.

Often your SPF/TXT records would just define whatever the outbound (internet) IP of your mail servers uses for sending. If however, you have marketing agreements with others to send certain email on your behalf you'd add their IPs to your SPF/TXT records as well.

You might want to read:

http://en.wikipedia.org/wiki/Sender_Policy_Framework

http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spf record pprabhul071 Linux - Newbie 1 04-01-2014 02:57 PM
changes to a relayed email using sendmail mason188 Linux - Networking 4 07-02-2012 03:17 PM
My Email Server is Being Spoofed / Relayed carlosinfl Linux - Server 8 03-31-2008 07:32 AM
SPF record question Sheridan Linux - Networking 0 02-16-2008 02:48 AM
SPF record macadam Linux - Security 4 05-03-2005 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration