i'm also seeing the following exceptions fairly frequently. from
looking at the code, MessageProcessor uses MimeMessage behind the
scenes to perform the required POP3 access.

is there any way of fixing this issue short of replacing MimeMessage
with a POP3 protocol library?

- robert

01/08/07 08:59:38 INFO  fetchmail.mail.xmlmapt.org: Ignoring recipient
header. Using configured recipient as new envelope recipient:
[EMAIL PROTECTED] Message ID: <A432A9
[EMAIL PROTECTED]>. Flags: Seen = false,
Delete = false.
01/08/07 08:59:38 ERROR fetchmail.mail.xmlmapt.org: Exception
processing message ID:
<[EMAIL PROTECTED]>
javax.mail.MessagingException: error getting size;
  nested exception is:
        java.io.IOException: Unexpected response: .
        at com.sun.mail.pop3.POP3Message.getSize(POP3Message.java:118)
        at javax.mail.internet.MimeMessage.<init>(MimeMessage.java:216)
        at 
org.apache.james.fetchmail.MessageProcessor.createMessage(MessageProcessor.java:572)
        at 
org.apache.james.fetchmail.MessageProcessor.process(MessageProcessor.java:384)
        at 
org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:98)
        at 
org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:87)
        at 
org.apache.james.fetchmail.FetchMail.targetTriggered(FetchMail.java:559)
        at 
org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler.doRunEntry(DefaultTimeScheduler.java:449)
        at 
org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler$1.run(DefaultTimeScheduler.java:412)
        at 
org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
        at 
org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
Caused by: java.io.IOException: Unexpected response: .
        at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:361)
        at com.sun.mail.pop3.Protocol.list(Protocol.java:235)
        at com.sun.mail.pop3.POP3Message.getSize(POP3Message.java:110)
        ... 10 more

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to