james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin" <robertburrelldon...@gmail.com>
Subject [FetchMail] MimeMessage POP3 issue
Date Wed, 01 Aug 2007 21:02:02 GMT
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:
rob@localhost. Message ID: <A432A9
E4-614F-4D4D-A00B-8123B1E22ECF@leosimons.com>. Flags: Seen = false,
Delete = false.
01/08/07 08:59:38 ERROR fetchmail.mail.xmlmapt.org: Exception
processing message ID:
<A432A9E4-614F-4D4D-A00B-8123B1E22ECF@leosimons.com>
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message