I figured it out. I configured my pop3 server (running qmail) to record ALL pop3 traffic so I could see what username and password the gateway was sending. Turned out it was sending the right password but it was sending "SYSTEM" as the username. This prompted me to look at the original java file, and I see that it's looking for "username" in the configuration file, not "login".
So there's a typo in the book's recommended configuration file. Rick Rick Root wrote: > Rick Root wrote: > >>I would like to use the POP3Gateway that appears in Ben's Advanced CF 7 >>book, but I'm having some problems. >> >>Do I need to restart CF for it to notice the jar file there? > > > I answered this question myself by restarting the server, but now I'm > having another problem. It's not doing anything. > > After browsing through various log files, I finally found an error in > C:\CFUSIONMX7\runtime\logs\coldfusion-err.log > > ------------------------------------------------------------ > coldfusion.server.ServiceRuntimeException: authorization failed > at POP3Gateway.pollForNewMessages(POP3Gateway.java:165) > at POP3Gateway.access$000(POP3Gateway.java:16) > at POP3Gateway$1.run(POP3Gateway.java:81) > at java.lang.Thread.run(Unknown Source) > ------------------------------------------------------------ > > However, the username and password in my config file are correct. I > copied/pasted them directly out of a CFML page that was using CFPOP. > > My config file looks like this: > > hostname=mail.webworksllc.com > [EMAIL PROTECTED] > password=xxxxxxxx > > > The following is in C:\CFUSIONMX7\logs\pop3.log: > > ------------------------------------------------------------ > "Information","jrpp-5","10/04/05","14:02:42",,"POP3Gateway.loadPropertiesFromFile():enter" > "Information","jrpp-5","10/04/05","14:02:42",,"POP3Gateway.loadPropertiesFromFile():exit" > "Information","jrpp-5","10/04/05","14:02:42",,"POP3Gateway(CFLISTMANAGER,E:\Inetpub\wwwroot\tools\cflistmanager\pop3gateway.cfg).constructor: > > complete" > "Information","Thread-2237","10/04/05","14:02:42",,"POP3Gateway.start():enter" > "Information","Thread-2237","10/04/05","14:02:42",,"POP3Gateway.start():exit" > "Information","Thread-2239","10/04/05","14:02:42",,"POP3Gateway.pollForNewMessages():enter" > ------------------------------------------------------------ > > There doesn't seem to be any indiciation of what might be wrong. > > I have verified the username and password both by using CFPOP and just > plain telnet: > > ------------------------------------------------------------ > +OK <[EMAIL PROTECTED]> > user [EMAIL PROTECTED] > +OK > pass xxxxxxxx > +OK > list > +OK > .. > quit > +OK > > > Connection to host lost. > ------------------------------------------------------------ > > So... what the heck? > > Rick > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220047 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

