You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Robert Burrell Donkin <ro...@gmail.com> on 2007/08/01 22:55:53 UTC
[FetchMail] MessageProcessor address errors common
i'm seeing the same stack trace a few times a day (see bottom of
message). from examining the code, i think that the input to the
mailaddress comes from a mimemessage.
am i mistaken in thinking that this really shouldn't fail?
- robert
01/08/07 08:55:34 WARN fetchmail.blueyonder.co.uk: Message could not
be delivered due to an error parsing a mail address. Message ID:
<20070622145643.26586.qmail@mail
er.0catch.com>. Flags: Seen = false, Delete = false.
01/08/07 08:55:34 DEBUG fetchmail.blueyonder.co.uk: UNDELIVERABLE
Message ID: <20...@mailer.0catch.com>
javax.mail.internet.ParseException: Invalid character at 31
at org.apache.mailet.MailAddress.parseDomainName(MailAddress.java:469)
at org.apache.mailet.MailAddress.<init>(MailAddress.java:141)
at org.apache.mailet.MailAddress.<init>(MailAddress.java:182)
at org.apache.james.fetchmail.MessageProcessor.getSender(MessageProcessor.java:719)
at org.apache.james.fetchmail.MessageProcessor.createMail(MessageProcessor.java:624)
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [FetchMail] MessageProcessor address errors common
Posted by Stefano Bagnara <ap...@bago.org>.
Robert Burrell Donkin ha scritto:
> On 8/1/07, Stefano Bagnara <ap...@bago.org> wrote:
>> Never seen this error before in fetchmail.
>> What about that CRLF you have after the
>> "<20070622145643.26586.qmail@mail" ? Is it a copy and paste artifact or
>> is it really there?
>
> cut'n'paste
>
> the correct behaviour when fetchmail encounters a non-RFC822 mail is
> an interesting question. AIUI ATM it just leaves that message on the
> server.
>
> - robert
Yes, now it throws exception and leave the message there: at the next
cron it processes it again, and this encrease the exceptions day by day.
Fortunately most non-rfc822 mails are spam.
If that CRLF was a cut&paste issue then I really don't know: I hope you
add the debug you proposed in the other thread and then you can bring
more details about the issue.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [FetchMail] MessageProcessor address errors common
Posted by Robert Burrell Donkin <ro...@gmail.com>.
On 8/1/07, Stefano Bagnara <ap...@bago.org> wrote:
> Never seen this error before in fetchmail.
> What about that CRLF you have after the
> "<20070622145643.26586.qmail@mail" ? Is it a copy and paste artifact or
> is it really there?
cut'n'paste
the correct behaviour when fetchmail encounters a non-RFC822 mail is
an interesting question. AIUI ATM it just leaves that message on the
server.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [FetchMail] MessageProcessor address errors common
Posted by Stefano Bagnara <ap...@bago.org>.
Never seen this error before in fetchmail.
What about that CRLF you have after the
"<20070622145643.26586.qmail@mail" ? Is it a copy and paste artifact or
is it really there?
Stefano
Robert Burrell Donkin ha scritto:
> i'm seeing the same stack trace a few times a day (see bottom of
> message). from examining the code, i think that the input to the
> mailaddress comes from a mimemessage.
>
> am i mistaken in thinking that this really shouldn't fail?
>
> - robert
>
> 01/08/07 08:55:34 WARN fetchmail.blueyonder.co.uk: Message could not
> be delivered due to an error parsing a mail address. Message ID:
> <20070622145643.26586.qmail@mail
> er.0catch.com>. Flags: Seen = false, Delete = false.
> 01/08/07 08:55:34 DEBUG fetchmail.blueyonder.co.uk: UNDELIVERABLE
> Message ID: <20...@mailer.0catch.com>
> javax.mail.internet.ParseException: Invalid character at 31
> at org.apache.mailet.MailAddress.parseDomainName(MailAddress.java:469)
> at org.apache.mailet.MailAddress.<init>(MailAddress.java:141)
> at org.apache.mailet.MailAddress.<init>(MailAddress.java:182)
> at org.apache.james.fetchmail.MessageProcessor.getSender(MessageProcessor.java:719)
> at org.apache.james.fetchmail.MessageProcessor.createMail(MessageProcessor.java:624)
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org