[Fiware-lab-help] IdM User Registration doesn't send signup email

Lucio Ferella lucio.ferella at gmail.com
Fri Nov 25 17:39:31 CET 2016


Dear all,
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 at xxx.com <xxx at yyy.com>" and the log on the
server says:




























*sudo tools/with_venv.sh python manage.py runserver 192.168.228.229:8000
<http://192.168.228.229:8000>Validating models...0 errors foundNovember 25,
2016 - 10:32:51Django version 1.6.11, using settings
'openstack_dashboard.settings'Starting development server at
http://192.168.228.229:8000/ <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 <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
9897DEBUG:idm_logger:Sending email to [u'xxx at xxx.com <u%27xxx at 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*

I've  configured Postfix and Stunnel and tested with success with sendmail
command

In localsettings.py
[...]
# Send email to the console by default
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

# Custom email address and web domain
DEFAULT_FROM_EMAIL = 'yyy at 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



Please, can you help me suggesting some tests or errors to fix?


Thanks.
Best,
Lucio
-- 

--
Questa mail contiene informazioni di carattere confidenziale rivolte
esclusivamente al destinatario indicato. ed è tutelata legalmente dal
Decreto Legislativo 196 del 30/06/2003, ed ai sensi dell'art.616 c.p. E'
vietata la copia, l'utilizzo, la diffusione e la distribuzione
del contenuto della mail  da parte di terzi. Nel caso aveste ricevuto
questo messaggio di posta elettronica per errore, siete pregati di
segnalarlo immediatamente al mittente e di cancellare il messaggio ed i
file eventualmente allegati dal Vs account di posta elettronica e dal Vs
computer.L'utilizzo non autorizzato del contenuto di questo messaggio
costituisce infatti violazione dell'obbligo di non prendere cognizione
della corrispondenza tra altri soggetti, salvo più grave illecito, ed
espone il responsabile alle relative conseguenze.

This e-mail message, including any attachments, is intended only for the
use of the individual or entity to which it is addressed and may contain
information that is privileged and/or confidential. If you are not the
intended recipient or the employee or agent responsible for delivering the
communication to the intended recipient, please notify us immediately by
replying to this message and then delete this message from your system. You
are hereby notified that any use, dissemination, distribution and/or
reproduction of this message and/or any attachments by unintended
recipients is unauthorized and may be unlawful. Furthermore, although we
have taken precautions to minimize the risk of transmitting software
viruses, we advise you to perform your own virus checks on any attachment
to this message. We do not accept liability for any loss or damage caused
by software viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20161125/019a70bb/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy