Email notification/reporting doesn't work with GMAIL

Bug #588578 reported by SuperYeti
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nssbackup
Won't Fix
Low
Unassigned
sbackup
Status tracked in Trunk
0.11
Fix Released
Low
Unassigned
Trunk
Fix Released
Low
Jean-Peer Lorenz

Bug Description

NSsbackup 0.2
ppa install

I'm having issues getting gmail smtp server configured. if i configured it for SMTP auth and tls as is required i get the following error:

SMTPException: SMTP AUTH extension not supported by server.

If i remove the smtp auth, and just leave tls enabled i get the following error.

SMTPSenderRefused: (530, '5.7.0 Must issue a STARTTLS command first. l29sm5809858rvb.16',

it seems there is something wrong with the sendmail implementation. This is on ubuntu 10.04

UPDATE: i did some more digging, and have discovered where the problem is. i was able to fix it for myself, but not enough of a python expert to fix it properly.

I removed the following text from lines 149-150

and\
 if self.__bm.config.get("report","smtptls") == 1 :

this fixed the issue. and now i can send emails via gmail.

Related branches

description: updated
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Thanks for reporting this issue. This bug won't get fixed in nssbackup because sbackup and nssbackup are finally merged. Please use the latest sbackup release (https://launchpad.net/sbackup). Unfortunately, this issue is still valid for sbackup 0.11.3.

Changed in sbackup:
status: New → Confirmed
Changed in nssbackup:
status: New → Won't Fix
Changed in sbackup:
importance: Undecided → Low
Changed in nssbackup:
importance: Undecided → Low
summary: - Email notification doesn't work with GMAIL
+ Email notification/reporting doesn't work with GMAIL
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

I've reviewed the corresponding code and found the cause of this issue: a test whether to use TLS or not failed all the time because of wrong type conversion. I've comitted a fix for this.

Revision history for this message
BlueLight (bluelight-auroville) wrote :

Hi Jean-Peer,
thanks for the release 0.11.4 and the fix for gmail accounts. I noticed that when I try to use port 465 for smtp which is Googles preferred port sbackup simple hangs and I have to kill it. If I use port 587 it works fine.
in both cases TLS enabled.

The Blue Light team

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.