Hi Eric! Thank you for your email. I tried to adapt this james-fechmail.xml file to a pop3 account in gmail. (I use POP exclusively, not IMAP). The connection was not succesfful. First I need to solve my SSL/TLS problem befor I can go forward with this, I think. Rgs JL
On Fri, Aug 27, 2010 at 10:03 AM, Eric Charles <[email protected]> wrote: > Hi Jean Luc, > > I tried to fetchmail gmail with James 3.0. > There was a few problems with 3.0 src code ( > https://issues.apache.org/jira/browse/JAMES-1038) > > If you work with James 2.3 (I think the config is the same), following > config should work (it worked for me with James 3.0 trunk + JAMES-1038). > Once fetched, mails are marked SEEN, but are not removed from gmail. > > Before testing this, ensure you can reach you gmail account with your > favorite IMAP client. > > Tks, > > Eric > > <?xml version="1.0"?> > <fetchmail enabled="true"> > <fetch name="gmail.com"> > <accounts> > <account user="[email protected]" password="YOUR_PASSWORD" > recipient="YOUR_EMAIL_ADDRESS_IN_JAMES" ignorercpt-header="true"/> > </accounts> > <host>imap.gmail.com</host> > <interval>6000</interval> > <javaMailProviderName>imap</javaMailProviderName> > <javaMailFolderName>INBOX</javaMailFolderName> > <javaMailProperties> > <property name="mail.imap.ssl.enable" value="true"/> > </javaMailProperties> > <fetchall>false</fetchall> > <recursesubfolders>false</recursesubfolders> > <defaultdomain>localhost</defaultdomain> > <fetched leaveonserver="true" markseen="true"/> > <remotereceivedheader index="1" reject="true" leaveonserver="true" > markseen="false"/> > <maxmessagesize limit="0" reject="false" leaveonserver="true" > markseen="false"/> > <undeliverable leaveonserver="true" markseen="false"/> > <recipientnotfound defer="true" reject="true" leaveonserver="true" > markseen="false"/> > <blacklist reject="true" leaveonserver="true" markseen="false"> > wib...@localhost, flob...@localhost </blacklist> > <userundefined reject="true" leaveonserver="true" markseen="false" /> > <remoterecipient reject="true" leaveonserver="true" markseen="false" /> > </fetch> > </fetchmail> > > > > On 25/08/2010 20:28, Jean Luc Guislain wrote: > >> I would like to know if somebody has a working >> >> james-fetchmail.xml >> >> file to poll a pop gmail account. >> >> Rgs, >> JL >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
