Re: django-registration + e-mail confirmation

2010-09-02 Thread tom84
Thank You very much.
Tomek

On 2 Wrz, 14:45, Federico Maggi  wrote:
>  wrote:
> > How to open port 25 in ubuntu?
>
>     If you google for "mail ubuntu" or "smtp ubuntu" there is a nice 
> community doc/wiki explaining you all the steps for setting up an SMTP server 
> on Ububtu.
>
> Otherwise, for testing purposes, you could use the debug mail backend in 
> Django that writes e-mails on txt files.
>
> -- Fede

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-registration + e-mail confirmation

2010-09-02 Thread tom84
I scanned ports of my IP using network tools and seems that only 45784
and 47344 are open. How to open port 25 in ubuntu?
thanks
Tomek

On 2 Wrz, 14:28, Federico Maggi <federico.ma...@gmail.com> wrote:
> On 02/set/2010, at 14:10, tom84 <wozniak.tomasz...@gmail.com> wrote:
>
> > Unfortunately after sending filled registration form I received 111
> > error- connection refused.
>
>     Looks lice you're trying to connect to a closed/filtered port (25). Have 
> you tested the SMTP outside Django (e.g., using telnet localhost 25)?
>
> -- Fede

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django-registration + e-mail confirmation

2010-09-02 Thread tom84
Hello.
I installed django-registration from 
http://bitbucket.org/ubernostrum/django-registration/downloads.
Unfortunately after sending filled registration form I received 111
error- connection refused. I found somewhere that it may be because of
the wrong server configuration, so I set some values in the
settings.py file:

EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
EMAIL_FILE_PATH = os.path.join(os.path.dirname(__file__),
'emaildata')
EMAIL_HOST='localhost'
EMAIL_HOST_PASSWORD=''
EMAIL_HOST_USER=''
EMAIL_PORT=25
DEFAULT_FROM_EMAIL = "anyem...@anydomain.com"
SERVER_EMAIL = "anyem...@anydomain.com"
EMAIL_SUBJECT_PREFIX='[Django] '
EMAIL_USE_TLS=False
SEND_BROKEN_LINK_EMAILS=True

Unfortunately it doesn't help. What should I change?

Thanks in advance
Tomek


More error info:
error at /accounts/register/

[Errno 111] Connection refused

Request Method: POST
Request URL:http://127.0.0.1:8000/accounts/register/
Django Version: 1.2.1
Exception Type: error
Exception Value:

[Errno 111] Connection refused

Exception Location: /usr/lib/python2.6/socket.py in
create_connection, line 514
Python Executable:  /usr/bin/python
Python Version: 2.6.5
Python Path:['/home/tomek/Pulpit/djangoPage/mysite', '/usr/lib/
python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-
tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/
usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/
PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/
python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/
pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-
packages']
Server time:Thu, 2 Sep 2010 13:28:25 +0200

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.