As readers of my blog know, I've had a few issues with CFPOP lately. Yesterday I ran into a new one. I have a script that checks 8 accounts. For some reason account 4 was throwing an odd error:
Logon failure: unknown user name or bad password.
This exception was caused by:
javax.mail.AuthenticationFailedException: Not enough server storage is available to process this command.
You will notice the first line mentions a logon failure, but the second line mentions a disk space issue. To confirm it wasn't a logon error, I changed the password and ran the code again. This time I got a message that was very clear about being just an authentication issue.
So I asked around for help, and Dave Watts responded with the following:
Is your POP server running on Windows and/or using Windows accounts for authentication? I've seen this "Not enough server storage" error on Windows in several odd cases. In my experience, when this error occurs, all forms of login may well be broken, and the only solution I've found is to reboot the entire machine (in this case, the machine running your POP server, not your CF server).If your POP server is on Windows, you might try rebooting the machine running it to see if that makes the error go away.
So, I've sent a note to the mail server admin and we will see if a reboot helps. I'll post more on this as things develop.
Archived Comments
Hi Ray, at least you receive some answer/help! ;)
Two months ago I´ve faced some very odd behavior with CFFTP (thankfully I found a workround) and nobody seams to understand (or read) it. I know this is not the right place for it but I'll present the issues I'm facing. Who knows? Maybe some reader that already faced it can confirm. Here's the history:
The problem happens when you use CFFTP tag in a "sandboxed" account. I'm not sure but I believe CFFTP uses PORT transfer mode by default (the "passive" attribute is "no" by default). No problems so far, except for the fact that CFMX can't make the connection and returns a java.net.SocketPermission error that
follows:
Security: The requested template has been denied access to localhost:1024-.
The following is the internal exception message: access denied (java.net.SocketPermission localhost:1024- listen,resolve).
Some could ask to add 1024 (and higher) TCP port in the "Server/Port"
settings but it doesn't change anything (not to mention that 1024 port is not used in PORT mode(?)). I've added all possible weirdness as TCP ports (20, 21, various ranges etc, etc) with no sucess.
The conclusion? The CFFTP tag with default attributes doesn't work under a regular sandbox context (with all IP/Ports open and availble for connection).
The only workaround for it is to use passive mode (passive="yes"). If you're adding some restriction in the "Server/Ports" you must add the FTP host leaving the "port" field blank (all ports) or add two entries (1) ftp.somehost.com:21 and (2) ftp.somehost.com:1024- (1024 and higher).
To exemplify:
1) http://www.alexhubner.com/f... (using the default port mode)
2) http://www.alexhubner.com/f... (using pasv mode)
The problem with the workaround is that it obligates a FTP server that accepts PASV transfer mode. And if my FTP server (or even the firewall ahead of it) doesn't allow me to use PASV mode?
I've googled around and didn't found any mention to it.
Many thanks!
PS: the cfml template I'm using in the examples above is here:
http://www.alexhubner.com/f... and a screenshot of my "server/ports" config in the sandbox is here:
http://www.alexhubner.com/f...
Another reason why I really like BlueDragon 6.1 (beta) and it's IMAP support.