I suggest to fix imapfetch.py.
Locate this part in the file, and fix the port number:
if args.port == 993:
conn = imaplib.IMAP4_SSL(args.server)
else:
conn = imaplib.IMAP4(args.server)
Janos
On 2020-08-27 10:36, Yann Lehmann wrote:
Am 27.08.2020 um 10:09 schrieb s...@acts.hu:
yes, use the -p 993, and pilerimport will automatically try using tls.
Or you may even try the util/imapfetch.py tool to do the same. Note
that
imapfetch.py only downloads emails. Then you need to process the
downloaded
emails with pilerimport.
Janos
Thank you Janos for the very quick response. Our server uses STARTTLS
on port 143, so I tried with -P 143 but with the same result as
without specifying a port.
Obviously, specifying -P 993 doesn't work either.