spf

How to validate SPF records with PHP

自闭症网瘾萝莉.ら 提交于 2020-01-06 18:45:01
问题 I'm developing a web mailing app on Codeigniter PHP. I would like to know how to check SPF records are valid with PHP. Is there a PHP API to do this? This is so I can implement SPF within my mailing App to verify a user has authorized our servers via SPF DNS records to send mail. 回答1: Look at the libraries here: http://www.openspf.org/Implementations None are in PHP, but they are in other languages, so if you get stuck creating a validator according to the publish standards, you can see how

SPF Permanent Error: Too many DNS lookups

北慕城南 提交于 2019-12-24 09:22:30
问题 We have noticed that a lot of our emails are falsely flagged as spam. Upon reading online, it seems like a good way to solve this issue is to add an SPF record into the DNS, so we added a TXT record with this content: v=spf1 a mx ip4:162.123.189.010 include:_spf.google.com include:bluehost.com ~all Bluehost is our host provider, 162.123.189.010 is our VPS IP address from blue host, and _spf.google.com is needed because we send/receive email using GMail. After running a test on Google's MX

How can I merge these 3 SPF txt records

你离开我真会死。 提交于 2019-12-24 04:46:10
问题 I have 3 SPF records: "v=spf1 include:spf.protection.outlook.com -all" "v=spf1 a ptr include:authsmtp.com ?all" "v=spf1 a mx include:spf.mtasv.net ~all" How can I merge them all together into one txt record? 回答1: The merged record would look like this: v=spf1 a mx ptr include:spf.protection.outlook.com include:authsmtp.com include:spf.mtasv.net -all You'll have to decide which of the all mechanisms you want to use, since you can only have one in a SPF record. I have included the -all since it

Building a enewsletter sending system / avoiding spam

强颜欢笑 提交于 2019-12-21 05:58:09
问题 Firstly, I AM NOT A SPAMMER :) I am a legitimate developer, working for a company who is currently developing an enewsletter sending system for our clients. Now, we sent out a campaign for one of our clients to 80k solicited emails, and we got a huge amount blocked due to spam, even though our client has used ymlp.com to send similar campaigns to the same mailing list in the past with no problems. I have stumbled across a few nuggets of information such as: How to send 100,000 emails weekly?

What is the correct SPF record for using both Amazon SES and Google Apps

陌路散爱 提交于 2019-12-20 10:47:02
问题 What would be the correct SPF record to use for both Amazon SES and Google Apps together: Google Apps says they want you to have the tilde "~" in it: http://support.google.com/a/bin/answer.py?hl=en&answer=178723, but most other examples have a dash "-" instead. Amazon wants: "v=spf1 include:amazonses.com -all" Google wants: "v=spf1 include:_spf.google.com ~all" We currently have this, combining both together: TXT "v=spf1 include:amazonses.com include:_spf.google.com ~all" SPF "v=spf1 include

My E-Mails Always Go To Spam Folder [closed]

随声附和 提交于 2019-12-19 10:53:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . In my server i send mails by PHP but my mails always go to spam folders. I did spf record thing but it didn't matter. Also i use google apps service with this domain. Please Help Mail Original: Delivered-To: mektup@gmail.com Received: by 10.42.178.133 with SMTP id bm5cs95762icb; Fri, 31 Dec 2010 19:49:46 -0800

How to create SPF record for many IPs (SPF longer than 255 characters)

最后都变了- 提交于 2019-12-12 23:22:14
问题 For example I have an array with this ips and want to create with my code an long spf record: $array_ips = array(); $array_ips[] = "32.16.8.133"; $array_ips[] = "32.16.4.247"; $array_ips[] = "35.16.8.184"; $array_ips[] = "32.16.8.127"; $array_ips[] = "32.16.8.134"; $array_ips[] = "32.16.2.154"; $array_ips[] = "32.16.2.153"; $array_ips[] = "32.16.2.150"; $array_ips[] = "39.16.2.190"; $array_ips[] = "32.16.2.128"; $array_ips[] = "32.16.0.128"; $array_ips[] = "32.16.8.187"; $array_ips[] = "43.16

Authenticate Email PHP

微笑、不失礼 提交于 2019-12-11 07:50:09
问题 I have a web app which needs to send emails to clients 'From' staff email addresses. What's the best way to prevent my messages from being flagged as spam? For instance, if I own charles@gmail.com, I'd like to be able to send mail "From" that address with PHP in my App, without getting the "This message may not have been sent by...." message. Right now I'm just using the mail() function within PHP, with Headers for the From, Return Path, and X-Mailer variables. I'm generally pretty confused

Mailgun: wildcard subdomain “from-address” for SaaS

萝らか妹 提交于 2019-12-11 04:42:08
问题 I've a small SaaS where each client gets a subdomain (stackexchange.my-saas.com) I've a mailgun account where my main domain is setup and I've created a wildcard SPF record in my DNS and if I add additional domains to my mailgun account with a subdomain, they all verifies correctly. My question is, do I need to add every new clients subdomain as a new domain in mailgun when I have the wildcard SPF record set or can i "legally" just create a from-address for each new client so the header of

Is it possible to create a correct SPF and DMARC DNS record when you use a CNAME?

非 Y 不嫁゛ 提交于 2019-12-11 02:48:21
问题 In my setup I have a website (example.app) hosted on Heroku. Then, I use Sendgrid to send emails from the Heroku server to our users that forget their password. The email is registered using Google's Gsuite. So I also send emails from the Google servers. The from email is: <Appname <noreply@example.app> So I thought these should be my DNS records (note I don't have an A-record): CNAMES: example.app CNAME "example.app.herokudns.com" www.example.app CNAME "www.example.app.herokudns.com" SPF: