spf

Regex to extract only IPv4 addresses from text

a 夏天 提交于 2019-12-10 20:53:49
问题 I've tried to extract only IP addresses from the the given example input, but it extracts some text with it. Here's my code: $spfreccord="v=spf1 include:amazonses.com include:nl2go.com include:smtproutes.com include:smtpout.com ip4:46.163.100.196 ip4:46.163.100.194 ip4:85.13.135.76 ~all"; $regexIpAddress = '/ip[4|6]:([\.\/0-9a-z\:]*)/'; preg_match($regexIpAddress, $spfreccord, $ip_match); var_dump($ip_match); I'm looking to match only the IPv4 IP address xxx.xxx.xxx.xxx in each column of the

Setup SPF Record to allow sending email from Google Apps and Bluehost

感情迁移 提交于 2019-12-09 22:59:03
问题 I need to be able to send emails from Google Apps (my gmail account) and from my website which is hosted on Bluehost. How do I create an SPF record that will allow me to send emails from those locations but will restrict sending emails from other locations? 回答1: Like this: v=spf1 include:_spf.google.com a a:abc.example.org a:xyz.example.org -all This says, include Google's SPF record (which will allow all their mail servers to send mail on behalf of your domain), and allow anything in this

Why is it acceptable for my mail from to be different to my from header?

蹲街弑〆低调 提交于 2019-12-07 05:53:38
问题 There's something that's always bothered me about SPF, why doesn't it validate the From header? As I understand it, an SMTP server will SPF validate the hostname provided during the MAIL FROM or ENVELOPE FROM SMTP commands (my examples are from telnet'ing to gmail-smtp-in.l.google.com: MAIL FROM:<matt@example.com> Gmail then does its thing, making sure my SPF record for example.com permits my IP for sending from. But here's where it seems to fall down, couldn't I just register a domain, set

Sending e-mail via PHP, on behalf of someone else

你说的曾经没有我的故事 提交于 2019-12-07 05:04:52
问题 I would like to create a form that allows users to contact our local city council. I want to make it easy, so they can just fill out the form and send it. I am just not 100% sure how this would work in regards to spam filtering. I know how to send e-mail through php usind sendmail, and also via Google Apps smtp server. Mail from our domain has both SPF and DKIM applied, and it is working correctly What I'm wondering is if someone fills out the form and we use their e-mail address in the from

DMARC/SPF configuration error

前提是你 提交于 2019-12-07 02:11:50
问题 I have a domain registered at domains.google.com that I use with a G Suite account and also to send email from SES and mailchimp. My DNS records look correct to me (Mailchimp instructions): @ TXT "v=spf1 include:_spf.google.com include:amazonses.com include:servers.mcsv.net ~all" _dmarc TXT "v=DMARC1; p=none; pct=100; rua=mailto:re+aml1ryadtn7@dmarc.postmarkapp.com; sp=none; aspf=r;" I use postmark's nifty service to get a weekly DMARC digest, and they report this error for mailchimp emails:

Cannot deliver email to Google Apps address; Gmail receives the same email fine

我的未来我决定 提交于 2019-12-06 00:00:18
I have a Drupal site with the Webform module installed to send out emails to a small group of people with Google apps accounts. It used to work; now, with nothing having been changed, they do not receive the messages at all. They are not in spam; they just never arrive period. However, if I put in my own personal Gmail address as a recipient, I receive it fine... not in spam or anything. I thought maybe the problem was that my domain (hosted at MediaTemple) didn't have an SPF record, so I added one: v=spf1 include:spf.mail01.mtsvc.net include:_spf.google.com ~all However, Google still doesn't

SPF issue: what causes softfail?

匆匆过客 提交于 2019-12-05 17:42:54
问题 Whenever I use PHP to send emails to members of my site, the email ends up in the spam folder for most email providers like Gmail and Hotmail. When I check the original source in Gmail, I see the following: Delivered-To: mypersonalmail@gmail.com Received: by 10.236.41.34 with SMTP id g22cs272510yhb; Wed, 1 Jun 2011 05:38:27 -0700 (PDT) Received: by 10.236.77.102 with SMTP id c66mr7228248yhe.303.1306931907131; Wed, 01 Jun 2011 05:38:27 -0700 (PDT) Received-SPF: softfail (google.com: best guess

How to know if the SPF config is working (Amazon SES/Route53)?

谁说胖子不能爱 提交于 2019-12-04 23:20:33
问题 I'm using Amazon SES and Route53 and confused how I specify the TXT value to include the proper SPF config. Amazon gave me a SES TXT name/value pair which looks something like this: Name: "_amazonses.xxx.com" Value: "bInxJfnRbxxxxx9uFXgmxxxxxQHd08UxxxxxxsG+k=" I plugged this into my Route53 Record Set (same as "Zone file" on Godaddy). Sure enough after adding my SMTP credentials to my app and having Amazon verify my account ("grant production access"), it works and I can send email from my

SPF issue: what causes softfail?

那年仲夏 提交于 2019-12-04 03:07:26
Whenever I use PHP to send emails to members of my site, the email ends up in the spam folder for most email providers like Gmail and Hotmail. When I check the original source in Gmail, I see the following: Delivered-To: mypersonalmail@gmail.com Received: by 10.236.41.34 with SMTP id g22cs272510yhb; Wed, 1 Jun 2011 05:38:27 -0700 (PDT) Received: by 10.236.77.102 with SMTP id c66mr7228248yhe.303.1306931907131; Wed, 01 Jun 2011 05:38:27 -0700 (PDT) Received-SPF: softfail (google.com: best guess record for domain of transitioning info@mywebserver.com does not designate as permitted sender)

Cannot deliver email to Google Apps address; Gmail receives the same email fine

雨燕双飞 提交于 2019-12-04 01:46:57
问题 I have a Drupal site with the Webform module installed to send out emails to a small group of people with Google apps accounts. It used to work; now, with nothing having been changed, they do not receive the messages at all. They are not in spam; they just never arrive period. However, if I put in my own personal Gmail address as a recipient, I receive it fine... not in spam or anything. I thought maybe the problem was that my domain (hosted at MediaTemple) didn't have an SPF record, so I