I use postfix for my own domain and have been forwarding my email to outlook.com for years. Recently, email has just been disappearing between my server and my inbox so I set it to forward my email to gmail.com. Shortly after, I saw some messages like these in the logs:
Jul 6 11:01:18 blackcloud postfix/smtp[7392]: C258B2ADDDD: to=<bob811...@gmail.com>, orig_to=<d...@mykitchentable.net>, relay=gmail-smtp-in.l.google.com[74.125.142.27]:25, delay=0.54, delays=0/0/0.17/0.36, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[74.125.142.27] said: 550-5.7.1 [40.78.46.245 12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550-5.7.1 https://support.google.com/mail/?p=UnsolicitedMessageError 550 5.7.1 for more information. ch21si108253pjb.156 - gsmtp (in reply to end of DATA command)) Jul 6 12:29:37 blackcloud postfix/smtp[9272]: B5BAA2ADDDD: to=<bob811...@gmail.com>, orig_to=<d...@mykitchentable.net>, relay=alt1.gmail-smtp-in.l.google.com[209.85.234.26]:25, delay=1, delays=0/0/0.85/0.16, dsn=4.7.28, status=deferred (host alt1.gmail-smtp-in.l.google.com[209.85.234.26] said: 421-4.7.28 [40.78.46.245 15] Our system has detected an unusual rate of 421-4.7.28 unsolicited mail originating from your IP address. To protect our 421-4.7.28 users from spam, mail sent from your IP address has been temporarily 421-4.7.28 rate limited. Please visit 421-4.7.28 https://support.google.com/mail/?p=UnsolicitedRateLimitError to 421 4.7.28 review our Bulk Email Senders Guidelines. e4si21313031ilr.17 - gsmtp (in reply to end of DATA command)) In reading Google documentation, I learned SPF is failing. Further reading revealed this is a common problem with forwarded email since it is not being sent by an authorized IP address. Other articles suggested the workaround for this is to change the "Mail From:" to reflect my domain since I have SPF configured for it. And maybe this is what is meant by SRS (Sender Rewriting Scheme)? Can someone confirm or deny if this is an appropriate strategy? And if so, post a link or directions on how to accomplish this for a novice Postfix user? I've tried to understand the concepts described at http://www.postfix.org/ADDRESS_REWRITING_README.html#generic but I'm just not wrapping my head around what I need to do for my particular situation. Any advice or suggestions appreciated! Thank you for your time. Cheers, Drew -- Like card tricks? Visit the Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com