Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
Added by Jake D over 13 years ago
Hi guys, I've been following this guide (http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/) but for some reason whenever I try to send a test email I get the following error:
An error occurred while sending mail (553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
This is how my current email.yml file looks:
production:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
address: "smtp.gmail.com"
port: 587
domain: 'mail.XXXX.com' # 'your.domain.com' for GoogleApps
authentication: :plain
user_name: 'XXXX@XXXX.com'
password: 'XXXXX'
I'm using google apps, but when I configured it for my person gmail account, I got the same error. Any help would be greatly appreciated.
Replies (8)
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Felix Schäfer over 13 years ago
This message: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
comes from the google smtp, this has (probably) nothing to do with your config per se but with the address the mail is being sent to, googling (sic) for it should help http://www.google.com/search?client=safari&rls=en&q=553+sorry,+that+domain+isn't+in+my+list+of+allowed+rcpthosts+(%235.7.1)&ie=UTF-8&oe=UTF-8
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Jake D over 13 years ago
The address it's being sent to is fine, it's my email address. I've google for it but I just keep finding people with the same problem and no solution unfortunately.
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Jake D over 13 years ago
Is it possible that because redmine is located at MYDOMAIN.com:8000 and google doesn't think that's a real site? If so, do you mind explaining how I could correctly configure the DNS (or just where I could start?). Sorry for being such a n00b..
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Felix Schäfer over 13 years ago
I'm sorry my knowledge is limited in that domain, but as to your question if the address of the redmine is at fault: no, the problem is that the smtp you are trying to use (google) doesn't recognize the recipient of the mail you are trying to send, and I imagine you are trying to send the test mail, which will go to the mail address of the account you are currently using. Make sure the email address you have configured in your redmine account is valid, and keep in mind that if you have just registered/created the domain, it might take some time to propagate the changes for that, so you might want to try with a mail address that is known to work.
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Jake D over 13 years ago
Thanks so much for your help, just one last clarification. When you say "the mail address you configured with your redmine account" you mean the one specified in the email.yml I posted right?
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Felix Schäfer over 13 years ago
Jake D wrote:
Thanks so much for your help, just one last clarification. When you say "the mail address you configured with your redmine account" you mean the one specified in the email.yml I posted right?
No, the one associated to the account you use to login to redmine.
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Jake D over 13 years ago
Ok, and where can I change this email? I you've figured it out, I just need to know how to change it. Thanks again :)
RE: Gmail Notification Trouble 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) )
-
Added by Felix Schäfer over 13 years ago
In your account settings? RedmineAccounts