Skip to content

Commit

Permalink
Merge pull request #6 from NethServer/MigrateGetmailClearText
Browse files Browse the repository at this point in the history
Fix protocol conversion and enable STARTTLS for IMAP retrievers

NethServer/dev#6776
  • Loading branch information
stephdl authored Nov 22, 2023
2 parents bd423a0 + 536cb7a commit 5010733
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions imageroot/actions/import-module/40migration
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ for properties in getmail_properties:
# convert getmail protocol to imapsync protocol
if properties['Retriever'] == "SimplePOP3Retriever":
remoteport = "143"
security = ""
# Pop3 to IMAP not sure it will work, we disable
security = "--tls1"
# Pop3 to IMAP STARTTLS not sure it will work, we disable
cron = ""
elif properties['Retriever'] == "SimplePOP3SSLRetriever":
remoteport = "993"
Expand All @@ -73,7 +73,8 @@ for properties in getmail_properties:
cron = ""
elif properties['Retriever'] == "SimpleIMAPRetriever":
remoteport = '143'
security = ''
# IMAP to IMAP STARTTLS
security = '--tls1'
cron = properties['Time']
elif properties['Retriever'] == "SimpleIMAPSSLRetriever":
remoteport = '993'
Expand Down

0 comments on commit 5010733

Please sign in to comment.