Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Chapter:Security
-
HD-Enabler:KeyRock
Description
Created question in FIWARE Q/A platform on 27-11-2016 at 10:11
Please, ANSWER this question AT https://stackoverflow.com/questions/40827647/fiware-identity-manager-signup-email-verification
Question:
Fiware Identity Manager signup email verification
Description:
I'm setting up IdM VM and trying to test the user registration but the signup email doesn't reach the user email account.
The Horizon web UI shows the green bottom popup "Success: Resended confirmation instructions to xxx@xxx.com" and the log on the server says:
sudo tools/with_venv.sh python manage.py runserver 192.168.228.229:8000
Validating models...
0 errors found
November 25, 2016 - 10:32:51
Django version 1.6.11, using settings 'openstack_dashboard.settings'
Starting development server at http://192.168.228.229:8000/
Quit the server with CONTROL-C.
UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
WARNING:py.warnings:UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
DEBUG:idm_logger:Creating a new internal keystoneclient connection to http://127.0.0.1:5000/v3.
RuntimeWarning: Scanning acceleration disabled (_speedups not found)!
WARNING:py.warnings:RuntimeWarning: Scanning acceleration disabled (_speedups not found)!
[25/Nov/2016 10:33:01] "GET /auth/login/ HTTP/1.1" 200 13740
[25/Nov/2016 10:33:01] "GET /static/dashboard/css/b9a56c54c930.css HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/js/4d7112fe6b5a.js HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/library/jcrop/css/jquery.Jcrop.css HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/js/db5b3a23c36d.js HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/fiware/i18n.js HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/js/3277c9844a91.js HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/img/icons/help.png HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/img/icons/ges.png HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/img/icons/fi-ops.png HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/img/icons/more-info.png HTTP/1.1" 304 0
[25/Nov/2016 10:33:01] "GET /static/dashboard/img/FIWARE-lab-2x.png HTTP/1.1" 304 0
[25/Nov/2016 10:33:04] "GET /confirmation/ HTTP/1.1" 200 9897
DEBUG:idm_logger:Sending email to [u'xxx@xxx.com'] with subject Welcome to FIWARE
[25/Nov/2016 10:33:14] "POST /confirmation/ HTTP/1.1" 302 0
[25/Nov/2016 10:33:14] "GET /auth/login/ HTTP/1.1" 200 13997
Postfix and Stunnel are configured and tested with success from console with sendmail command
The parameters in localsettings.py are:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
- Custom email address and web domain
DEFAULT_FROM_EMAIL = 'yyy@yyy.com'
EMAIL_URL = 'http://xxx.xxx.xxx.xxx'
EMAIL_SUBJECT_PREFIX = '[SHAPEANT Lab]'
- Configure these for your outgoing email host
EMAIL_HOST = 'localhost'
EMAIL_PORT = 11125
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
When I try to re-send confirmation email the keystone log says:
2016-11-25 16:24:13.472 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [25/Nov/2016 16:24:13] "GET /v3/ HTTP/1.1" 200 484 0.002038
2016-11-25 16:24:13.491 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [25/Nov/2016 16:24:13] "GET /v3/users?name=xxx%40xxx.com HTTP/1.1" 200 576 0.016556
2016-11-25 16:25:55.343 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [25/Nov/2016 16:25:55] "GET /v3/ HTTP/1.1" 200 484 0.005031
2016-11-25 16:25:55.367 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [25/Nov/2016 16:25:55] "GET /v3/users?name=xxx%40xxx.com HTTP/1.1" 200 576 0.022905
2016-11-25 16:25:55.374 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [25/Nov/2016 16:25:55] "GET /v3/ HTTP/1.1" 200 484 0.002006
2016-11-25 16:25:55.411 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [25/Nov/2016 16:25:55] "GET /v3/OS-REGISTRATION/users/utente1/activate HTTP/1.1" 200 214 0.034249
but... I didn't get any emails (I checked SPAM folder).
Please, can you help me suggesting some tests or errors to fix?
Thanks.
Best,
Lucio
Activity
- All
- Comments
- History
- Activity
- Transitions