Disable TLS and login - not needed for my mail relay
This commit is contained in:
1 parent
905ceff675
commit
6129db2379
1 file changed
+2
-2
+2
-2
@@ -151,8 +151,8 @@ call with the --send argument:
|
||||
|
||||
if send:
|
||||
server = smtplib.SMTP(config['SMTP_SERVER'], config['SMTP_PORT'])
|
||||
server.starttls()
|
||||
server.login(config['USERNAME'], config['PASSWORD'])
|
||||
#server.starttls()
|
||||
#server.login(config['USERNAME'], config['PASSWORD'])
|
||||
for pair in pairs:
|
||||
zone = pytz.timezone(config['TIMEZONE'])
|
||||
now = zone.localize(datetime.datetime.now())
|
||||
|
||||
Reference in new issue
Block a user