I have problems with getmail receiving mail from one IMAP/SSL account.
This particular one sends some SSL certificate (forgive the perhaps inadequate terminology, I am new to this) and I suspect this may be the problem (i can fetch mail from this server without any problem using one of the all-in-one GUI email clients such as Thunderbird which asks me to accept the certificate).
The error returned by getmail is:
socket error ([Errno 110] Connection timed out)
My configuration file:
[retriever]
type = SimpleIMAPSSLRetriever
server = mail.somewhere.net
port = someport
mailboxes = ("INBOX","Sent")
username = someusername
password = somepass
[destination]
type = MDA_external
path = /usr/bin/procmail
unixfrom = True
user = someuser
[options]
read_all = false