In the meantime, I followed the tutorial and it worked on my side.
Don't forget to configure your socket in config.xml (<factory
names="ssl" ...) and configure with the correct password, keystore name
(to be placed in apps/james/conf/) (no need to ask a official certificate).
pop3-server-....log should also exceptions (if any).
openssl client or thunderbird (with debugging set on) should also give
you useful info.
Is you james ok with plain (without ssl) smtp/pop3 ?
Tks,
Eric
On 2/09/2010 11:50, Norman Maurer wrote:
Hmm,
can you try if it works with s_client ?
$ openssl s_client -connect localhost:995 -showcerts
Bye,
Norman
2010/9/2 Jean Luc Guislain<[email protected]>:
Hi Eric!
Here is a copy of my log files.
The pop3 and smtp show some kind of glitches.
However, there's nothing I can do. I followed the instructions given here:
http://wiki.apache.org/james/UsingSSL and of course I used the port 995 when
trying to connect with James with tls.
I still can't connect with ssl/tls
# telnet ifm.ath.cx 995
connects to my James server (try it!). No problem
What can be wrong?
Rgs
JL
# vim /opt/james-2.3.2/logs/phoenix.log
INFO 2010-09-01 04:25:33.792 [Phoenix ] (): Logger started
WARN 2010-09-01 04:25:33.929 [Phoenix ] (): Phoenix was not started by the
daemon thus it will not be possible to restart the JVM via the Management
interface.
INFO 2010-09-01 04:25:34.108 [Phoenix.] (): Installing Sar located at
file:/opt/james-2.3.2/apps/james.sar.
WARN 2010-09-01 04:25:34.233 [Phoenix.] (): The file conf/sqlResources.xml
can not be extracted from the Sar "file:/opt/james-2.3.2/apps/james.sar"
into directory /opt/james-2.3.2/apps/james/conf/sqlResources.xml because
there is a file in the way.
WARN 2010-09-01 04:25:34.234 [Phoenix.] (): The file
conf/james-fetchmail.xml can not be extracted from the Sar
"file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/james-fetchmail.xml because there is a file
in the way.
WARN 2010-09-01 04:25:34.234 [Phoenix.] (): The file
conf/james-smtphandlerchain.xml can not be extracted from the Sar
"file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/james-smtphandlerchain.xml because there is
a file in the way.
WARN 2010-09-01 04:25:34.234 [Phoenix.] (): The file conf/miResources.xml
can not be extracted from the Sar "file:/opt/james-2.3.2/apps/james.sar"
into directory /opt/james-2.3.2/apps/james/conf/miResources.xml because
there is a file in the way.
WARN 2010-09-01 04:25:34.234 [Phoenix.] (): The file
conf/james-listmanager.xml can not be extracted from the Sar
"file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/james-listmanager.xml because there is a
file in the way.
WARN 2010-09-01 04:25:34.234 [Phoenix.] (): The file
conf/james-liststores.xml can not be extracted from the Sar
"file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/james-liststores.xml because there is a
file in the way.
WARN 2010-09-01 04:25:34.246 [Phoenix.] (): The file
conf/samples/fetchmail/maxMessageSize.xml can not be extracted from the Sar
"file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/samples/fetchmail/maxMessageSize.xml
because there is a file in the way.
WARN 2010-09-01 04:25:34.246 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountManyUsers.xml can not be extracted from the
Sar "file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/samples/fetchmail/oneAccountManyUsers.xml
because there is a file in the way.
WARN 2010-09-01 04:25:34.247 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountManyUsersDynamic.xml can not be extracted
from the Sar "file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/samples/fetchmail/oneAccountManyUsersDynamic.xml
because there is a file in the way.
WARN 2010-09-01 04:25:34.247 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountPerUser.xml can not be extracted from the
Sar "file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/samples/fetchmail/oneAccountPerUser.xml
because there is a file in the way.
WARN 2010-09-01 04:25:34.247 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountPerUserDynamic.xml can not be extracted
from the Sar "file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/samples/fetchmail/oneAccountPerUserDynamic.xml
because there is a file in the way.
WARN 2010-09-01 04:25:34.247 [Phoenix.] (): The file
conf/samples/fetchmail/remoteReceivedHeader.xml can not be extracted from
the Sar "file:/opt/james-2.3.2/apps/james.sar" into directory
/opt/james-2.3.2/apps/james/conf/samples/fetchmail/remoteReceivedHeader.xml
because there is a file in the way.
WARN 2010-09-01 04:25:34.248 [Phoenix.] (): The file SAR-INF/config.xml can
not be extracted from the Sar "file:/opt/james-2.3.2/apps/james.sar" into
directory /opt/james-2.3.2/apps/james/SAR-INF/config.xml because there is a
file in the way.
WARN 2010-09-01 04:25:34.248 [Phoenix.] (): The file SAR-INF/assembly.xml
can not be extracted from the Sar "file:/opt/james-2.3.2/apps/james.sar"
into directory /opt/james-2.3.2/apps/james/SAR-INF/assembly.xml because
there is a file in the way.
WARN 2010-09-01 04:25:34.248 [Phoenix.] (): The file SAR-INF/environment.xml
can not be extracted from the Sar "file:/opt/james-2.3.2/apps/james.sar"
into directory /opt/james-2.3.2/apps/james/SAR-INF/environment.xml because
there is a file in the way.
INFO 2010-09-01 04:25:34.699 [Phoenix.] (): Verifying that all key-stores
have valid names.
INFO 2010-09-01 04:25:34.699 [Phoenix.] (): Verify that any keystore names
used by grant or permission reference actual keystores
INFO 2010-09-01 04:25:34.700 [Phoenix.] (): Verify that if target is null
then actions is null.
INFO 2010-09-01 04:25:34.867 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are valid.
INFO 2010-09-01 04:25:34.869 [Phoenix.] (): Verifying that the names
specified for Component are valid.
INFO 2010-09-01 04:25:34.869 [Phoenix.] (): Verifying that the names
specified for the Components are unique.
INFO 2010-09-01 04:25:34.869 [Phoenix.] (): Verifying that the dependency
mapping is valid according to ComponentInfos.
INFO 2010-09-01 04:25:34.869 [Phoenix.] (): Verifying that the dependency
mapping for every Component is valid with respect to other components.
INFO 2010-09-01 04:25:34.869 [Phoenix.] (): Verifying that there are no
circular dependencies between Components.
INFO 2010-09-01 04:25:34.871 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are unique.
INFO 2010-09-01 04:25:34.871 [Phoenix.] (): Verifying that the specified
Blocks have valid types.
INFO 2010-09-01 04:25:34.904 [Phoenix.] (): Verifying that the specified
BlockListeners have valid types.
INFO 2010-09-01 04:25:34.980 [Phoenix.] (): 21 Blocks to process for phase
"startup". Order of processing = [dnsserver, database-connections,
mailstore, users-store, localusersrepository, spoolrepository, sockets,
thread-manager, scheduler, James, mailetpackages, matcherpackages,
spoolmanager, connections, remotemanager, pop3server, pop3server-tls,
smtpserver, nntp-repository, nntpserver, fetchmail].
# vim /opt/james-2.3.2/apps/james/logs/connections-2010-09-01-04-25.log
0 bytes.
# vim /opt/james-2.3.2/apps/james/logs/default-2010-09-01-04-25.log
01/09/10 04:25:35 INFO spoolrepository: SpoolRepository opened: 23103355
# vim /opt/james-2.3.2/apps/james/logs/dnsserver-2010-09-01-04-25.log
01/09/10 04:25:34 INFO dnsserver: Autodiscovery is enabled - trying to
discover your system's DNS Servers
01/09/10 04:25:35 INFO dnsserver: Adding autodiscovered server 200.58.160.25
01/09/10 04:25:35 INFO dnsserver: DNS Server is: 200.58.160.25
01/09/10 04:25:35 INFO dnsserver: DNS Server is: 200.58.160.25
# vim /opt/james-2.3.2/apps/james/logs/fetchmail-2010-09-01-04-25.log
01/09/10 04:25:35 INFO fetchmail: FetchMail Disabled
# vim /opt/james-2.3.2/apps/james/logs/james-2010-09-01-04-25.log
01/09/10 04:25:35 INFO James: JAMES init...
01/09/10 04:25:35 INFO James: Local host is: jayhel-server
01/09/10 04:25:35 INFO James: Handling mail for: 190.186.137.82
01/09/10 04:25:35 INFO James: Handling mail for: ifm.ath.cx
01/09/10 04:25:35 INFO James: Handling mail for: jayhel-server
01/09/10 04:25:35 INFO James: Local users repository opened
01/09/10 04:25:35 INFO James: Private Repository LocalInbox opened
01/09/10 04:25:35 INFO James: JAMES ...init end
# vim /opt/james-2.3.2/apps/james/logs/mailet-2010-09-01-04-25.log
01/09/10 04:25:35 INFO James.Mailet: RemoteDelivery: maxRetries is larger
than total number of attempts specified. Increasing last delayTime with 19
attempts
01/09/10 04:25:35 INFO James.Mailet: RemoteDelivery: Delay of 21600000 msecs
is now attempted: 20 times
01/09/10 15:29:05 INFO James.Mailet: RemoteDelivery: Attempting delivery of
Mail1283369345504-5 to host outbound.mailhop.org at 204.13.248.72 for
addresses [[email protected]]
01/09/10 15:29:09 INFO James.Mailet: RemoteDelivery: Mail
(Mail1283369345504-5) sent successfully to outbound.mailhop.org at
204.13.248.72 for [[email protected]]
# vim /opt/james-2.3.2/apps/james/logs/mailstore-2010-09-01-04-25.log
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/error
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/error/OBJECT->org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/error/MAIL->org.apache.james.mailrepository.AvalonMailRepository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/outgoing
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/outgoing/STREAM->org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/outgoing
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/outgoing/OBJECT->org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/outgoing/SPOOL->org.apache.james.mailrepository.AvalonSpoolRepository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/spam
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/spam/STREAM->org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/spam
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/spam/OBJECT->org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/spam/MAIL->org.apache.james.mailrepository.AvalonMailRepository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/address-error
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/address-error/STREAM->org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/address-error
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/address-error/OBJECT->org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/address-error/MAIL->org.apache.james.mailrepository.AvalonMailRepository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/relay-denied
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/relay-denied/STREAM->org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
01/09/10 04:25:35 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
Store
01/09/10 04:25:35 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/relay-denied
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/relay-denied/OBJECT->org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
01/09/10 04:25:35 INFO mailstore: added repository:
file://var/mail/relay-denied/MAIL->org.apache.james.mailrepository.AvalonMailRepository
01/09/10 04:25:39 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
Store
01/09/10 04:25:39 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/inboxes/jayhel
01/09/10 04:25:39 INFO mailstore: added repository:
file://var/mail/inboxes/jayhel/STREAM->org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
01/09/10 04:25:39 INFO mailstore: Init
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
Store
01/09/10 04:25:39 INFO mailstore:
org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
opened in /opt/james-2.3.2/apps/james/var/mail/inboxes/jayhel
01/09/10 04:25:39 INFO mailstore: added repository:
file://var/mail/inboxes/jayhel/OBJECT->org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository
01/09/10 04:25:39 INFO mailstore: added repository:
file://var/mail/inboxes/jayhel/MAIL->org.apache.james.mailrepository.AvalonMailRepository
# vim /opt/james-2.3.2/apps/james/logs/nntpstore-2010-09-01-04-25.log
0 bytes.
# vim /opt/james-2.3.2/apps/james/logs/objectstore-2010-09-01-04-25.log
0 bytes.
# vim /opt/james-2.3.2/apps/james/logs/pop3server-2010-09-01-04-25.log
01/09/10 04:25:35 INFO pop3server: POP3 Service uses default thread group.
01/09/10 04:25:35 INFO pop3server: POP3 Service is running on: jayhel-server
01/09/10 04:25:35 INFO pop3server: POP3 Service handler hello name is:
jayhel-server
01/09/10 04:25:35 INFO pop3server: POP3 Service handler connection timeout
is: 120000
01/09/10 04:25:35 INFO pop3server: POP3 Service connection backlog is: 5
01/09/10 04:25:35 INFO pop3server: POP3 Service will allow a maximum of 30
connections.
01/09/10 04:25:35 INFO pop3server: The idle timeout will be reset every
20480 bytes.
01/09/10 04:25:35 INFO pop3server: POP3 Service started plain:110
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service uses default thread
group.
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service is running on:
jayhel-server
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service handler hello name is:
jayhel-server
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service handler connection
timeout is: 120000
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service connection backlog is: 5
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service will allow a maximum of
30 connections.
01/09/10 04:25:35 INFO pop3server-tls: The idle timeout will be reset every
20480 bytes.
01/09/10 04:25:35 DEBUG pop3server-tls: POP3 Service init...
01/09/10 04:25:35 DEBUG pop3server-tls: POP3 Service ...init end
01/09/10 04:25:35 INFO pop3server-tls: POP3 Service started ssl:995
01/09/10 04:25:35 DEBUG pop3server-tls: Using a bounded pool for POP3
handlers with upper limit 30
01/09/10 04:25:39 INFO pop3server: Connection from
jayhel-server.farmacia-boliviana.com (190.186.137.82)
01/09/10 04:25:39 INFO pop3server: Connection for jayhel from
jayhel-server.farmacia-boliviana.com (190.186.137.82) closed.
01/09/10 04:27:01 INFO pop3server: Connection from 190.186.137.85
(190.186.137.85)
01/09/10 04:27:01 INFO pop3server: Connection for jayhel from 190.186.137.85
(190.186.137.85) closed.
01/09/10 04:29:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
.../...
01/09/10 15:49:15 INFO pop3server: Connection for jayhel from 190.186.137.84
(190.186.137.84) closed.
01/09/10 15:54:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 15:54:03 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 15:59:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 15:59:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 16:04:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 16:04:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 16:04:41 INFO pop3server: Connection from 190.186.137.85
(190.186.137.85)
01/09/10 16:04:42 INFO pop3server: Connection for jayhel from 190.186.137.85
(190.186.137.85) closed.
01/09/10 16:04:56 INFO pop3server: Connection from 190.186.137.85
(190.186.137.85)
01/09/10 16:04:56 INFO pop3server: Connection for jayhel from 190.186.137.85
(190.186.137.85) closed.
01/09/10 16:07:07 DEBUG pop3server-tls: Retrieving a
org.apache.james.pop3server.POP3Handler from the pool
01/09/10 16:07:08 INFO pop3server-tls: Connection from 190.186.137.85
(190.186.137.85)
01/09/10 16:07:26 DEBUG pop3server-tls: Calling start()
01/09/10 16:07:26 DEBUG pop3server-tls: Watchdog default Worker #15 has time
to sleep 120000
01/09/10 16:07:26 ERROR pop3server-tls: Exception during connection from
190.186.137.85 (190.186.137.85) : Connection has been shutdown:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
javax.net.ssl.SSLException: Connection has been shutdown:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1267)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at
org.apache.james.util.CRLFTerminatedReader.read(CRLFTerminatedReader.java:153)
at
org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:113)
at
org.apache.james.pop3server.POP3Handler.readCommandLine(POP3Handler.java:424)
at
org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:277)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432)
at
org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
connection?
at
com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:278)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at java.io.BufferedWriter.flush(BufferedWriter.java:236)
at java.io.PrintWriter.flush(PrintWriter.java:276)
at
org.apache.james.util.InternetPrintWriter.println(InternetPrintWriter.java:92)
at
org.apache.james.util.InternetPrintWriter.println(InternetPrintWriter.java:189)
at
org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:274)
... 3 more
01/09/10 16:07:26 DEBUG pop3server-tls: Calling disposeWatchdog() default
Worker #15
01/09/10 16:07:26 DEBUG pop3server-tls: Returning a
org.apache.james.pop3server.POP3Handler to the pool
01/09/10 16:09:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 16:09:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 16:09:26 DEBUG pop3server-tls: Watchdog default Worker #15 is
exiting run().
01/09/10 16:09:56 INFO pop3server: Connection from 190.186.137.85
(190.186.137.85)
01/09/10 16:09:56 INFO pop3server: Connection for jayhel from 190.186.137.85
(190.186.137.85) closed.
01/09/10 16:14:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 16:14:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 16:14:56 INFO pop3server: Connection from 190.186.137.85
(190.186.137.85)
01/09/10 16:14:56 INFO pop3server: Connection for jayhel from 190.186.137.85
(190.186.137.85) closed.
01/09/10 16:19:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
.../...
01/09/10 17:44:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 17:49:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 17:49:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 17:54:03 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 17:54:03 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 17:59:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 17:59:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 18:04:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 18:04:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 18:05:32 INFO pop3server: Connection from
jayhel-server.farmacia-boliviana.com (190.186.137.82)
01/09/10 18:05:33 INFO pop3server: Connection for jayhel from
jayhel-server.farmacia-boliviana.com (190.186.137.82) closed.
01/09/10 18:09:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 18:09:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 18:10:32 INFO pop3server: Connection from
jayhel-server.farmacia-boliviana.com (190.186.137.82)
01/09/10 18:10:32 INFO pop3server: Connection for jayhel from
jayhel-server.farmacia-boliviana.com (190.186.137.82) closed.
01/09/10 18:14:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 18:14:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 18:15:32 INFO pop3server: Connection from
jayhel-server.farmacia-boliviana.com (190.186.137.82)
01/09/10 18:15:32 INFO pop3server: Connection for jayhel from
jayhel-server.farmacia-boliviana.com (190.186.137.82) closed.
01/09/10 18:19:03 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 18:19:03 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 18:20:32 INFO pop3server: Connection from
jayhel-server.farmacia-boliviana.com (190.186.137.82)
01/09/10 18:20:32 INFO pop3server: Connection for jayhel from
jayhel-server.farmacia-boliviana.com (190.186.137.82) closed.
01/09/10 18:24:02 INFO pop3server: Connection from 190.186.137.83
(190.186.137.83)
01/09/10 18:24:02 INFO pop3server: Connection for jayhel from 190.186.137.83
(190.186.137.83) closed.
01/09/10 18:25:32 INFO pop3server: Connection from
jayhel-server.farmacia-boliviana.com (190.186.137.82)
01/09/10 18:25:32 INFO pop3server: Connection for jayhel from
jayhel-server.farmacia-boliviana.com (190.186.137.82) closed.
# vim /opt/james-2.3.2/apps/james/logs/remotemanager-2010-09-01-04-25.log
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service uses default
thread group.
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service is running on:
jayhel-server
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service handler hello
name is: jayhel-server
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service handler
connection timeout is: 60000
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service connection
backlog is: 5
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service will allow a
maximum of 30 connections.
01/09/10 04:25:35 INFO remotemanager: Remote Manager Service started
plain:4555
# vim /opt/james-2.3.2/apps/james/logs/scheduler-2010-09-01-04-25.log
0 bytes
# vim /opt/james-2.3.2/apps/james/logs/smtpserver-2010-09-01-04-25.log
01/09/10 04:25:35 INFO smtpserver: SMTP Service uses default thread group.
01/09/10 04:25:35 INFO smtpserver: SMTP Service is running on: jayhel-server
01/09/10 04:25:35 INFO smtpserver: SMTP Service handler hello name is:
jayhel-server
01/09/10 04:25:35 INFO smtpserver: SMTP Service handler connection timeout
is: 360000
01/09/10 04:25:35 INFO smtpserver: SMTP Service connection backlog is: 5
01/09/10 04:25:35 INFO smtpserver: SMTP Service will allow a maximum of 30
connections.
01/09/10 04:25:35 INFO smtpserver: This SMTP server requires authentication,
but doesn't verify that the authentication credentials match the sender
address.
01/09/10 04:25:35 INFO smtpserver: Authorized addresses: [
127.0.0.0/255.0.0.0]
01/09/10 04:25:35 INFO smtpserver: No maximum message size is enforced for
this server.
01/09/10 04:25:35 INFO smtpserver: The idle timeout will be reset every
20480 bytes.
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.VrfyCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.AuthCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.QuitCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.HelpCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.HeloCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.MailCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.DataCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.RcptCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.EhloCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added MessageHandler:
org.apache.james.smtpserver.SendMailHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.NoopCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.ExpnCmdHandler
01/09/10 04:25:35 INFO smtpserver: Added Commandhandler:
org.apache.james.smtpserver.RsetCmdHandler
01/09/10 04:25:35 INFO smtpserver: SMTP Service started plain:25
01/09/10 05:05:07 INFO smtpserver: Connection from
114-45-57-14.dynamic.hinet.net (114.45.57.14)
01/09/10 05:05:14 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:15 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:15 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:16 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:17 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:17 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:21 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:22 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:22 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:23 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:23 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:24 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:24 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:25 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:25 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:26 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:26 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:27 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:27 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:28 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:29 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:29 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:31 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:32 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:33 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:33 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:34 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:35 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:36 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:36 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:38 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 05:05:39 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
.../...
01/09/10 18:33:02 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 18:33:03 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 18:33:03 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 18:33:03 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
01/09/10 18:33:04 ERROR smtpserver: Rejected message - authentication is
required for mail request [to:[email protected]<to%[email protected]>]
[from:[email protected]<from%[email protected]>]
# vim /opt/james-2.3.2/apps/james/logs/sockets-2010-09-01-04-25.log
0 bytes.
# vim /opt/james-2.3.2/apps/james/logs/spoolmanager-2010-09-01-04-25.log
01/09/10 04:25:35 INFO spoolmanager: JamesSpoolManager init...
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet PostmasterAlias instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher RelayLimit=30 instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet Null instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher
HasMailAttributeWithValue=org.apache.james.infected, true instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher HasMailAttribute=spamChecked
instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet SetMailAttribute instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher SMTPAuthSuccessful
instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher InSpammerBlacklist=
query.bondedsender.org. instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher InSpammerBlacklist=
dnsbl.njabl.org. instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor root instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToRepository instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor error instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher SMTPAuthSuccessful
instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet SetMimeHeader instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher
HasMailAttribute=org.apache.james.SMIMECheckSignature instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet SetMimeHeader instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher RecipientIsLocal instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet LocalDelivery instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher HostIsLocal instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToProcessor instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet RemoteDelivery instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor transport instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToRepository instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor spam instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet SetMailAttribute instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher SMTPAuthSuccessful
instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet Bounce instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet Null instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor virus instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToRepository instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor local-address-error
instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet ToRepository instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor relay-denied instantiated.
01/09/10 04:25:35 INFO spoolmanager: Matcher All instantiated.
01/09/10 04:25:35 INFO spoolmanager: Mailet DSNBounce instantiated.
01/09/10 04:25:35 INFO spoolmanager: Processor bounces instantiated.
01/09/10 04:25:35 INFO spoolmanager: Spooler Manager uses 10 Thread(s)
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #0
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #8
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #1
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #9
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #2
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #3
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #4
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #5
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #6
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Run JamesSpoolManager: Spool Thread #7
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
01/09/10 04:25:35 INFO spoolmanager: Spool=$Proxy5
# vim /opt/james-2.3.2/apps/james/logs/usersstore-2010-09-01-04-25.log
01/09/10 04:25:35 INFO users-store: AvalonUsersStore init...
01/09/10 04:25:35 INFO users-store: UsersRepository LocalUsers started.
01/09/10 04:25:35 INFO users-store: AvalonUsersStore ...init
On Wed, Sep 1, 2010 at 9:27 AM, Eric Charles<[email protected]> wrote:
Hi Jean Luc,
Glad to hear you're progressing.
For the "connection to pop failed", it's difficult to say from here...
- I suppose you changed assembly.xml and environment.xml as described in
http://wiki.apache.org/james/UsingSSL
- Do you connect from opera/thunderbird to the 995 port with ssl/tls ?
- You have no error message in the log ?
- Can you telnet 995 to james ? (is the socket listening) ?
Tks,
Eric
On 31/08/2010 19:07, Jean Luc Guislain wrote:
Hi Eric
Thank you for your email.
Since I was new to James, I have spent some time to study the
configuartion
files in full details
I set up james on a fixed IP 190.186.137.82 servername ifm.ath.cx
My email address is [email protected]
Yes! It's working fine!
I want to replace a Communigate server with James and take advantage to
learn a little bit of Java on the fly...
I configured SSL according to the instructions given here:
http://wiki.apache.org/james/UsingSSL
I executed:
# keytool -genkey -alias james -keyalg RSA -keystore
/opt/james-2.3.2/apps/james/conf/keystore
The log files are clean.
However, when I try to login to ifm.ath.cx with Opera or Thunderbird
(both
latest versions) the connection does not occur and I get the message
"Connection to the POP server failed"
How come?
Would you have any idea why?
Best rgds
JL
On Fri, Aug 27, 2010 at 10:03 AM, Eric Charles<[email protected]> wrote:
Hi Jean Luc,
I tried to fetchmail gmail with James 3.0.
There was a few problems with 3.0 src code (
https://issues.apache.org/jira/browse/JAMES-1038)
If you work with James 2.3 (I think the config is the same), following
config should work (it worked for me with James 3.0 trunk + JAMES-1038).
Once fetched, mails are marked SEEN, but are not removed from gmail.
Before testing this, ensure you can reach you gmail account with your
favorite IMAP client.
Tks,
Eric
<?xml version="1.0"?>
<fetchmail enabled="true">
<fetch name="gmail.com">
<accounts>
<account user="[email protected]" password="YOUR_PASSWORD"
recipient="YOUR_EMAIL_ADDRESS_IN_JAMES" ignorercpt-header="true"/>
</accounts>
<host>imap.gmail.com</host>
<interval>6000</interval>
<javaMailProviderName>imap</javaMailProviderName>
<javaMailFolderName>INBOX</javaMailFolderName>
<javaMailProperties>
<property name="mail.imap.ssl.enable" value="true"/>
</javaMailProperties>
<fetchall>false</fetchall>
<recursesubfolders>false</recursesubfolders>
<defaultdomain>localhost</defaultdomain>
<fetched leaveonserver="true" markseen="true"/>
<remotereceivedheader index="1" reject="true" leaveonserver="true"
markseen="false"/>
<maxmessagesize limit="0" reject="false" leaveonserver="true"
markseen="false"/>
<undeliverable leaveonserver="true" markseen="false"/>
<recipientnotfound defer="true" reject="true" leaveonserver="true"
markseen="false"/>
<blacklist reject="true" leaveonserver="true" markseen="false">
wib...@localhost, flob...@localhost</blacklist>
<userundefined reject="true" leaveonserver="true" markseen="false" />
<remoterecipient reject="true" leaveonserver="true" markseen="false" />
</fetch>
</fetchmail>
On 25/08/2010 20:28, Jean Luc Guislain wrote:
I would like to know if somebody has a working
james-fetchmail.xml
file to poll a pop gmail account.
Rgs,
JL
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]