Problem sending emails
Added by Dimos K about 12 years ago
I have redmine 2.2.4 installed on my ubuntu 12.04.
When I try to reset my password using the myredminesite/account/lost_password no email is send.
On config/configuration.yml
- ==== Sendmail command
#
production:
email_delivery:
delivery_method: :sendmail
I have tried to send email using sendmail command manually both as root and as user www-data which was successful. What might be the problem ?
On production.log I get
Started POST "/account/lost_password" for XXX.XXX.XXX.XX at Sat Mar 30 22:42:08 -0400 2013
Processing by AccountController#lost_password as HTML
Parameters: {"mail"=>"my@email.com", "authenticity_token"=>"v+DKKTtTMVPOYgWUJSBPm4SiUADAHUaEw1e0gxPMNys=", "utf8"=>"✓", "commit"=>"Submit"}
Current user: anonymous
Rendered mailer/lost_password.text.erb within layouts/mailer (0.7ms)
Rendered mailer/lost_password.html.erb within layouts/mailer (0.6ms)
Redirected to https://dashboard.car2car.ws/login
Completed 302 Found in 302ms (ActiveRecord: 28.1ms)
Started GET "/login" for XXX.XXX.XXX.XX at Sat Mar 30 22:42:09 -0400 2013
Processing by AccountController#login as HTML
Current user: anonymous
Rendered account/login.html.erb within layouts/base (2.1ms)
Completed 200 OK in 25ms (Views: 20.6ms | ActiveRecord: 1.4ms)
What might be the problem ?
Replies (3)
RE: Problem sending emails
-
Added by Jan Niggemann (redmine.org team member) about 12 years ago
Please post your yml config
RE: Problem sending emails
-
Added by Dimos K about 12 years ago
I am trying to post my conf inside pre tags but
This request was denied because it was considered spam or your IP adress is temporarily blocked.
RE: Problem sending emails
-
Added by Dimos K about 12 years ago
I was able to fix the problem with commenting
autologin_cookie_name: autologin_cookie_path: autologin_cookie_secure: scm_subversion_command: scm_mercurial_command: scm_git_command: scm_cvs_command: scm_bazaar_command: scm_darcs_command: database_cipher_key: production: development: