to=<Email住址會使用灌水程式保護機制。你需要啟動Javascript才能觀看它>, relay=alt1.gmail-smtp-in.l.google.com[142.250.141.27]:25, delay=2.9, delays=0.05/0/2.1/0.68, dsn=4.7.26, status=deferred (host alt1.gmail-smtp-in.l.google.com[142.250.141.27] said: 421-4.7.26 Your email has been rate limited because it is unauthenticated. Gmail 421-4.7.26 requires all senders to authenticate with either SPF or DKIM. 421-4.7.26 421-4.7.26 Authentication results: 421-4.7.26 DKIM = did not pass 421-4.7.26 SPF [test1.ublink.org] with ip: [168.95.4.211] = did not 421-4.7.26 pass 421-4.7.26 421-4.7.26 For instructions on setting up authentication, go to 421 4.7.26 https://support.google.com/mail/answer/81126#authentication 98e67ed59e1d1-2dbb9defafdsi1432153a91.183 - gsmtp (in reply to end of DATA command))
答案
這是因為 GMail 因為 SPF 是檢查原寄件者來源IP的SPF設定
因為經過你的轉寄
因次判定為偽造網域
寄件者的郵件伺服器不可能幫你加入 include spf 你的 Mail Server IP
因此建議不要設定規則直接轉寄給有檢查 spf 機制的郵件伺服器
非不得已很想在 GMail 處理信件
改設定為 GMail 代收你想轉寄的信件就可以解決了
或是 收下之後再轉寄
SPF
-all
~all
現在的信件
A 寄給 B , B 設定規則轉寄到 C
幾乎都會被擋下來
因為 Spam 檢查機制 SPF DKIM DMARC 都會檢查到不一樣
X-Envelope-From and From different 是電子郵件標頭(Email Header)的一種,用來記錄該封信件在郵件伺服器傳輸(SMTP)過程中的真實寄件者位址(又稱 Return-Path 或 Envelope Sender)。
Remote server returned '550 5.7.509 Access denied, sending domain ublink.org does not pass DMARC verification and has a DMARC policy of reject.'