]> piware.de Git - bin.git/commitdiff
requestsync: talk directly to launchpad MX to avoid local MTA
authormartin@piware.de <>
Tue, 5 Sep 2006 12:43:18 +0000 (14:43 +0200)
committermartin@piware.de <>
Tue, 5 Sep 2006 12:43:18 +0000 (14:43 +0200)
requestsync

index 42b7499789a2641b02c9c74c2e3bdd19b8f6961e..f964d8a0cf75893ceea236aa36193a9213b1f9e1 100755 (executable)
@@ -99,10 +99,9 @@ print mail
 print 'Press enter to file this bug, Control-C to abort'
 sys.stdin.readline()
 
-s = smtplib.SMTP()
-s.connect()
+s = smtplib.SMTP('fiordland.ubuntu.com')
 s.sendmail(myemailaddr, to, mail)
-s.close()
+s.quit()
 
 if ubuntuchanges:
     print 'You need to write a followup bug comment with some short explanation of the Ubuntu delta and why it can be dropped.'