I've upgraded deluge with the version available on the repositories for my unbuntu intrepid.
I try to use the email notification feature.
2 questions :
1. i run deluge in daemon mode, and start my client from time to time. If the download completes when my client is turned off, i won't get my email notification.....Is that right ? (this would be too bad... i dont' really understand why it's in my client configuration, and not on the server side)
2. until now i don't manage to have it working anyway

When i start my client in debug log level, when a download completes i get the following error
Code: Select all
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/ui/gtkui/notification.py", line 54, in _on_get_torrent_status
self.email(status)
File "/var/lib/python-support/python2.5/deluge/ui/gtkui/notification.py", line 106, in email
mailServer = smtplib.SMTP(self.config["ntf_server"], port)
File "/usr/lib/python2.5/smtplib.py", line 244, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python2.5/smtplib.py", line 296, in connect
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
socket.gaierror: (-2, 'Name or service not known')
In the notification.py file, i saw the following code
Code: Select all
if self.config["ntf_security"] == 'SSL':
port = 465
elif self.config["ntf_security"] == 'TLS':
port = 587
elif self.config["ntf_security"] == None:
port = 25
mailServer = smtplib.SMTP(self.config["ntf_server"], port)
I for example use smtpauth.bluewin.ch on port 587, but WITHOUT tls. I'm probably not the only one not using the standard ports, so it's probably better to have more flexibility concerning the port.
Thanks.