Hi Fetchmail uses JavaMail to connect to mail servers, so under the covers you are configuring JavaMail. Fetchmail allows you to do this for each fetch task.
Within the fetchmail configuration file, the fetch tag - http://james.apache.org/server/2.3.1/fetchmail_configuration.html#fetch - has two child tags of relevance here. javaMailProviderName - http://james.apache.org/server/2.3.1/fetchmail_configuration.html#javaMailPr oviderName - and javaMailProperties - http://james.apache.org/server/2.3.1/fetchmail_configuration.html#javaMailPr operties. For IMAP over SSL the javaMailProviderName should be set to imaps. The javaMailProperties should be set for your server as described in the JavaMail documentation for the IMAP protocol, see - http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/package-sum mary.html. At least this is the theory, I have no tried it in practise. Please report back! Cheers -- Steve > -----Original Message----- > From: haipeng du [mailto:[email protected]] > Sent: 08 May 2009 22:20 > To: James Users List > Subject: fetch mail with imap and ssl > > > I need to fetch mail from imap server which need to use ssl > to connect. > Also, that imap server is not running on default port. how > could I configure > my fetchMail? > > -- > Haipeng Du > Salt Lake City > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
