Questions tagged [spf]

Sender Policy Framework is a standard by which the owner of a domain uses a specially formed DNS record to advertise which hosts are authorized to send email for the domain.

Sender Policy Framework (SPF) is a technique to prevent e-mail sender address forgery. With SPF system administrators add information about allowed senders for particular domain in a DNS server's TXT and/or SPF record.

Please have a look at the canonical question What are SPF records and how do I configure them.

869 questions
0
votes
2 answers

Yahoo flagging mail as spam when using relay server

I'm using Postfix to relay mail from my site to my mail server. Mail is received properly at my Gmail and Hotmail accounts - only Yahoo is the problem. The Yahoo mail headers state: Received-SPF: none (mta1133.mail.mud.yahoo.com: domain of …
modulaaron
  • 257
  • 1
  • 4
  • 11
0
votes
2 answers

Failed reverse DNS and SPF only when using Thunderbird!

I have a reverse DNS and SPF records correctly setup for my mail server. Sending webmail from it works perfect. The problem is when Thunderbird sends out emails, it is using the client's IP address for the hostname. I have SMTP authentication and…
TruMan1
  • 435
  • 2
  • 9
  • 18
0
votes
2 answers

Is this SPF record correct for me?

I'm completely new to Stack Overflow, so Hi! I need to add an SPF record to my site "main.com" (not the real address) to allow an email publishing company "emailpublishers.com" (not the real address) to send emails on my behalf. However, I'm…
Donald T
  • 183
  • 4
0
votes
2 answers

Configure a SPF rule on Ubuntu

Where I can create/insert the SPF rules to allow a external server to authenticate and send e-mails using the domain name of my server running Ubuntu? I need to insert this rule: v=spf1 ip4:111.111.111.111/29 ip4:111.111.111.111/24 a mx…
Thiago Belem
  • 135
  • 1
  • 3
  • 12
0
votes
0 answers

Change mail from header in sendmail

We have two separate RTs (request trackers) configured on one server. They both are configured to send the emails through sendmail. We are trying to configure now SPF and DMARC records for these DNS names. What we achieved for now is that SPF passes…
0
votes
2 answers

Spammers slipping through SPF

One of the subscribers on the mailhost I run has been receiving scads of spam mail "from himself." With SPF set up and validated on the domain (wickenburg.us) this should not be happening. It is not happening on any of my other domains (though this…
Macs R We
  • 1
  • 1
0
votes
1 answer

Postfix - can't send emails to gmail addresses via terminal

I have the following errors when trying to send emails to gmail addresses via my terminal: sudo tail /var/log/mail.log Jul 19 13:19:44 ubuntu-4gb-fsn1-1 postfix/cleanup[5780]: B4B8C5F4A3: message-id=<20230719131944.B4B8C5F4A3@ubuntu-4gb-fsn1-1> Jul…
Run
  • 101
  • 7
0
votes
1 answer

Gmail adds multiple SPF records

When I connected my domain to gmail, it added two records to my DNS: TXT @ v=spf1 include:dc-aa8e722993._spfm.mydomainhere.com ~all TXT dc-aa8e722993._spfm v=spf1 include:_spf.google.com ~all But everything I see online about setting up SPF…
Infamous911
  • 103
  • 2
0
votes
1 answer

Mail server running on a subdomain - how could email acceptance by other servers be influenced by dns records for different ips?

I started to run a self-hosted mail server which I want to be reachable via a subdomain only. I have an A record for mail.sub.domain.tld and an MX record for sub.domain.tld /edit: which points to mail.sub.domain.tld. (I also set up spf, dkim and…
cssdev
  • 23
  • 4
0
votes
2 answers

How to setup DMARC for both AWS SES and Office 365

I'm trying to get DMARC working for the emails I send via Office 365 as well as Amazon SES. It's working for Office 365 because I setup the SPF and DKIM records in my DNS but it's failing for the emails I send via Amazon SES because of a domain…
Russell G
  • 153
  • 1
  • 1
  • 7
0
votes
2 answers

Changing SPF record from ~all to -all where employee inboxes are with Google and Amazon SES is used for website transactional emails

I'm interested in moving from ~all to -all in my SPF record in order to lock down my domain emails a bit more, but I want to know what the impacts might be (I do understand at ~ is SOFTFAIL and - is FAIL). My domain's SPF record currently looks like…
sdek
  • 165
  • 1
  • 2
  • 8
0
votes
1 answer

SPF records. Allow HELO/EHLO but not sending emails

I have a mail server, let's say mail.example.com The PTR records connect mail.example.com with my server's ips (ipv4,v6). The HELO/EHLO response is mail.example.com Now I want to send letters like user@example.com. Let's say I set MX…
0
votes
2 answers

Gmail reports SPF issues with emails sent from Thunderbird via postfix

This question is similar to the following question in the Mozilla forum. However, the answer given there to this question doesn't address the issue that I am seeing. Question in Mozilla forum: https://support.mozilla.org/lt/questions/1369698 In…
HippoMan
  • 222
  • 1
  • 10
0
votes
1 answer

Mail being rejected despite SPF record specifying envelope IP address

I have a mail server with a bridged DSL modem connection; the domain's SPF record looks like this: "v=spf1 +mx +aa.bb.cc.dd -all" where the aa.bb.cc.dd is the IP address for my end of the bridged DSL connection; this address is NOT in my domain; it…
Gary Aitken
  • 123
  • 6
0
votes
2 answers

SMTP Relay - Keep sender SPF valid

We use a email setup (incoming mails) in the following order: Internet -> on premises mailserver (=> attachment filter, antivirus, spam filter) -> forward to Microsoft 365 Exchange Online using hosted SMTP Relay (postfix on our web server). My…