Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Confirmation mail is wrong using a local instance of IDM GE #71

Open
anaselli opened this issue Nov 11, 2014 · 1 comment
Open

Confirmation mail is wrong using a local instance of IDM GE #71

anaselli opened this issue Nov 11, 2014 · 1 comment

Comments

@anaselli
Copy link

Installed locally in a VM, i didn't find any information to configure psotfix or sendmail or neither that was required (I maybe wrong)... I thought it was possible to create users inside and not only by their own registration...
Anyway i captured the output of the mail (never received of course) that it seems to be worng.
VM is installed with a static IP 192.168.56.6 and (commented below):

MLXUDEq5PCqv', NULL, '2014-11-11 09:16:05', NULL, NULL, '$2a$10$X.QaTP8CW5iet80OCPL6JOsbcZcoOZxKrViENgpv0FPxSU.5ue3pG', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '2014-11-11 09:16:05')
Rendered devise/mailer/confirmation_instructions.html.erb (1.7ms)

Sent mail to [email protected] (79ms)
Date: Tue, 11 Nov 2014 10:16:05 +0100
From: [email protected]
Reply-To: [email protected]
^^^^^^
Above you can see that addresses are related to account.lab.fi-ware.org

To: [email protected]
Message-ID: [email protected]
Subject: Confirmation instructions
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit

Hello [email protected]!

^^^^^
Since the name has been added in the form why using the Email to greet?

Welcome to FI-LAB! By clicking on the link "I accept" below, you state that you have read and accepted the FIWARE Lab Terms and Conditions and the creation of your account will be confirmed:

I accept

^^^^^^^
And the confirmation message is referenced to account.lab.fi-ware.org instead of 192.168.56.6, some additional configuration is needed, but where?

(2.6ms) COMMIT
Redirected to http://192.168.56.6:3000/
Completed 302 Found in 1189ms (ActiveRecord: 0.0ms)

Started GET "/" for 192.168.56.1 at 2014-11-11 10:16:05 +0100

@plopezm
Copy link

plopezm commented Apr 13, 2015

I have added this lines to production.rb and development.rb and now it works.

config.action_mailer.delivery_method = :sendmail
config.action_mailer.perform_deliveries = true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants