Re: iPhone/Android mail apps with JAMES

2022-04-26 Thread Jerry Malcolm
to diagnose what is going on. Things like wireshark of James debug logs (that include IMAP command). FYI I succeeded to reinde email on the JPA Guice based distribution on the 3.7.0 demo image. Regards, Benoit On 4/26/22 11:41, Jerry Malcolm wrote: This is a critical problem.  I really need some

iPhone/Android mail apps with JAMES

2022-04-25 Thread Jerry Malcolm
.  Somebody PLEASE respond before my customer fires me. Please HELP Give me SOMETHING I can work with  I just want to get a conversation going. Thanks Jerry On 11/8/2019 8:03 AM, Matthieu Baechler wrote: Hi Jerry, On Tue, 2019-10-29 at 15:12 -0500, Jerry Malcolm wrote: Ok, I need an IMAP

iPhone Problems

2022-02-07 Thread Jerry Malcolm
Several years ago, I and a bunch of my clients who have iPhones all had problems getting mail to download on their phones.  One or two emails would randomly trickle in to inboxes.  But the majority of the mail just simply would not download.  On those same accounts, Thunderbird and Outlook

Reindexing Problems

2022-02-07 Thread Jerry Malcolm
I am trying to use the ReindexAll and/or the ReindexMailbox from the cli.  When I run ReindexAll, I get: # ./james-cli.sh -h 127.0.0.1 ReindexAll 07-Feb-2022 22:45:21.610 ERROR [main] org.apache.james.cli.ServerCmd.main:101 - Error while playing command

Keystore

2021-10-11 Thread Jerry Malcolm
Benoit, I was thrilled to see the option for creating a direct keystore without having to go through the every-3-month LetsEncrypt and the manual commands to create the keystore file.  But as soon as I put the new keystore file in and tried to send an email, Thunderbird told me that the

Re: MySQL/MariaDB driver jar location?

2021-10-11 Thread Jerry Malcolm
ill update the READMEs accordingly. Cheers, Benoit On 06/10/2021 08:06, Jerry Malcolm wrote: Benoit, I am still dead in the water.  I've spent the entire day trying things and digging into the code. - It works fine on the same build with the spring version - If FAILS on WINDOWS as well as Lin

Re: MySQL/MariaDB driver jar location?

2021-10-05 Thread Jerry Malcolm
, then I'll try to figure out what is different.  If it fails for you as well, maybe the two of us together can figure out what is wrong. Please advise. Thanks. I really appreciate your help. Jerry On 10/4/2021 7:21 PM, Jerry Malcolm wrote: Benoit, Update to my earlier post below: - Uploaded

Re: MySQL/MariaDB driver jar location?

2021-10-04 Thread Jerry Malcolm
file (see earlier post below for more details) I am more than willing to add some debug statements in the jpa-guice code if you can tell me what to look for and where to look.  But I'm at a loss. Let me know what you think. Jerry On 10/4/2021 6:50 PM, Jerry Malcolm wrote: Benoit

Re: MySQL/MariaDB driver jar location?

2021-10-04 Thread Jerry Malcolm
with adding log or println statements anywhere in the james code if you tell me what to log. Thanks again for your help. Jerry On 10/4/2021 3:11 AM, btell...@apache.org wrote: Have you tried puttil the driver JAR in james-server-jpa-app.lib, maybe? On 04/10/2021 12:02, Jerry Malcolm wrote: On 10

Re: MySQL/MariaDB driver jar location?

2021-10-03 Thread Jerry Malcolm
On 10/3/2021 11:36 PM, Jerry Malcolm wrote: On 10/3/2021 11:14 PM, btell...@apache.org wrote: Hello, Extra driver needs to be explicitly added to the classpath. java -Djdk.tls.ephemeralDHKeySize=2048 \   -classpath 'james-server-jpa-app.lib/*:/path/to/driver.jar' \   -javaagent

Re: MySQL/MariaDB driver jar location?

2021-10-03 Thread Jerry Malcolm
/jpa-app/docker-compose.yml Best regards, Benoit On 04/10/2021 11:06, Jerry Malcolm wrote: I have a different issue in my migration from spring to jpa-guice.  I absolutely cannot get james/java to locate my jdbc driver.  I copied a working driver from my spring server and the associated james

Re: Spring --> Guice Migration

2021-10-03 Thread Jerry Malcolm
, 2021 at 1:55 AM Jerry Malcolm wrote: I've been on the spring builds for many years.  I'm starting to migrate to the latest James technologies.  But I'm going to do it in small steps.  First step is to move to Guice from spring.  When I'm comfortable with that I'll start looking into taking

Re: Spring --> Guice Migration

2021-10-03 Thread Jerry Malcolm
/84dde0c0c4343c2149c3fd6a6664b75a1ac0d082 There is no longer a run.sh, wrapper, etc. The classpath embedded in the jar specified by the command line tells where the libs are so you do not need to specify the JAR. We do not have so far a wrapper for Guice applications. Cheer Tung, Tran Van On Mon, Oct 4, 2021 at 1:55 AM Jerry

MySQL/MariaDB driver jar location?

2021-10-03 Thread Jerry Malcolm
I have a different issue in my migration from spring to jpa-guice.  I absolutely cannot get james/java to locate my jdbc driver.  I copied a working driver from my spring server and the associated james-database.properties to my jpa-guice server.  I played around with classpaths and ended up

Spring --> Guice Migration

2021-10-03 Thread Jerry Malcolm
I've been on the spring builds for many years.  I'm starting to migrate to the latest James technologies.  But I'm going to do it in small steps.  First step is to move to Guice from spring.  When I'm comfortable with that I'll start looking into taking the plunge to Cassandra. I'm building

IMAP and SMTP "Heartbeat" Tests?

2021-09-17 Thread Jerry Malcolm
I am in the process of writing AWS Synthetics Canary functions to continually check the health of the my JAMES IMAP and SMTP servers.  I know I could set up a full IMAP or SMTP session with id/pw and try to read mail with imap and send something with smtp.  That would definitely prove that

Re: mvn package command

2021-09-09 Thread Jerry Malcolm
://github.com/apache/james-project/blob/master/Jenkinsfile The command I perfornnaly use is: mvn clean install -DskipTests -Dmaven.javadoc.skip=true -T 3 Regards, Benoit On 08/09/2021 10:31, Jerry Malcolm wrote: I'm attempting to build the latest 3.x source code using the command line

mvn package command

2021-09-07 Thread Jerry Malcolm
I'm attempting to build the latest 3.x source code using the command line instructions in the dev-build page.  The compile option ran clean. But I'm having a bit of trouble understanding the 'package' command. "package - generates all the James distributions, packed. From the root directory,

app.home with Wrapper

2020-09-23 Thread Jerry Malcolm
After several months, I refreshed from the master git branch and rebuilt.  When I started it up, a directory was created in bin named "${sys:app.home}".  I did a bit of digging, and saw that app.home was set in run.sh and james-cli.sh.  But when I do "james start" that variable is not set, and

Re: Lucene Not Indexing Existing Mail in Folders

2020-03-29 Thread Jerry Malcolm
dangerous. Regards, Benoit On 05/11/2019 22:03, Jerry Malcolm wrote: No problem.  Is there a quick-fix / hack that perhaps I can hardcode to bypass insertion until the actual fix is available? Just speculating here... we've got an option (lazyIndex) that rebuilds the index every time whe

Optionally Sending With and Without a Gateway

2020-03-09 Thread Jerry Malcolm
second queue to get generated.  It seemed to work.  But I'd love some validation. Is there a better way to set up optional sending with and without using the gateway? On 2/11/2020 6:07 PM, Jerry Malcolm wrote: I simply cannot win I finally was able to get gmail to not spam every email I send

Java 11 as a javac target?

2020-02-23 Thread Jerry Malcolm
Should Java 11 be supported as a compile target?  I can compile the current master branch using Java 11 and run the result on Java 11.  But the target when it compiles is set to java 8.  I have some mailet code where I'd like to take advantage of some new classes and methods that are

Java 11?

2020-02-21 Thread Jerry Malcolm
I remember a few months back that there was a discussion that from that point forward James would require Java 11.   But when I look at the root pom.xml file the source and target versions for javac are set to '8'.  I have a separate build process for my custom mailets jar.  I changed

Re: com.google.common.base.Functions jar?

2020-02-16 Thread Jerry Malcolm
.  But what kind of config error could cause mismatched jars? Thx On 2/11/2020 2:13 PM, Jerry Malcolm wrote: Benoit, This is a different error.  Hopefully it's an easy one. It looks like I have an incorrect version of the jar file for google.commons.base.  I'm getting the following exception

[OT] AWS SES and Apache Forums

2020-02-11 Thread Jerry Malcolm
I simply cannot win I finally was able to get gmail to not spam every email I send to it by routing my outbound traffic through Amazon's Simple Email Service (SES) gateway.   As soon as I got that configured and working, I realized that all of the apache forums now reject all posts sent

com.google.common.base.Functions jar?

2020-02-11 Thread Jerry Malcolm
Benoit,  This is a different error.  Hopefully it's an easy one. It looks like I have an incorrect version of the jar file for google.commons.base.  I'm getting the following exception.  Is this google jar part of the james distribution?  Is it something I should already have installed?  What

Re: OT: (Update) Gmail Hates Me (Us?)

2020-02-05 Thread Jerry Malcolm
.. There never seems to be a shortage of hills or battles :-) Thanks. Cheers On Wed, 5 Feb 2020 at 18:39, Jerry Malcolm wrote: Update I tried 'laundering' my JAMES outbound mail through SES, which is an Amazon-provide SMTP server. An intermediate smtp relay server sh

Re: java.lang.IncompatibleClassChangeError: vtable stub (Guavate?)

2020-02-05 Thread Jerry Malcolm
into some Guice code? Thanks as always. Jerry On 2/1/2020 12:18 AM, Jerry Malcolm wrote: I have created a completely separate instance of James from my current running production circa last October for a different client.  It was built from the latest master on github as of yesterday.  After

Re: OT: (Update) Gmail Hates Me (Us?)

2020-02-05 Thread Jerry Malcolm
gmail happy.  But if I can ensure that gmail will be happy for all of my emails, it'll be worth it.  (Still would like an understanding if anybody has any ideas) Thx Jerry On 2/5/2020 4:37 PM, Jerry Malcolm wrote: For months, every email I send through my JAMES server to a gmail account

OT: Gmail Hates Me (Us?)

2020-02-05 Thread Jerry Malcolm
For months, every email I send through my JAMES server to a gmail account is flagged as spam.  I've been setting up a completely separate JAMES environment for a different client.  I figured this rebuild-from-scratch would be a good chance to verify that I'm following all best practices.  I

Re: java.lang.IncompatibleClassChangeError: vtable stub (Guavate?)

2020-02-05 Thread Jerry Malcolm
into some Guice code? Thanks as always. Jerry On 2/1/2020 12:18 AM, Jerry Malcolm wrote: I have created a completely separate instance of James from my current running production circa last October for a different client.  It was built from the latest master on github as of yesterday.  After

Re: java.lang.IncompatibleClassChangeError: vtable stub (Guavate?)

2020-02-04 Thread Jerry Malcolm
me into some Guice code? Thanks as always. Jerry On 2/1/2020 12:18 AM, Jerry Malcolm wrote: I have created a completely separate instance of James from my current running production circa last October for a different client.  It was built from the latest master on github as of yesterday

Another Out-of-the-box exception... Is it something to worry about?

2020-02-04 Thread Jerry Malcolm
In my out-of-the-box install (i.e. no config mods other than database config, etc), I'm getting the following exception several times on startup.  Seems like something that shouldn't be happening.  Is it critical?  Is it something I can fix with a config change? DEBUG 23:12:10,456 |

Domain Lookup Bug?

2020-02-04 Thread Jerry Malcolm
I've set up an out-of-the-box installation from the master branch as of a couple of days ago.  I'm using it as a reference comparison for problems that I'm still encountering in my customized environment.  I added a couple of debug statements to the code.  I changed the database info and the

DKIM Configuration

2020-02-03 Thread Jerry Malcolm
I have been trying to get DKIM signing to work with the latest master.  I have DKIM on my other environment.  But I'm having problems with gmail flagging everything I send as spam.  So I figured this would be a good opportunity, starting from scratch on a new installation, to try to figure out

Re: java.lang.IncompatibleClassChangeError: vtable stub

2020-02-01 Thread Jerry Malcolm
in the spool queue?  If an item in the queue can cause class cast exceptions or "InvalidClassChange", etc when it is read, it would appear to mean that the queue is maintaining classes.  Does the spool contain a java-serialized object? Jerry On 2/1/2020 10:47 AM, Jerry Malcolm wrote:

Re: java.lang.IncompatibleClassChangeError: vtable stub

2020-02-01 Thread Jerry Malcolm
have run into similar issues with custom mailets my project uses. I didn’t write them, merely adapt them from James 2.3.2 to 3.3.0. Try checking your timeouts, purging the top message from the queue, and tightening up your mail relaying. Sent from my iPad On Feb 1, 2020, at 1:19 AM, Jerry

java.lang.IncompatibleClassChangeError: vtable stub

2020-01-31 Thread Jerry Malcolm
I have created a completely separate instance of James from my current running production circa last October for a different client.  It was built from the latest master on github as of yesterday.  After publishing it to my EC2 instance, I started adding my my specific conf files and jar

Maven Linshare Compile Errors on Latest Master

2020-01-29 Thread Jerry Malcolm
I decided it was time to refresh my James build.  I started totally from scratch.  I used the GitHub desktop app and recloned the latest master.  I ran mvn compile.  It chugged away for about 10 minutes.  But then it gave me four errors, crashed, and burned.  The errors are JUnit related,

Re: Mail to Multiple Recipients on Same Domain Being Discarded

2020-01-23 Thread Jerry Malcolm
pipeline, you can insert a LogMessage ( http://james.apache.org/mailet/standard/mailet-report.html#LogMessage) mailet before and after each mailet. Cheers, Rémi Kowalski Le jeu. 23 janv. 2020 à 05:47, Jerry Malcolm a écrit : If someone sends a single email to a...@domain.com, b...@domain.com, c

Mail to Multiple Recipients on Same Domain Being Discarded

2020-01-22 Thread Jerry Malcolm
If someone sends a single email to a...@domain.com, b...@domain.com, c...@domain.com, it is only being delivered to a...@domain.com.  The log shows all three recipients when the email enters the processor chain.  I log the last step where mail is stored in a folder.  I only get an entry for

Removing "orphaned" mailboxes

2019-11-20 Thread Jerry Malcolm
I made a stupid config mistake.  I was inadvertently not storing spam messages in the RECIPIENT's spam folder.  Rather I was storing them in a Spam folder for the SENDER.  I caught it fairly quickly.  But not before it created several hundred entries in JAMES_MAILBOX for all of the spam

Re: Optimistic Locking Errors When Trashing Mail

2019-11-14 Thread Jerry Malcolm
.  But I' willing to take a look anyway if I can just get a couple of pointers to get me into the zipcode of where the problem might be. Thanks. Jerry On 10/29/2019 1:19 PM, Jerry Malcolm wrote: I created JAMES-2942 <https://issues.apache.org/jira/browse/JAMES-2942>. The emails in quest

(Followup) Sending Mail via a Second IP address

2019-11-08 Thread Jerry Malcolm
to be set, but useful with multi-homed hosts where it's important to pick a particular local address to bind to. mail.smtp.localhost is only used for EHLO, thus would not be enough. Good luck, trust management of SMTP outbound is not a easy topic. Regards, Benoit Tellier On 06/11/2019 02:26, Jerry

[jira] [Created] (JAMES-2975) RecipientIsLocal Fails on Aliased (RRT) Email Address

2019-11-07 Thread Jerry Malcolm (Jira)
Jerry Malcolm created JAMES-2975: Summary: RecipientIsLocal Fails on Aliased (RRT) Email Address Key: JAMES-2975 URL: https://issues.apache.org/jira/browse/JAMES-2975 Project: James Server

[jira] [Created] (JAMES-2974) Failure when JAMES_MAIBOX.user_name and JAMES_USER.user_name do not match case

2019-11-07 Thread Jerry Malcolm (Jira)
Jerry Malcolm created JAMES-2974: Summary: Failure when JAMES_MAIBOX.user_name and JAMES_USER.user_name do not match case Key: JAMES-2974 URL: https://issues.apache.org/jira/browse/JAMES-2974

Sending Mail via a Second IP address

2019-11-05 Thread Jerry Malcolm
As if I haven't hit enough problems in this transition apparently the IP address that AWS assigned to me was formerly used by a spammer.  So far, both sbcglobal and icloud.com are blocking and bouncing all email saying my IP is blacklisted. Yippee I don't want to change my inbound ip

[jira] [Created] (JAMES-2968) Move "Time Spent in IMAP-*" Log Entry from INFO to DEBUG

2019-11-05 Thread Jerry Malcolm (Jira)
Jerry Malcolm created JAMES-2968: Summary: Move "Time Spent in IMAP-*" Log Entry from INFO to DEBUG Key: JAMES-2968 URL: https://issues.apache.org/jira/browse/JAMES-2968 Project: Ja

[jira] [Created] (JAMES-2967) Add Logging of IMAP Command

2019-11-05 Thread Jerry Malcolm (Jira)
Jerry Malcolm created JAMES-2967: Summary: Add Logging of IMAP Command Key: JAMES-2967 URL: https://issues.apache.org/jira/browse/JAMES-2967 Project: James Server Issue Type: Improvement

Complete Code Contribution Lifecycle?

2019-11-05 Thread Jerry Malcolm
Is the entire lifecycle for a code contribution documented anywhere?  I understand opening a JIRA and creating a pull request.  But what is the process after that?  Is it out of my hands completely after I create the pull request?  Who actually processes the pull and tests and adds it the

Re: Recommended IDE for JAMES Dev?

2019-11-05 Thread Jerry Malcolm
: ... - "1:1" Vào Th 3, 5 thg 11, 2019 vào lúc 13:24 Jerry Malcolm < techst...@malcolms.com> đã viết: Duc, Thanks for the info. Apparently my maven download didn't include all of the plugins required. It says it can't resolve the checkstyle plugin. Is there a

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-05 Thread Jerry Malcolm
/11/2019 13:14, Jerry Malcolm wrote: I had already changed back to luceneIndex from lazyIndex and rebooted. I also removed the lazyIndex's version of the lucene folder.  But I'm still getting the same exception. On 11/5/2019 12:07 AM, Tellier Benoit wrote: ReIndexing is not implemented on top

Re: Recommended IDE for JAMES Dev?

2019-11-04 Thread Jerry Malcolm
ete James server for manual testing purpose by the IDEA. There is an alternative way is starting James by docker-compose, then connect a debug session by IDEA to James server running inside docker. You should be able to put debug points as usual Duc, Vào Th 3, 5 thg 11, 2019 vào lúc 08:33 Jerry Malc

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Jerry Malcolm
to configure lucene in index.xml (meaning for you, downtime in search) On 05/11/2019 12:44, Jerry Malcolm wrote: Benoit, This all makes sense.  I tried the CLI to ReindexAll and got an exception.  I figured I was just doing something wrong on the CLI with JMX, etc.  But every other command I tried worked

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Jerry Malcolm
/site/markdown/server/manage-webadmin.md#reindexing-all-mails [2] https://github.com/apache/james-project/blob/master/src/site/markdown/server/manage-cli.md#re-indexing Cheers, Benoit On 05/11/2019 07:47, Jerry Malcolm wrote: I'm starting a new thread for this specific issue.  One external

Re: Recommended IDE for JAMES Dev?

2019-11-04 Thread Jerry Malcolm
t;install" goal, open the maven panel, select the module, you will find it in life-cycle section. However I would strongly encourage you install maven in your development environment and trigger it via the command line. You will gain more flexibility. Regards, Benoit On 01/11/2019 11:35,

Re: RRT on Sender

2019-11-04 Thread Jerry Malcolm
nt folders on 'orphaned' mailboxes named after aliases. On 11/4/2019 3:10 AM, Tellier Benoit wrote: On 30/10/2019 01:08, Jerry Malcolm wrote: I am curious, though, why you said it wouldn't be enabled for sending by default. I say that because what you describe is well defined specific use cases (i

Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Jerry Malcolm
I'm starting a new thread for this specific issue.  One external symptom that has now been isolated to this problem is documented in my long-running (and hopefully completed) thread about iPhones losing all of their mail. Here's what I know about this so far: 1) I had no clue what 'Lucene'

(Resolved): Moving Servers Wipes Out iPhone's Mail Accounts

2019-11-04 Thread Jerry Malcolm
to start another thread in the dev group specifically to discuss the Lucene issue. Jerry On 10/31/2019 12:35 PM, Jerry Malcolm wrote: (I'm moving this thread to the dev forum since it appears now to not be a user problem) More data now... Since iPhone doesn't load the correct email list

Re: Recommended IDE for JAMES Dev?

2019-10-31 Thread Jerry Malcolm
ll request accordingly. Regards, Benoit On 01/11/2019 11:08, Jerry Malcolm wrote: Tellier, That's good news.  I'm going to be your first tester.  Is there a test site that has all of the latest changes to the doc in html format with all the latest images? A few things I've hit so far: -- "In th

Re: Recommended IDE for JAMES Dev?

2019-10-31 Thread Jerry Malcolm
, and at least for now, that makes me a good person to test the instructions. Thanks. Jerry On 10/31/2019 9:32 PM, Tellier Benoit wrote: Hi Jerry, I'm working on a refresh of build instructions for contributors [1]. IntelliJ (community version) is working great. [1] https://githu

Recommended IDE for JAMES Dev?

2019-10-31 Thread Jerry Malcolm
What is the recommended development environment (IDE) for JAMES development?  I am an Eclipse user.  I finally got JAMES to build in Eclipse.  But I can't get it to run there.  So I've been relegated to adding log statements, build, publish, look at logs, repeat.   As I am getting deeper and

Re: Moving Servers Wipes Out iPhone's Mail Accounts (IMAP Trace attached)

2019-10-31 Thread Jerry Malcolm
GETQUOTAROOT completed. 137,Request: 21 UID fetch 1:* (FLAGS) 139,Response: * 1 FETCH (FLAGS (\\Seen) UID 5801) 140,Response: * 2 FETCH (FLAGS (\\Seen) UID 5802) 141,Response: * 4 FETCH (FLAGS (\\Seen) UID 5804) On 10/29/2019 3:12 PM, Jerry Malcolm wrote: Ok, I need an IMAP expert Below

RecipientIsLocal false negative on james_domain table case mismatch

2019-10-30 Thread Jerry Malcolm
One of my clients reported a problem today that I traced back to a false negative on the RecipientIsLocal matcher.  I finally realized that the recipient's domain name was defined in mixed case in the james_domain table.   This cause the DomainList.isLocalDomain() method to not find the domain

Re: Optimistic Locking Errors When Trashing Mail

2019-10-29 Thread Jerry Malcolm
I created JAMES-2942 . The emails in question do not have any additional explicitly-added user flags. Jerry On 10/28/2019 6:05 AM, Tellier Benoit wrote: Every time I try to trash more than one mail item at a time (select a bunch of mails in

[jira] [Created] (JAMES-2942) Unable to perform range deletes with JPA

2019-10-29 Thread Jerry Malcolm (Jira)
Jerry Malcolm created JAMES-2942: Summary: Unable to perform range deletes with JPA Key: JAMES-2942 URL: https://issues.apache.org/jira/browse/JAMES-2942 Project: James Server Issue Type

Re: RRT on Sender

2019-10-29 Thread Jerry Malcolm
tRewriteTable" naming... If we start applying this to senders, this naming is then clearly outdated. We should then rather call this API "AddressRewriteTable". Would this make sense? Regards, Benoit On 28/10/2019 23:44, Jerry Malcolm wrote: Benoit, Sorry, I wasn't clear

Re: User-From-Sender Problem

2019-10-29 Thread Jerry Malcolm
tractUsersRepository`, `ReadOnlyUsersLDAPRepository`) Or if better, you can open a pull request with a new test to prove you argument, so we can get what you want to describe quickly Duc Tran On 28/10/2019 04:40, Jerry Malcolm wrote: My previous post explains a problem when there are capitalization inconsistencie

Re: RRT on Sender

2019-10-28 Thread Jerry Malcolm
not sure "sender mapping" should be done "at all", especially that most clients (thunderbird, JMAP, etc..) handle this by themselves. Best regards, Benoit On 28/10/2019 04:58, Jerry Malcolm wrote: How is RRT supposed to work with the sender side?  I under

RRT on Sender

2019-10-27 Thread Jerry Malcolm
How is RRT supposed to work with the sender side?  I understand that RRT stands for "Recipient..".  But the translations still need to work on outbound as well for storing in the 'sent' folder.  I don't see anywhere in the code that sender rrt is processed.   And I confirmed that

User-From-Sender Problem

2019-10-27 Thread Jerry Malcolm
My previous post explains a problem when there are capitalization inconsistencies between the target acct name and the user name. I've traced through the code and see how this is happening: The "To" and "Sender" fields can be any case:  je...@xyz.com. usersRepository.getUser(sender)

I Found Where Lots of Mail Has Been Going (Bug?)

2019-10-27 Thread Jerry Malcolm
When storing mail, the target account and folder are passed in to one of the three mail-store mailets.  If the folder doesn't exist on the target account, it makes sense that this folder be created automatically.  I don't have a problem with that.  However, if the target account doesn't exist,

Optimistic Locking Errors When Trashing Mail

2019-10-25 Thread Jerry Malcolm
Here's a new one I just looked into.  Every time I try to trash more than one mail item at a time (select a bunch of mails in TBird and hit 'Delete') I get a failure.  The logs have a huge dump which I can attach if necessary.  But the key lines are: Caused by:

Re: Setting Message Flags in Mailet? (Proposed Fix)

2019-10-25 Thread Jerry Malcolm
tly displaying as expected in Thunderbird. If no one disagrees, I'll open a Jira and start the process to get this change into git. Jerry On 10/24/2019 12:48 AM, Jerry Malcolm wrote: I have a mailet that needs to set the $label3 message flag in certain emails going through the pipeline pr

Setting Message Flags in Mailet?

2019-10-23 Thread Jerry Malcolm
I have a mailet that needs to set the $label3 message flag in certain emails going through the pipeline prior to being stored in the repository.  In my mailet:    mail.getMessage().setFlags(new Flags("$label3"), true);         mail.getMessage().saveChanges(); But the flags are not being

Re: Mailbox ReadOnlyException

2019-10-22 Thread Jerry Malcolm
ng things to fix it, let me know. I'm not fully confident that this fixes all of my locked folder problems with such a small amount of testing so far.  But I am encouraged.  I still have no clue on the iPhone issue. Please advise as to the correct way to proceed with this 'fix'. Thx Thx. Jerry

Re: Mailbox ReadOnlyException

2019-10-22 Thread Jerry Malcolm
of these folders and how to restore them. On 10/22/2019 4:10 PM, Jerry Malcolm wrote: I pulled out my legacy code for writing to folders and replaced with the default mailets.  But I still get this exception on one of my accounts' Sent folder.   Any ideas what could lock up a mailbox? (I've restarted

Mailbox ReadOnlyException

2019-10-22 Thread Jerry Malcolm
I pulled out my legacy code for writing to folders and replaced with the default mailets.  But I still get this exception on one of my accounts' Sent folder.   Any ideas what could lock up a mailbox?  (I've restarted JAMES several times... no change) Sending from another account appears to be

LocalDelivery vs. ToSenderFolder vs. ToRecipientFolder

2019-10-22 Thread Jerry Malcolm
There are three different mailets that seem to do basically the same thing which is put mail in a folder.  The folder is different and consume is different.  ToRecipientFolder and LocalDelivery build a mail dispatcher, but ToSenderFolder does not.  And all of them hardcode the folder or get it

Re: Keeping Track of An Email That Has Been Moved

2019-10-14 Thread Jerry Malcolm
e a good starting point for you. It looks like my next step is going to be moving to Guice. Yeah!!! Cheers, Benoit On 15/10/2019 05:20, Jerry Malcolm wrote: Hi Benoit, Thanks for the response.  I'm all for extensions mechanisms rather than using db schemas.  If I understand what you are descri

Re: Keeping Track of An Email That Has Been Moved

2019-10-14 Thread Jerry Malcolm
dvise you to rely on MailboxListeners (that receives events from users mailboxes) The Added event is here the one that interest you. You can rely on the "MessageId" property to correlate with your bookmark content and thus being able to update it. MailboxListener is only supported by Guice

Keeping Track of An Email That Has Been Moved

2019-10-11 Thread Jerry Malcolm
I need a little more education... I understand that fundamentally IMAP and all mail storage is pretty much 'top down'.  The user starts at the top folder and drills down through sub folders until they locate the email in question.   And there are search engines that basically do the same

[jira] [Created] (JAMES-2923) Add Option to Log More SpamAssassin Scoring Info to Log and Headers

2019-10-10 Thread Jerry Malcolm (Jira)
Jerry Malcolm created JAMES-2923: Summary: Add Option to Log More SpamAssassin Scoring Info to Log and Headers Key: JAMES-2923 URL: https://issues.apache.org/jira/browse/JAMES-2923 Project: James

Re: Proposal: SpamAssassin Mailet enhancements

2019-10-08 Thread Jerry Malcolm
ticket about this? Best regards, Benoit On 08/10/2019 01:53, Jerry Malcolm wrote: As a bit of background for this proposal, I personally have no problem trading a small overhead of some additional headers in a delivered email if I can see the serviceability info I need directly in the email in 2

Blue Sky Discussion -- Composite Folders?

2019-10-08 Thread Jerry Malcolm
I have several businesses and therefore several business email accounts along with a couple of personal email accounts.  And a few of those accounts have quite a few folders and a lot of rules that keep inbound mail under control by routing it to different folders.  All of this is great when

Proposal: SpamAssassin Mailet enhancements

2019-10-07 Thread Jerry Malcolm
As a bit of background for this proposal, I personally have no problem trading a small overhead of some additional headers in a delivered email if I can see the serviceability info I need directly in the email in 2 seconds vs scanning/filtering through massive logs (assuming the logs were even

Re: "Remote Delivery Success" Logger Hook?

2019-10-07 Thread Jerry Malcolm
mechanism. I dropped what I had in mind, as well as related concerns in https://issues.apache.org/jira/browse/JAMES-2912 Cheers, Benoit On 07/10/2019 08:43, Jerry Malcolm wrote: One more request for advice while I'm thinking about it I have a client that has a requirement for a db entry

Re: Adding Recipient-Specific headers

2019-10-07 Thread Jerry Malcolm
this during my lunch pause but I won't have the time for writing the fix... Best regards, Benoit Tellier On 07/10/2019 03:15, Jerry Malcolm wrote: I noticed in 3.3 that the SpamAssassin mailet changed to support different spamassassin results per recipient in a multi-recipient email.  I understand

Proposal: MailetPipelineLogging.java enhancement

2019-10-07 Thread Jerry Malcolm
Ok... I'm jumping in headfirst:-)  This is a simple one for my first time Problem a: Logging enter/exit of the service(..) method of mailets is huge for serviceability.  However, the current code in MailetPipelineLogging.java simply says we entered mailet xyz and exited mailet xyz.  

"Remote Delivery Success" Logger Hook?

2019-10-06 Thread Jerry Malcolm
One more request for advice while I'm thinking about it I have a client that has a requirement for a db entry for each mail item going in or out for a certain domain that logs the final result.  For outbound, the db entry will either be a bounce message or the 'success' log entry that says

Adding Recipient-Specific headers

2019-10-06 Thread Jerry Malcolm
I noticed in 3.3 that the SpamAssassin mailet changed to support different spamassassin results per recipient in a multi-recipient email.  I understand MailImpl's PerRecipientHeaders.  And I found MailDispatcher's addSpecificHeadersForRecipient(...) that adds the actual headers.  But it

3.4.0 AWS S3 Storage

2019-10-06 Thread Jerry Malcolm
with those, jump on in. Jerry Matthieu, On 10/2/2019 4:33 AM, Matthieu Baechler wrote: Hi, On Tue, 2019-10-01 at 11:41 -0500, Jerry Malcolm wrote: [...] Two initial questions:    1) is this enabled simply by adding blob.properties into the conf directory? When using cassandra+guice, yes

Introduction

2019-10-06 Thread Jerry Malcolm
I am interested in becoming a contributor to the JAMES server.  I have been a user of JAMES in my hosting environment since around 2003.  I also own a software solutions development company (primarily java/tomcat).  I am retired from IBM as a senior software architect for the Websphere family

[jira] Created: (JDKIM-19) Change scope on 2 variables in DKIMSign to support subclassing

2010-08-16 Thread Jerry Malcolm (JIRA)
Components: mailet Environment: software, mailet Reporter: Jerry Malcolm I need to have separate private keys for DKIM for different domains that I host on my server. I plan to create a database table that looks up the private key based on the domain. I figured I