Reputation: 843
I read many answers how should I set SPF record, spf documentation, but I'm still getting this error and I have no idea why.
I've got 2 servers, on the first one I've got example.com and on the second I'm running rails app under account.example.com.
I setup spf record: "v=spf1 a mx ip4:ip-of-second-server include:_spf.google.com -all"
My smtp settings:
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'example.com',
:authentication => 'plain',
:user_name => ENV['GMAIL_USERNAME'],
:password => ENV['GMAIL_PASSWORD']
}
Any idea what am I doing wrong?
Upvotes: 2
Views: 3619
Reputation: 3407
We had a similar issue on our Heroku App using a gmail account to send us notifications. Not sure if you situation is exactly the same but this is how we recovered.
When a huge spike in mails occurred, Google marked the alias as 'exceeding sending limit' ( see http://support.google.com/a/bin/answer.py?hl=en&answer=166852) , and we began to see the 3xx 550 errors in our Heroku logs.
this resolved our 3xx 550 errors.
Upvotes: 1