SPF issue: what causes softfail?

前端 未结 4 2004
星月不相逢
星月不相逢 2021-02-14 01:32

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

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-14 02:00

    Its gonna be difficult to answer this without the real info (involved IPs, domainname, sender adress, full spf record etc). It also looks like this message wasn't sent to gmail directly, but retrieved from your server via Gmail Fetch (Header X-Gmail-Fetch-Info ), which makes the analysis even more complicated.

    here are a few possibilities:

    • invalid SPF record (in your example there is no space between the IP and -all )
    • wrong IP address in the SPF record
    • your server doesn't send mails directly, mail is sent over a smarthost instead which is missing in the SPF record
    • SPF isn't the problem (eg. your mail doesn't have a Date Header which can cause it to be flagged as spam as well, From/Reply-To/X.Sender are no real email addresses, ...)

提交回复
热议问题