RE: [EXT] Re: - Error while processing imap request

2023-05-02 Thread Sean McElroy
Thanks, I also noticed that my problem also related to Java 17 and I reverted 
to Java 11. The solution you suggest, also works.

Thanks again.

Sean

-Original Message-
From: Scoopta 
Sent: 30 April 2023 20:46
To: server-user@james.apache.org
Subject: Re: [EXT] Re: - Error while processing imap request

For what it's worth months ago my james instance broke when I upgraded to java 
17, I posted about it here but no one could reproduce so I left it on 11, 
months later I upgraded to 17 again and everything was working fine so I 
thought nothing more about it. Recently, however, it stopped sending 
mail/showing mail in thunderbird for whatever reason, it had been working on 
Java 17 but on the 26th of this month it decided to stop. Digging through the 
logs I found these exact same stack traces, I added the following to JAVA_OPTS 
which fixes the stack traces and immediately caused a flood of email that had 
been queued for sending to send and my inboxes to flood with all the mail I had 
received since things broke. It looks like james was still queuing mail for 
send and receiving mail during this time but it never actually finished those 
processes until I fixed the reflection issues. Hopefully someone finds this 
info useful.

JAVA_OPTS=--add-opens=java.base/java.lang=ALL-UNNAMED\
--add-opens=java.base/java.math=ALL-UNNAMED\
--add-opens=java.base/java.util=ALL-UNNAMED\
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED\
--add-opens=java.base/java.net=ALL-UNNAMED\
--add-opens=java.base/java.text=ALL-UNNAMED

On 4/27/23 03:00, Sean McElroy wrote:
> 😊 Thanks
>
> -Original Message-
> From: Benoit TELLIER 
> Sent: 27 April 2023 10:59
> To: server-user@james.apache.org
> Subject: Re: [EXT] Re: - Error while processing imap request
>
> No and no.
>
> On 27/04/2023 16:58, Sean McElroy wrote:
>> Thanks Benoit.
>>
>> Does this affect Apache James or my client code? Does Apache James need to 
>> use java 1.8, or does my code have to use 1.8?
>>
>> Best Regards,
>> Sean
>>
>> -Original Message-
>> From: Benoit TELLIER 
>> Sent: 27 April 2023 10:37
>> To: server-user@james.apache.org
>> Subject: Re: [EXT] Re: - Error while processing imap request
>>
>> Hello,
>>
>> Yes it helps.
>>
>> In java versions above java 11, java is more restrictive about reflection 
>> (as shown in [1] ) and here the JMS mailqueue fails at initializing stuff to 
>> read emails in the queue (shown in [2]). The FST serializer makes heavy 
>> usage of reflection and needs to be allowed to do so (as shown in [3]).
>>
>> [1]
>>
>> java.lang.reflect.InaccessibleObjectException: Unable to make
>> field private final byte[] java.lang.String.value accessible: module
>> java.base does not "opens java.lang" to unnamed module @3d5c822d
>>
>> [2]
>>
>>at 
>> org.apache.james.queue.jms.JMSCacheableMailQueue.mailAttribute(JMSCacheableMailQueue.java:477)
>>  ~[james-server-queue-jms-3.6.0.jar:3.6.0]
>>at
>> org.apache.james.queue.jms.JMSCacheableMailQueue.lambda$populateMail$
>> 7
>> (JMSCacheableMailQueue.java:462)
>> ~[james-server-queue-jms-3.6.0.jar:3.6.0]
>>
>> [3]
>>
>>at 
>> org.nustaq.serialization.FSTClazzInfo.createFieldInfo(FSTClazzInfo.java:512) 
>> ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTClazzInfo.createFields(FSTClazzInfo.java:368) 
>> ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTClazzInfo.(FSTClazzInfo.java:129) 
>> ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTClazzInfoRegistry.getCLInfo(FSTClazzInfoRegistry.java:129)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTClazzNameRegistry.addClassMapping(FSTClazzNameRegistry.java:98)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTClazzNameRegistry.registerClassNoLookup(FSTClazzNameRegistry.java:85)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTClazzNameRegistry.registerClass(FSTClazzNameRegistry.java:81)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTConfiguration.addDefaultClazzes(FSTConfiguration.java:807)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTConfiguration.initDefaultFstConfigurationInternal(FSTConfiguration.java:477)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTConfiguration.createDefaultConfiguration(FSTConfiguration.java:472)
>>  ~[fst-2.57.jar:?]
>>at 
>> org.nustaq.serialization.FSTConfiguration.c

RE: [EXT] Re: - Error while processing imap request

2023-04-27 Thread Sean McElroy
😊 Thanks

-Original Message-
From: Benoit TELLIER 
Sent: 27 April 2023 10:59
To: server-user@james.apache.org
Subject: Re: [EXT] Re: - Error while processing imap request

No and no.

On 27/04/2023 16:58, Sean McElroy wrote:
> Thanks Benoit.
>
> Does this affect Apache James or my client code? Does Apache James need to 
> use java 1.8, or does my code have to use 1.8?
>
> Best Regards,
> Sean
>
> -Original Message-
> From: Benoit TELLIER 
> Sent: 27 April 2023 10:37
> To: server-user@james.apache.org
> Subject: Re: [EXT] Re: - Error while processing imap request
>
> Hello,
>
> Yes it helps.
>
> In java versions above java 11, java is more restrictive about reflection (as 
> shown in [1] ) and here the JMS mailqueue fails at initializing stuff to read 
> emails in the queue (shown in [2]). The FST serializer makes heavy usage of 
> reflection and needs to be allowed to do so (as shown in [3]).
>
> [1]
>
>java.lang.reflect.InaccessibleObjectException: Unable to make field
> private final byte[] java.lang.String.value accessible: module
> java.base does not "opens java.lang" to unnamed module @3d5c822d
>
> [2]
>
>   at 
> org.apache.james.queue.jms.JMSCacheableMailQueue.mailAttribute(JMSCacheableMailQueue.java:477)
>  ~[james-server-queue-jms-3.6.0.jar:3.6.0]
>   at
> org.apache.james.queue.jms.JMSCacheableMailQueue.lambda$populateMail$7
> (JMSCacheableMailQueue.java:462)
> ~[james-server-queue-jms-3.6.0.jar:3.6.0]
>
> [3]
>
>   at 
> org.nustaq.serialization.FSTClazzInfo.createFieldInfo(FSTClazzInfo.java:512) 
> ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTClazzInfo.createFields(FSTClazzInfo.java:368) 
> ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTClazzInfo.(FSTClazzInfo.java:129) 
> ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTClazzInfoRegistry.getCLInfo(FSTClazzInfoRegistry.java:129)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTClazzNameRegistry.addClassMapping(FSTClazzNameRegistry.java:98)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTClazzNameRegistry.registerClassNoLookup(FSTClazzNameRegistry.java:85)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTClazzNameRegistry.registerClass(FSTClazzNameRegistry.java:81)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.addDefaultClazzes(FSTConfiguration.java:807)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.initDefaultFstConfigurationInternal(FSTConfiguration.java:477)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.createDefaultConfiguration(FSTConfiguration.java:472)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.createMinBinConfiguration(FSTConfiguration.java:229)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.constructJsonConf(FSTConfiguration.java:319)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:301)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:290)
>  ~[fst-2.57.jar:?]
>   at 
> org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:294)
>  ~[fst-2.57.jar:?]
>   at
> org.apache.mailet.Serializer$FSTSerializer.(Serializer.java:51
> 2) ~[apache-mailet-api-3.6.0.jar:3.6.0]
>
> My theory: you ingested a mail with a serialized attribute and now due
> to restrictions in the way you run java 11 you fail at deserializing
> it... The mail is well received in SMTP, well enqueued but can't be
> dequeued.
>
> My suggestion: relax those checks.
>
> CF add this to your java argline
>
> --add-opens java.base/java.lang=ALL-UNNAMED --add-opens
> java.base/java.math=ALL-UNNAMED --add-opens
> java.base/java.net=ALL-UNNAMED --add-opens
> java.base/java.text=ALL-UNNAMED --add-opens
> java.base/java.util.concurrent.atomic=ALL-UNNAMED
> --add-opens java.base/java.util.concurrent=ALL-UNNAMED
> --add-opens java.base/java.util=ALL-UNNAMED
>
>
> FYI dropping fully FST is a long lasting desire I have CF
> https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org
> _jira_browse_JAMES-2D3829&d=DwICaQ&c=tv8X2YgD7mG0v9N2vuBcgw&r=0IEnp1fM
> BAq7DzWaHhpZhmwghvD9z_ct-QdWofgGsiI&m=WgqxxyHP76QMzpW74J11upkXPaSrQqM8
> ay6hJxs0r-cA9bYJAReS60dvu1nqNh2o&s=Eoi4qq6IZo1PcAOdl1tqsdP4CccfRR1LVQu
> ij_0eMjk&e=
>
> Best regards,
>
> Benoit TELLIER
>
> On 26/04/

RE: [EXT] Re: - Error while processing imap request

2023-04-27 Thread Sean McElroy
Thanks Benoit.

Does this affect Apache James or my client code? Does Apache James need to use 
java 1.8, or does my code have to use 1.8?

Best Regards,
Sean

-Original Message-
From: Benoit TELLIER 
Sent: 27 April 2023 10:37
To: server-user@james.apache.org
Subject: Re: [EXT] Re: - Error while processing imap request

Hello,

Yes it helps.

In java versions above java 11, java is more restrictive about reflection (as 
shown in [1] ) and here the JMS mailqueue fails at initializing stuff to read 
emails in the queue (shown in [2]). The FST serializer makes heavy usage of 
reflection and needs to be allowed to do so (as shown in [3]).

[1]

  java.lang.reflect.InaccessibleObjectException: Unable to make field private 
final byte[] java.lang.String.value accessible: module java.base does not 
"opens java.lang" to unnamed module @3d5c822d

[2]

 at 
org.apache.james.queue.jms.JMSCacheableMailQueue.mailAttribute(JMSCacheableMailQueue.java:477)
 ~[james-server-queue-jms-3.6.0.jar:3.6.0]
 at 
org.apache.james.queue.jms.JMSCacheableMailQueue.lambda$populateMail$7(JMSCacheableMailQueue.java:462)
 ~[james-server-queue-jms-3.6.0.jar:3.6.0]

[3]

 at 
org.nustaq.serialization.FSTClazzInfo.createFieldInfo(FSTClazzInfo.java:512) 
~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTClazzInfo.createFields(FSTClazzInfo.java:368) 
~[fst-2.57.jar:?]
 at org.nustaq.serialization.FSTClazzInfo.(FSTClazzInfo.java:129) 
~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTClazzInfoRegistry.getCLInfo(FSTClazzInfoRegistry.java:129)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTClazzNameRegistry.addClassMapping(FSTClazzNameRegistry.java:98)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTClazzNameRegistry.registerClassNoLookup(FSTClazzNameRegistry.java:85)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTClazzNameRegistry.registerClass(FSTClazzNameRegistry.java:81)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.addDefaultClazzes(FSTConfiguration.java:807)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.initDefaultFstConfigurationInternal(FSTConfiguration.java:477)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.createDefaultConfiguration(FSTConfiguration.java:472)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.createMinBinConfiguration(FSTConfiguration.java:229)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.constructJsonConf(FSTConfiguration.java:319)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:301)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:290)
 ~[fst-2.57.jar:?]
 at 
org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:294)
 ~[fst-2.57.jar:?]
 at 
org.apache.mailet.Serializer$FSTSerializer.(Serializer.java:512) 
~[apache-mailet-api-3.6.0.jar:3.6.0]

My theory: you ingested a mail with a serialized attribute and now due
to restrictions in the way you run java 11 you fail at deserializing
it... The mail is well received in SMTP, well enqueued but can't be
dequeued.

My suggestion: relax those checks.

CF add this to your java argline

--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.text=ALL-UNNAMED
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED


FYI dropping fully FST is a long lasting desire I have CF
https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_JAMES-2D3829&d=DwICaQ&c=tv8X2YgD7mG0v9N2vuBcgw&r=0IEnp1fMBAq7DzWaHhpZhmwghvD9z_ct-QdWofgGsiI&m=WgqxxyHP76QMzpW74J11upkXPaSrQqM8ay6hJxs0r-cA9bYJAReS60dvu1nqNh2o&s=Eoi4qq6IZo1PcAOdl1tqsdP4CccfRR1LVQuij_0eMjk&e=

Best regards,

Benoit TELLIER

On 26/04/2023 22:39, Sean McElroy wrote:
> Hi Benoit,
>
> This is in the openjpa log. Does that help?
>
> 26-Apr-2023 16:22:58.827 ERROR [elastic-3] 
> reactor.util.Loggers$Slf4JLogger.error:314 - Scheduler worker in group main 
> failed with an uncaught exception
> java.lang.ExceptionInInitializerError: null
>  at 
> org.apache.mailet.Serializer$Registry.(Serializer.java:78) 
> ~[apache-mailet-api-3.6.0.jar:3.6.0]
>  at 
> org.apache.mailet.AttributeValue.findSerializerAndDeserialize(AttributeValue.java:206)
>  ~[apache-mailet-api-3.6.0.jar:3.6.0]
>  at 
> org.apache.mailet.AttributeValue.lambda$deserialize$1(AttributeValue.java:202)
>  ~[apache-mailet-api-3.6.0.jar:3.6.0]
>  at java.util.Optional.flatMap(Optional.java:289) ~[?:?]
>  

Email spooled but not sent

2023-04-27 Thread Sean McElroy
Hello,

I've been having difficult getting James to send messages. I can see in the 
James logs that the message is spooled, but not delivered - see below.

27-Apr-2023 09:27:32.984 INFO [smtpserver-executor-19] 
org.apache.james.smtpserver.SendMailHandler.onMessage:75 - Successfully spooled 
mail Mail1682584052942-7de49eb0-9ac8-454f-9bc3-63eb2a9a7e74 from 
MaybeSender{mailAddress=Optional[8...@ci.tcf.systems]}

I am using James Spring versions 3.6.0 and Java 11.

Best Regards,
Sean McElroy
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: - Error while processing imap request

2023-04-26 Thread Sean McElroy
at 
org.nustaq.serialization.FSTClazzInfo.createFieldInfo(FSTClazzInfo.java:512) 
~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTClazzInfo.createFields(FSTClazzInfo.java:368) 
~[fst-2.57.jar:?]
at org.nustaq.serialization.FSTClazzInfo.(FSTClazzInfo.java:129) 
~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTClazzInfoRegistry.getCLInfo(FSTClazzInfoRegistry.java:129)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTClazzNameRegistry.addClassMapping(FSTClazzNameRegistry.java:98)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTClazzNameRegistry.registerClassNoLookup(FSTClazzNameRegistry.java:85)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTClazzNameRegistry.registerClass(FSTClazzNameRegistry.java:81)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.addDefaultClazzes(FSTConfiguration.java:807)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.initDefaultFstConfigurationInternal(FSTConfiguration.java:477)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.createDefaultConfiguration(FSTConfiguration.java:472)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.createMinBinConfiguration(FSTConfiguration.java:229)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.constructJsonConf(FSTConfiguration.java:319)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:301)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:290)
 ~[fst-2.57.jar:?]
at 
org.nustaq.serialization.FSTConfiguration.createJsonConfiguration(FSTConfiguration.java:294)
 ~[fst-2.57.jar:?]
at 
org.apache.mailet.Serializer$FSTSerializer.(Serializer.java:512) 
~[apache-mailet-api-3.6.0.jar:3.6.0]
... 36 more

-Original Message-
From: Benoit TELLIER 
Sent: 26 April 2023 00:59
To: server-user@james.apache.org
Subject: [EXT] Re: - Error while processing imap request

Hello Sean,

Which James server flavour are you using? (distributed, spring, guice-jpa, 
etc... )

Which version of James are you running>

ClosedChannelException in IMAP are unrelated to email delivery and fully 
harmless...

Best regards,

Benoit

On 25/04/2023 20:57, Sean McElroy wrote:
> Hello,
>
> I have a system that uses Apache James, and it has been functioning well 
> until a few days ago.
> It would appear that messages are being sent, but not delivered. I get no 
> exceptions in my code, but I see this in the James logs.
>
> 25-Apr-2023 14:29:39.880 WARN [imapserver-executor-12]
> org.apache.james.imapserver.netty.ImapChannelUpstreamHandler.exception
> Caught:143 - Error while processing imap request
> java.nio.channels.ClosedChannelException: null
>
> Any ideas, why this might be?
>
> Many thanks.
> Confidential Communication: The contents of this e-mail including any 
> attachment are confidential and intended solely for the person(s) to whom 
> they are addressed. Any reader of this email who is not the intended 
> recipient is notified that any dissemination, distribution or copying of this 
> communication is strictly prohibited. If you have received this e-mail in 
> error, please notify the sender immediately and delete all copies from your 
> computer system. Subsequent alterations to this email after its transmission 
> will be disregarded.
>

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


RE: [EXT] Re: - Error while processing imap request

2023-04-26 Thread Sean McElroy
Hello Benoit,

I am using James Spring, version 3.6.0

Best Regards,
Sean

-Original Message-
From: Benoit TELLIER 
Sent: 26 April 2023 00:59
To: server-user@james.apache.org
Subject: [EXT] Re: - Error while processing imap request

Hello Sean,

Which James server flavour are you using? (distributed, spring, guice-jpa, 
etc... )

Which version of James are you running>

ClosedChannelException in IMAP are unrelated to email delivery and fully 
harmless...

Best regards,

Benoit

On 25/04/2023 20:57, Sean McElroy wrote:
> Hello,
>
> I have a system that uses Apache James, and it has been functioning well 
> until a few days ago.
> It would appear that messages are being sent, but not delivered. I get no 
> exceptions in my code, but I see this in the James logs.
>
> 25-Apr-2023 14:29:39.880 WARN [imapserver-executor-12]
> org.apache.james.imapserver.netty.ImapChannelUpstreamHandler.exception
> Caught:143 - Error while processing imap request
> java.nio.channels.ClosedChannelException: null
>
> Any ideas, why this might be?
>
> Many thanks.
> Confidential Communication: The contents of this e-mail including any 
> attachment are confidential and intended solely for the person(s) to whom 
> they are addressed. Any reader of this email who is not the intended 
> recipient is notified that any dissemination, distribution or copying of this 
> communication is strictly prohibited. If you have received this e-mail in 
> error, please notify the sender immediately and delete all copies from your 
> computer system. Subsequent alterations to this email after its transmission 
> will be disregarded.
>

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


- Error while processing imap request

2023-04-25 Thread Sean McElroy
Hello,

I have a system that uses Apache James, and it has been functioning well until 
a few days ago.
It would appear that messages are being sent, but not delivered. I get no 
exceptions in my code, but I see this in the James logs.

25-Apr-2023 14:29:39.880 WARN [imapserver-executor-12] 
org.apache.james.imapserver.netty.ImapChannelUpstreamHandler.exceptionCaught:143
 - Error while processing imap request
java.nio.channels.ClosedChannelException: null

Any ideas, why this might be?

Many thanks.
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: Search not working

2022-05-20 Thread Sean McElroy
One

-Original Message-
From: Benoit TELLIER 
Sent: 20 May 2022 10:29
To: server-user@james.apache.org
Subject: Re: [EXT] Re: Search not working

How many james servers do you have?

On 20/05/2022 15:27, Sean McElroy wrote:
> I am using docker version of Apache James JPA and deploying the application 
> in a Kubernetes cluster.
>
> -Original Message-
> From: Benoit TELLIER 
> Sent: 20 May 2022 05:35
> To: server-user@james.apache.org
> Subject: [EXT] Re: Search not working
>
> What "flavour" of Apache James are you relying on?
>
> What is your deployment topology?
>
> Regards,
>
> Benoit
>
> On 19/05/2022 21:53, Sean McElroy wrote:
>> Hello All,
>>
>> I can't get the Java Mail API search functionality to work with Apache 
>> James. For example the code below does not return any message, but I know 
>> that there are unseen messages.
>>
>>
>>   Flags seen = new Flags(Flags.Flag.SEEN);
>>   FlagTerm unseenFlagTerm = new FlagTerm(seen, false);
>>   Message messages[] = emailFolder.search(unseenFlagTerm);
>>
>> I have tried other types of search but always get zero messages returned. I 
>> am using Spring Boot 2.5.4 which includes Jakarta Mail 1.6.7.
>> Do I need to do something different for the searches to work on Apache James?
>>
>> Best Regards,
>> Sean
>> Confidential Communication: The contents of this e-mail including any 
>> attachment are confidential and intended solely for the person(s) to whom 
>> they are addressed. Any reader of this email who is not the intended 
>> recipient is notified that any dissemination, distribution or copying of 
>> this communication is strictly prohibited. If you have received this e-mail 
>> in error, please notify the sender immediately and delete all copies from 
>> your computer system. Subsequent alterations to this email after its 
>> transmission will be disregarded.
>>
> -
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
>
> Confidential Communication: The contents of this e-mail including any 
> attachment are confidential and intended solely for the person(s) to whom 
> they are addressed. Any reader of this email who is not the intended 
> recipient is notified that any dissemination, distribution or copying of this 
> communication is strictly prohibited. If you have received this e-mail in 
> error, please notify the sender immediately and delete all copies from your 
> computer system. Subsequent alterations to this email after its transmission 
> will be disregarded.
>
> -
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: Search not working

2022-05-20 Thread Sean McElroy
I am using docker version of Apache James JPA and deploying the application in 
a Kubernetes cluster.

-Original Message-
From: Benoit TELLIER 
Sent: 20 May 2022 05:35
To: server-user@james.apache.org
Subject: [EXT] Re: Search not working

What "flavour" of Apache James are you relying on?

What is your deployment topology?

Regards,

Benoit

On 19/05/2022 21:53, Sean McElroy wrote:
> Hello All,
>
> I can't get the Java Mail API search functionality to work with Apache James. 
> For example the code below does not return any message, but I know that there 
> are unseen messages.
>
>
>  Flags seen = new Flags(Flags.Flag.SEEN);
>  FlagTerm unseenFlagTerm = new FlagTerm(seen, false);
>  Message messages[] = emailFolder.search(unseenFlagTerm);
>
> I have tried other types of search but always get zero messages returned. I 
> am using Spring Boot 2.5.4 which includes Jakarta Mail 1.6.7.
> Do I need to do something different for the searches to work on Apache James?
>
> Best Regards,
> Sean
> Confidential Communication: The contents of this e-mail including any 
> attachment are confidential and intended solely for the person(s) to whom 
> they are addressed. Any reader of this email who is not the intended 
> recipient is notified that any dissemination, distribution or copying of this 
> communication is strictly prohibited. If you have received this e-mail in 
> error, please notify the sender immediately and delete all copies from your 
> computer system. Subsequent alterations to this email after its transmission 
> will be disregarded.
>

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


Search not working

2022-05-19 Thread Sean McElroy
Hello All,

I can't get the Java Mail API search functionality to work with Apache James. 
For example the code below does not return any message, but I know that there 
are unseen messages.


Flags seen = new Flags(Flags.Flag.SEEN);
FlagTerm unseenFlagTerm = new FlagTerm(seen, false);
Message messages[] = emailFolder.search(unseenFlagTerm);

I have tried other types of search but always get zero messages returned. I am 
using Spring Boot 2.5.4 which includes Jakarta Mail 1.6.7.
Do I need to do something different for the searches to work on Apache James?

Best Regards,
Sean
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: Java Mail API unread message count incorrect

2022-05-17 Thread Sean McElroy
Hi Benoit,

We are using James version 3.6.2 (docker image apache/james:jpa-3.6.2).

The manual testing that we are conducting shows the unread message count to be 
incorrect. In the tests that we are conducting, we send a message or several 
messages, but do not read the message, then restart the James server. After the 
restart the unread message count is zero.

Best Regards,
Sean

-Original Message-
From: Benoit TELLIER 
Sent: 16 May 2022 05:13
To: server-user@james.apache.org
Subject: [EXT] Re: Java Mail API unread message count incorrect

Hello Sean,

Sorry for the late reply.

First which version of James are you using?

 > getUnreadMessageCount method the returned count is often incorrect

Can you provide details on why do you think so?

 > Is it possible that this value is cached by the Mail API and is there a way 
 > to synch this?

This would seem strange to me honnestly.

Best regards,

Benoit TELLIER

On 09/05/2022 15:25, Sean McElroy wrote:
> Hello,
>
> I have configured Apache James to use PostgreSQL and when I call the Java 
> Mail API IMapFolder. getUnreadMessageCount method the returned count is often 
> incorrect, but I can see in the james_mail database table that the data in 
> the mail_is_seen column is correct.
>
> Is it possible that this value is cached by the Mail API and is there a way 
> to synch this?
>
> Best Regards,
> Sean McElroy
>
>
> Confidential Communication: The contents of this e-mail including any 
> attachment are confidential and intended solely for the person(s) to whom 
> they are addressed. Any reader of this email who is not the intended 
> recipient is notified that any dissemination, distribution or copying of this 
> communication is strictly prohibited. If you have received this e-mail in 
> error, please notify the sender immediately and delete all copies from your 
> computer system. Subsequent alterations to this email after its transmission 
> will be disregarded.
>

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


Java Mail API unread message count incorrect

2022-05-09 Thread Sean McElroy
Hello,

I have configured Apache James to use PostgreSQL and when I call the Java Mail 
API IMapFolder. getUnreadMessageCount method the returned count is often 
incorrect, but I can see in the james_mail database table that the data in the 
mail_is_seen column is correct.

Is it possible that this value is cached by the Mail API and is there a way to 
synch this?

Best Regards,
Sean McElroy


Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: User Flags

2022-02-08 Thread Sean McElroy
Thanks Benoit.

-Original Message-
From: Benoit TELLIER 
Sent: 08 February 2022 14:39
To: server-user@james.apache.org
Subject: [EXT] Re: User Flags

Hello Sean,

No this does not make much sense, this might be a misunderstanding.

Flags (including user flags) belong to the mailbox context of the email and is 
unrelated to the RFC-822 defining mime messages.

As such, sending user flags do not make sense. Please bear in mind that user 
flags are managed by Mail User Agents (eg Thunderbird) and Mail Delivery Agents 
stores them only if they are asked to. Mail Submission Agents do not have a way 
to 'transport' user flags.

I hope this helps,

Regards,

Benoit

On 08/02/2022 18:49, Sean McElroy wrote:
> Hello,
>
> When a user flag is set on a mime message and then the message is sent, is 
> the flag saved along with the message?
>
> I am adding a user flag to a message before it is sent, and when the message 
> is retrieved the flag is not present.
>
> Can this be done, or have I misunderstood?
>
> Best Regards,
> Sean
>
>
> Confidential Communication: The contents of this e-mail including any 
> attachment are confidential and intended solely for the person(s) to whom 
> they are addressed. Any reader of this email who is not the intended 
> recipient is notified that any dissemination, distribution or copying of this 
> communication is strictly prohibited. If you have received this e-mail in 
> error, please notify the sender immediately and delete all copies from your 
> computer system. Subsequent alterations to this email after its transmission 
> will be disregarded.
>

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


User Flags

2022-02-08 Thread Sean McElroy
Hello,

When a user flag is set on a mime message and then the message is sent, is the 
flag saved along with the message?

I am adding a user flag to a message before it is sent, and when the message is 
retrieved the flag is not present.

Can this be done, or have I misunderstood?

Best Regards,
Sean


Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


Sorting folder

2021-12-15 Thread Sean McElroy
Hello,

How can I retrieve messages from a folder sorted by some value, sent date for 
example?

Thanks,
Sean

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


apache/james:demo-3.6.0

2021-12-09 Thread Sean McElroy
Hello,

I am trying to use the apache/james:demo-3.6.0 docker image but I cannot send a 
message via SMTP.
This is the error I am getting:

javax.mail.SendFailedException: Invalid Addresses;  nested exception is: 
com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Authentication Required

I have tried several of the available docker images but I get the same error.

Can you tell me what I am doing wrong?

I am using Spring Boot and I am using user01@james.local, which is one of the 
default users created by this docker image.

This is my mail configuration:

  mail:
host: localhost
port: 25
properties.mail.smtp.auth: false
properties.mail.smtp.starttls.enable: false
properties.mail.imap.host: localhost
properties.mail.imap.port: 143
properties.mail.imap.starttls.enable: false



Many thanks,
Sean
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: Update domainlist on docker

2021-12-08 Thread Sean McElroy
Thanks Felix

-Original Message-
From: Felix Ingram 
Sent: 08 December 2021 15:22
To: James Users List 
Subject: [EXT] Re: Update domainlist on docker

Hi Sean,

I've been using James with docker compose. I use the following yaml to mount a 
directory into the James container:

volumes:
  - type: bind
source:  /home/test/james/james-conf/conf
target: /root/conf
read_only: true

When running without compose, you could probably use:

docker run --rm -v /home/test/james/james-conf/conf:/root/conf ...

or similar, to mount the directory.

(I found that things wouldn't work unless I used a "bind" mount with compose. 
YMMV)

I also ran the container without a mounted volume first, and then used "docker 
cp ..." to copy the existing configuration files out of the container into my 
host directory.

The main idea is:

1. create a directory with all of your configuration files in it.
2. mount that directory as a volume in /root/conf

Hope that makes sense.

Felix

On Wed, 8 Dec 2021 at 11:47, Sean McElroy  wrote:

> Hello,
>
> I am using the Apache James Docker image as described here:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__hub.docker.com_r_
> apache_james&d=DwIBaQ&c=tv8X2YgD7mG0v9N2vuBcgw&r=0IEnp1fMBAq7DzWaHhpZh
> mwghvD9z_ct-QdWofgGsiI&m=UG5DC8JS6gHUoTzA33HaA6vn_XAgOnLh87VmeeRuipWCM
> SybaLF6d8KwX2vrNcR_&s=w2PTlfLTuupcBZ4Sz-dRgBQA6ps0cZgvilOy4Xz0BMA&e=
>
> The documentation describes how the /root/conf volume is exposed to
> ease container configuration.
>
> Can some give me an example of this, or describe how to do it?
>
> Thank,
> Sean
> Confidential Communication: The contents of this e-mail including any
> attachment are confidential and intended solely for the person(s) to
> whom they are addressed. Any reader of this email who is not the
> intended recipient is notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have
> received this e-mail in error, please notify the sender immediately
> and delete all copies from your computer system. Subsequent
> alterations to this email after its transmission will be disregarded.
>
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


Update domainlist on docker

2021-12-08 Thread Sean McElroy
Hello,

I am using the Apache James Docker image as described here: 
https://hub.docker.com/r/apache/james

The documentation describes how the /root/conf volume is exposed to ease 
container configuration.

Can some give me an example of this, or describe how to do it?

Thank,
Sean
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Authentication Required

2021-12-07 Thread Sean McElroy
Hello,

I am running a docker version of Apache James on AWS and I can connect to the 
server using IMAP but not SMTP and this is the error I am getting:

javax.mail.SendFailedException: Invalid Addresses;  nested exception is: 
com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Authentication Required

I am using Spring Boot version 2.5.4 and deploying my application using 
Kubernetes. Interestingly, when I run Apache James on my laptop the code works 
fine, but not when deployed on AWS.

This is my mail properties:

spring:
  mail:
host: apachejames
port: 25
properties.mail.smtp.auth: false
properties.mail.smtp.starttls.enable: false
properties.mail.imap.host: apachejames
properties.mail.imap.port: 143
properties.mail.imap.starttls.enable: false




I’ve been stuck on this issue for several days, so all help welcome 😊

Thanks in advance,
Sean
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: Java Mail API Sort

2020-05-14 Thread Sean McElroy
If it's not a James issue then it must be a JavaMail API issue, but I suspect 
that this is not the case.

I will try jwma and get back to you.

Thanks.
-Original Message-
From: David Matthews 
Sent: Thursday 14 May 2020 10:36
To: James Users List 
Subject: RE: [EXT] Re: Java Mail API Sort

hi Sean

Is this even a James issue?

The jwma webmail program offers sorting of email either oldest first (which is 
javamail default), newest first or by sender. It's agnostic of the particular 
imap server and runs the same with james or dovecot.

Don't remember how it does this, but source code is available and I think it's 
fairly readable :-)

--
David Matthews
m...@dmatthews.org


-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



RE: [EXT] Re: Java Mail API Sort

2020-05-14 Thread Sean McElroy
I'm trying to retrieve messages by sorted by date, using the JavaMail API. Here 
is my code:

try (Store store = connectToMessageStore(username, password);
 IMAPFolder emailFolder = (IMAPFolder)store.getFolder("INBOX")) {

emailFolder.open(Folder.READ_ONLY);
messageCount = emailFolder.getMessageCount();

Message[] messages = emailFolder.getSortedMessages(new SortTerm[] 
{SortTerm.DATE}); //THIS IS THE LINE THAT IS FAILING

messageList = getMessageConverter().toMessageSummary(messages);

} catch (MessagingException e) {
LOGGER.error(ERROR_READING_EMAIL_MESSAGES, e.getMessage());
throw new MessagingServiceException(e);
}


This is the error in my logs:

"Servlet.service() for servlet [dispatcherServlet] in context with path [] 
threw exception [Request processing failed; nested exception is 
aero.sita.ir.communicator.messaging.MessagingServiceException: 
javax.mail.MessagingException: SORT not supported;\n  nested exception 
is:\n\tcom.sun.mail.iap.BadCommandException: SORT not supported] with root 
cause"

My intention would be to page the results after sorting.

Best Regards,
Sean

-Original Message-
From: Matthieu Baechler 
Sent: Thursday 14 May 2020 07:58
To: James Users List 
Subject: [EXT] Re: Java Mail API Sort

Hi Sean,

On Wed, 2020-05-13 at 16:27 +, Sean McElroy wrote:
> Hello,
>
> Is there any way to configure James so that it supports the
> com.sun.mail.imap.IMAPFolder getSortedMessages method?

Could you tell us what you are trying to achieve and how? Do you have some code 
snippet to show us maybe?

> Thanks,
> Sean
>
> Confidential Communication: The contents of this e-mail including any
> attachment are confidential and intended solely for the person(s) to
> whom they are addressed. Any reader of this email who is not the
> intended recipient is notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have
> received this e-mail in error, please notify the sender immediately
> and delete all copies from your computer system. Subsequent
> alterations to this email after its transmission will be disregarded.

Well, this kind of legal footer has no place on a mailing list, could you 
configure your mailer agent to avoid sending that as it's irrelevant in that 
context?

Cheers,

--
Matthieu Baechler


-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


Java Mail API Sort

2020-05-13 Thread Sean McElroy
Hello,

Is there any way to configure James so that it supports the 
com.sun.mail.imap.IMAPFolder getSortedMessages method?

Thanks,
Sean



Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.


RE: [EXT] Re: James 3.4.0 WebAdmin

2020-04-24 Thread Sean McElroy
Hi David,


Thanks for this. I manged to get 3.4.0 working but I did have the same issues 
you describe. The WebAdmin is not a web frontend, but a Rest API. Version 3.4.0 
doesn't seem to have this, but I worked the problem by writing my own Rest API 
which uses JMX in the backend. I would have preferred not to have to do this 
obviously.

I wasn't able to find the link to download 3.3.0.

Thanks and Best Regards,
Sean

Sean McElroy

-Original Message-
From: David Matthews 
Sent: Friday 24 April 2020 13:24
To: James Users List 
Subject: [EXT] Re: James 3.4.0 WebAdmin

hi Sean
>
>I am new to Apache James and I have downloaded version 3.4.0.

I and several other people who wrote to this list had problems with this 
version. My experience was that emails were spooled, but never delivered and no 
error messages in the logs either. Other people reported the same problem, so I 
would suggest getting 3.3.0, which I found pretty much just works.
>

>The installation does not include a webadmin.properties file - does version 
>3.4.0 not include WebAdmin and if not is there an alternative way to configure 
>James via Java.
>
As far as I know there is no web frontend and james is configured by editing 
the files in the conf directory. I've written some notes for doing that - not 
especially difficult, rather to remind myself:-

https://urldefense.proofpoint.com/v2/url?u=https-3A__dmatthews.org_java-5Femail.html&d=DwICAg&c=tv8X2YgD7mG0v9N2vuBcgw&r=0IEnp1fMBAq7DzWaHhpZhmwghvD9z_ct-QdWofgGsiI&m=gyOuWw-_THLvGnpCHjeIvlQckXLdZzVHZO-JzJDB9gw&s=FDjVbEZxn3oJ4UgFs74d31LWkySFCRKwfNRXH1gmG5E&e=

and I suggest you might also want to look at:-

https://urldefense.proofpoint.com/v2/url?u=https-3A__dmatthews.org_email-5Fauth.html&d=DwICAg&c=tv8X2YgD7mG0v9N2vuBcgw&r=0IEnp1fMBAq7DzWaHhpZhmwghvD9z_ct-QdWofgGsiI&m=gyOuWw-_THLvGnpCHjeIvlQckXLdZzVHZO-JzJDB9gw&s=z_EN3y1z0zga4mnDpq1nouN9vWpu9oBpwIrpv4jLp4Q&e=

That last page is not james specific, but if you want to run your own  mail 
exchanger that information is important whatever software you choose.

--
David Matthews
m...@dmatthews.org


-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



James 3.4.0 WebAdmin

2020-04-24 Thread Sean McElroy
Hello,

I am new to Apache James and I have downloaded version 3.4.0.

The installation does not include a webadmin.properties file - does version 
3.4.0 not include WebAdmin and if not is there an alternative way to configure 
James via Java.

Best Regards,
Sean

Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.