From: martin@piware.de <> Date: Tue, 5 Sep 2006 12:43:18 +0000 (+0200) Subject: requestsync: talk directly to launchpad MX to avoid local MTA X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=a8874f660f9e6825d8d3c983cb9062d8e37849a6 requestsync: talk directly to launchpad MX to avoid local MTA --- diff --git a/requestsync b/requestsync index 42b7499..f964d8a 100755 --- a/requestsync +++ b/requestsync @@ -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.'