I've just upgraded to 2.2 and am trying to switch from fetchpop to
fetchmail but fetchmail is failing on every message.
Here is a typical log entry.
14/09/04 08:48:23 DEBUG fetchmail.demon: Attempting delivery of message
with id. <[EMAIL PROTECTED]>
14/09/04 08:48:23 INFO fetchmail.demon: Using original envelope
recipient as new envelope recipient: [EMAIL PROTECTED] Message
ID: <[EMAIL PROTECTED]>. Flags: Seen = false, Delete =
false.
14/09/04 08:48:23 WARN fetchmail.demon: Message could not be delivered
due to an error determining the remote domain. Message ID:
<[EMAIL PROTECTED]>. Flags: Seen = false, Delete = false.
14/09/04 08:48:23 DEBUG fetchmail.demon: UNDELIVERABLE Message ID:
<[EMAIL PROTECTED]>
java.net.UnknownHostException: unknown host
at org.xbill.DNS.Address.lookupHostName(Address.java:106)
at org.xbill.DNS.Address.getByName(Address.java:124)
at
org.apache.james.dnsserver.DNSServer.getByName(DNSServer.java:463)
at
org.apache.james.fetchmail.MessageProcessor.computeRemoteAddress(MessageP
rocessor.java:1365)
at
org.apache.james.fetchmail.MessageProcessor.updateRemoteAddress(MessagePr
ocessor.java:1453)
at
org.apache.james.fetchmail.MessageProcessor.getRemoteAddress(MessageProce
ssor.java:1398)
at
org.apache.james.fetchmail.MessageProcessor.createMail(MessageProcessor.j
ava:601)
at
org.apache.james.fetchmail.MessageProcessor.process(MessageProcessor.java
:357)
at
org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:9
4)
at
org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:83)
at
org.apache.james.fetchmail.FetchMail.targetTriggered(FetchMail.java:529)
at
org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler.doRun
Entry(DefaultTimeScheduler.java:240)
at
org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler.acces
s$000(DefaultTimeScheduler.java:36)
at
org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler$1.run
(DefaultTimeScheduler.java:216)
at
org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnabl
e.java:55)
at
org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
Here is my fetchmail configuration
<fetchmail enabled="true">
<!-- You can have as many fetch tasks as you want, but each must
have a -->
<!-- unique name by which it is identified. -->
<!-- Each task runs at the specified <interval>, tasks may run
concurrently. -->
<fetch name="demon" >
<accounts>
<account user="jimsmith" password="Banj1l"
recipient="[EMAIL PROTECTED]" ignorercpt-header="false"/>
</accounts>
<!-- The address of the server from which to fetch the mail
-->
<host>pop3.demon.co.uk</host>
<!-- How frequently this host is checked - in milliseconds.
600000 is every ten minutes -->
<interval>300000</interval>
<!-- name of the javamail provider you wish to use -->
<!-- (pop3, imap, etc. -->
<javaMailProviderName>pop3</javaMailProviderName>
<!-- name of the folder to open -->
<javaMailFolderName>INBOX</javaMailFolderName>
<recursesubfolders>false</recursesubfolders>
<!-- Properties to be applied to the JavaMail Session. -->
<!-- Properties are specific to the selected JavaMail
provider. -->
<!-- Any number may be specified. -->
<javaMailProperties>
<!-- Set the connection timeout to 3 minutes -->
<property name="mail.pop3.connectiontimeout"
value="180000"/>
<!-- Set the I/O timeout to 3 minutes -->
<property name="mail.pop3.timeout" value="180000"/>
</javaMailProperties>
<!-- Retrieve both old (seen) and new messages from
mailserver. The default -->
<!-- is to fetch only messages the server has not marked as
seen -->
<fetchall>false</fetchall>
<fetched leaveonserver="false" markseen="true"/>
<remotereceivedheader index="2" reject="false"
leaveonserver="true" markseen="false"/>
<undeliverable leaveonserver="true" markseen="false"/>
<recipientnotfound defer="true" reject="false"
leaveonserver="true" markseen="false"/>
<userundefined reject="false" leaveonserver="true"
markseen="false" />
<remoterecipient reject="false" leaveonserver="true"
markseen="false" />
<blacklist reject="true" leaveonserver="true"
markseen="false"> [EMAIL PROTECTED], [EMAIL PROTECTED] </blacklist>
</fetch>
</fetchmail>
I have tried changing the index on <remotereceivedheader/> and I have
tried removing the element entirely but this has not mad any difference
at all.
Here are the headers for the message above after it has been fetched by
Thunderbird..
X-UIDL: 1C78Fd-0002kD-RQ-0002kG
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-path: <[EMAIL PROTECTED]>
Received: from punt-3.mail.demon.net by mailstore
for [EMAIL PROTECTED] id 1C78Fd-0002kD-RQ;
Tue, 14 Sep 2004 08:01:21 +0000
Received: from [194.217.242.210] (helo=lon1-hub.mail.demon.net)
by punt-3.mail.demon.net with esmtp id 1C78Fd-0002kD-RQ
for [EMAIL PROTECTED]; Tue, 14 Sep 2004 08:01:21 +0000
Received: from [62.250.16.51] (helo=wd051-02.dedicated.vuurwerk.net)
by lon1-hub.mail.demon.net with esmtp id 1C78Fc-0003n0-ER
for [EMAIL PROTECTED]; Tue, 14 Sep 2004 08:01:21 +0000
Received: from 172.16.251.254 ([192.168.100.2]) by
wd051-02.dedicated.vuurwerk.net with Microsoft SMTPSVC(5.0.2195.6713);
Tue, 14 Sep 2004 10:14:44 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 14 Sep 2004 10:06:02 CEST
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: TomTom Newsletter September 2004
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="___BoUnDaRy_1095149162218"
X-OriginalArrivalTime: 14 Sep 2004 08:14:44.0125 (UTC)
FILETIME=[E439C4D0:01C49A32]
--
Jim Smith
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]