SSL/TLS imported third party cert

2013-09-21 Thread Robert Munn
I was banging my head up against a problem importing a previously signed cert into the keystore for use with James. I finally found an answer and wanted to share a bit of wisdom I picked up from someone else. See this StackOverflow thread:

LDAP authentication

2013-09-22 Thread Robert Munn
This message is a reply to an earlier message about LDAP authentication failure. I have this working and thought I would share my config. This is on Windows, FYI. I implemented a base Active Directory LDAP instance with Users.LDIF. It creates a configuration from the root node

Re: LDAP authentication

2013-09-23 Thread Robert Munn
00:20, Robert Munn wrote: This message is a reply to an earlier message about LDAP authentication failure. I have this working and thought I would share my config. This is on Windows, FYI. I implemented a base Active Directory LDAP instance with Users.LDIF. It creates a configuration from

Re: Maildir support for Windows.

2013-09-24 Thread Robert Munn
I am deploying a new mail server on James/Windows and was wondering if you think the support for WinMailDir is stable enough for a new deployment. I don't need to migrate a pile of old mail, so it's really just about stability of the running system. I can potentially debug other issues, though I

Re: Integrating web application login with James login

2013-09-25 Thread Robert Munn
Giri, I have just solved the same issue. I did it by moving username and password into an LDAP store and letting LDAP handle auth for the web application and James. Robert On Wed, Sep 25, 2013 at 2:08 PM, Girivaraprasad Nambari girinamb...@gmail.com wrote: *NOTE: sorry for posting little bit

Re: Maildir support for Windows.

2013-09-26 Thread Robert Munn
On Thu, Sep 26, 2013 at 5:53 AM, Robin Bankhead apache.ja...@headbank.co.uk wrote: Hi Robert, I think it is still a long way from being able to be considered stable: Understood. I will defer a deployment until a later date, although that complicates matters as I will need to migrate mail out

running james on windows server 2012 x64

2013-09-29 Thread Robert Munn
I have two issues: 1. I can't run the james service in 64-bit because there is no wrapper dll for 64-bit. I haven't looked at running it in 32-bit mode yet. Is there no 64 bit wrapper? 2. When I run James from the command line, it runs OK but I can only connect from the local server console,

Re: James 2.3 - TLS Connection Problem/Questions

2013-10-15 Thread Robert Munn
This is a guess but I bet the private key is not in the keystore. Did you generate the cert request using keytool? If not, you will need to generate pfx file with the public and private key in it, then transform the pfx file into the keystore format, specifying that keystore as the store for

Re: James 2.3 - TLS Connection Problem/Questions

2013-10-15 Thread Robert Munn
IS NOT supported Compression: NONE Expansion: NONE --- Any help would be greatly appreciated... On a crunch here. Jan On 10/15/13 6:15 PM, Robert Munn robert.d.m...@gmail.com wrote: This is a guess but I bet the private key is not in the keystore. Did you generate the cert

Re: James 2.3 - TLS Connection Problem/Questions

2013-10-16 Thread Robert Munn
certificate -- I assume the details on the cert aren't really relevant or checked. On 10/15/13 7:30 PM, Robert Munn robert.d.m...@gmail.com wrote: I am using starttls in James, here is my command: openssl s_client -connect localhost:25 -state -starttls smtp This works for me

Re: James 2.3 - TLS Connection Problem/Questions

2013-10-17 Thread Robert Munn
Look at my last post for a link to beta 5 dl... On Oct 17, 2013 10:32 AM, Jan Drake jan.s.dr...@gmail.com wrote: Alrighty, then. Apache james V2.3 tls support is apparently not compatible with microsoft exchange handling of tls connection management since james v2.3 doesn't support

Re: POP IMAP Server vs SMTP Server

2013-11-02 Thread Robert Munn
james has an smtp server built in. look in /conf for the smtpserver config. looks like the wikipedia page is out of date. On Fri, Nov 1, 2013 at 7:49 AM, Merve Temizer mervet2...@gmail.com wrote: Hi, Wikipedia[1] tells that James is a POP/IMAP server, but James does not exists in SMTP server

Re: james on linux - maildir format issue 3.0.0 beta 5

2013-11-09 Thread Robert Munn
great, thanks On Sat, Nov 9, 2013 at 3:03 AM, Eric Charles e...@apache.org wrote: oh, I see what you mean. I had that issue with a specific older version/snapshot. If you use the latest snapshot, you will get it right. On 09/11/13 10:19, Robert Munn wrote: I understand. The user

Re: How much is this project active?

2013-11-20 Thread Robert Munn
I started using james recently and have found the community quite active. There is an unreleased beta 5 version that I am running with good success. The links are in the mail list archive. On Nov 19, 2013 9:07 PM, 허호영(Hoyeong Heo) hoyeong@happyict.co.kr wrote: Hello, dear. My company is

Re: Looking for help to get started with mailets

2014-07-26 Thread Robert Munn
Which version of James are you using? James beta 4 is the listed version on the web site but beta 5 is available and has a bunch of changes from beta 4. I am using beta 5 and the configuration for mailets is in ./conf/mailetcontainer.xml. The available documentation can be found here:

Re: apache-james project status?

2014-10-17 Thread Robert Munn
I should have said “Not a troll”. :-) I have just completed a build of the latest beta5 from trunk and I am going to make a Youtube video to demonstrate how to do it. Robert On Oct 17, 2014, at 2:54 PM, Robert Munn robert.d.m...@gmail.com wrote: I don’t know about the level of support from

Re: apache-james project status?

2014-10-18 Thread Robert Munn
Happy to help. I appreciate all the time you have put into maintaining the project. On Oct 17, 2014, at 9:08 PM, Eric Charles e...@apache.org wrote: Thanks for helping. We need you. Eric On 10/18/2014 05:27 AM, Robert Munn wrote: I should have said “Not a troll”. :-) I have

Re: apache-james project status?

2014-10-18 Thread Robert Munn
Phone -Original Message- From: Robert Munn robert.d.m...@gmail.com Sent: ‎10/‎18/‎2014 8:57 AM To: James Users List server-user@james.apache.org Subject: Re: apache-james project status? I should have said “Not a troll”. :-) I have just completed a build of the latest beta5 from

Re: apache-james project status?

2014-10-19 Thread Robert Munn
Robert, Please share your experience and video. Thanks and Regards, Ajay. Sent from my Windows Phone -Original Message- From: Robert Munn robert.d.m...@gmail.com Sent: ‎10/‎18/‎2014 8:57 AM To: James Users List server-user@james.apache.org Subject: Re: apache-james project status

Re: apache-james project status?

2014-10-19 Thread Robert Munn
Same video with improved audio level, the pervious video has been removed. https://www.youtube.com/watch?v=kiAfrR80MX0 On Oct 19, 2014, at 3:49 PM, Robert Munn robert.d.m...@gmail.com wrote: Here is a video that demonstrates how to build James using command line tools (Subversion and Maven

Re: apache-james project status?

2014-10-20 Thread Robert Munn
I have added a video that demonstrates building James from source using Eclipse: https://www.youtube.com/watch?v=oigJiL8oX3k and I have documented the CLI method on my blog: http://blog.bonnydoonmedia.com/post.cfm/building-apache-james-from-source On Oct 19, 2014, at 5:36 PM, Robert Munn

Re: apache-james project status?

2014-10-20 Thread Robert Munn
Mike, Ah that’s what happens when we make assumptions. I assumed the build file instructions were safe to follow. I originally did mvn install when I installed Maven and did the build the other day, that’s why my build worked. Why you ran into the error seems to be clear now. It isn’t platform

Re: apache-james project status?

2014-10-20 Thread Robert Munn
OK, new videos up on Youtube. https://www.youtube.com/watch?v=g9ROGgazRWc - building from source with CLI https://www.youtube.com/watch?v=QinbImsKpGI - building from source with Eclipse On Oct 20, 2014, at 2:55 PM, Robert Munn robert.d.m...@gmail.com wrote: Thanks for your feedback. I

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
Your rDNS: mail.jwmhosting.com looks correct to me. I just did a telnet check of your smtp server: $ telnet telnet open mail.jwmhosting.com 25 telnet helo foo.com reply shows: 250 jwmhosting.com Hello foo.com [xx.xx.xx.xx]) - my ip address What is important here is the helo name :

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
name to use when connectiong to remote SMTP-Server -- mail.smtp.localhostmail.jwmhosting.com/mail.smtp.localhost should be this: heloNamemail.jwmhosting.com/heloName change, restart, and retry, you should be good to go. On Oct 27, 2014, at 1:51 AM, Robert Munn robert.d.m

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
hmm, wait, that isn’t working . another check ... On Oct 27, 2014, at 1:51 AM, Robert Munn robert.d.m...@gmail.com wrote: Your rDNS: mail.jwmhosting.com looks correct to me. I just did a telnet check of your smtp server: $ telnet telnet open mail.jwmhosting.com 25 telnet helo foo.com

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
); } } infoBuffer = new StringBuilder(64).append(getServiceType()).append( handler hello name is: ).append(helloName); getLogger().info(infoBuffer.toString()); } I am looking at a fix for this, but I am not an expert in this codebase either. On Oct 27, 2014, at 9:07 AM, Robert Munn

Re: James 3 b4 HELO Override Not Working? [unsigned]

2014-10-27 Thread Robert Munn
Bernd, See my previous note, I think the java.mail.localhost parameter is being ignored in the source code. I tried your suggestion and it did not seem to make a difference. I added the parameter as an argument in wrapper.conf as: wrapper.java.additional.15=-Dhostname But that change was not

Re: James 3 b4 HELO Override Not Working? [unsigned]

2014-10-27 Thread Robert Munn
file. Thanks. Jerry On 10/27/2014 12:16 PM, Robert Munn wrote: Bernd, See my previous note, I think the java.mail.localhost parameter is being ignored in the source code. I tried your suggestion and it did not seem to make a difference. I added the parameter as an argument

Re: James 3 b4 HELO Override Not Working? [unsigned]

2014-10-27 Thread Robert Munn
ok, found the source, running a test build now. Here is the source repo for the version we need: http://svn.apache.org/repos/asf/geronimo/javamail/tags/geronimo-javamail_1.4-1.8.3/ On Oct 27, 2014, at 9:09 AM, Bernd Waibel bwai...@intarsys.de wrote: Hi Jerry I am not using v3 but:

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
More info. SMPTConnection.java extends MailConnection.java which has a method with this signature: public boolean protocolConnect(String host, int port, String username, String password) throws MessagingException If you fail to pass ‘host’ as an argument to the method, the host defaults to

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
is NOT set. Jerry On 10/27/2014 1:07 PM, Robert Munn wrote: More info. SMPTConnection.java extends MailConnection.java which has a method with this signature: public boolean protocolConnect(String host, int port, String username, String password) throws MessagingException If you

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
with that was well. Jerry On 10/27/2014 1:41 PM, Robert Munn wrote: Here is the base code. Note localHost is a property of the MailConnection class. Note also that there is a setLocalHost() method. I am going to try setting the localhost property from RemoteDelivery using setLocalHost( localHost

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
impl. You'll need to cast the transport to the geronimo package for the class, then see if you can get the connection object from the transport. Might work. But non-trivial. I'll play around with that was well. Jerry On 10/27/2014 1:41 PM, Robert Munn wrote: Here is the base code. Note

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
, at 1:23 PM, Robert Munn cfmuns...@gmail.com wrote: Great stuff. I got the build working as well. I don’t like the fact that we’re forcing it to use SMTPTransport, ruling out using other transport providers, but if you look at the section of the code just below there, you see

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
Forgot one thing. Just above the try{} block, Transport transport is defined. I changed it to this: SMTPTransport transport = null; On Oct 27, 2014, at 1:54 PM, Robert Munn cfmuns...@gmail.com wrote: Here is my code. Import the SMTPTransport class, and replace this: transport

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
/post.cfm/patches-for-apache-james-mail-server-3-0-beta5 On Oct 27, 2014, at 2:05 PM, Robert Munn cfmuns...@gmail.com wrote: Forgot one thing. Just above the try{} block, Transport transport is defined. I changed it to this: SMTPTransport transport = null; On Oct 27, 2014, at 1:54

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
, then see if you can get the connection object from the transport. Might work. But non-trivial. I'll play around with that was well. Jerry On 10/27/2014 1:41 PM, Robert Munn wrote: Here is the base code. Note localHost is a property of the MailConnection class. Note also

Re: James 3 b4 HELO Override Not Working?

2014-10-28 Thread Robert Munn
being used in Geronimo is “localhost”, so I don’t know whether it is worth pursing a fix at this time. I may run it by the Geronimo mailing list to see if anyone has run into this issue. On Oct 27, 2014, at 7:50 PM, Robert Munn cfmuns...@gmail.com wrote: A couple of additional notes

Re: James 3 b4 HELO Override Not Working? [unsigned]

2014-10-28 Thread Robert Munn
. Many thanks for fixing that. Thanks, Bernd -Ursprüngliche Nachricht- Von: Robert Munn [mailto:cfmuns...@gmail.com] Gesendet: Dienstag, 28. Oktober 2014 09:29 An: James Users List Betreff: Re: James 3 b4 HELO Override Not Working? Last followup about this subject for now. I

compiling James v3 with just Eclipse tools

2014-10-30 Thread Robert Munn
If you want to compile James from source using just the Eclipse toolset, Bernd Waibel has written a tutorial on how to do it. You can grab the tutorial document in Word or PDF form from my blog: http://blog.bonnydoonmedia.com/post.cfm/walkthrough-tutorials-compiling-apache-james-v3-with-eclipse

Re: apache-james project status?

2014-12-10 Thread Robert Munn
: Thanks for the time to make the videos. There are a lot of things needed at James, one of the biggest is a new Release. Hopefully I'll be able to dedicate some time to this next year and push James 3 out. Regards, 2014-10-21 4:09 GMT+03:00 Robert Munn robert.d.m...@gmail.com: OK, new

Re: Minimum Platform Requirements?

2015-02-02 Thread Robert Munn
- From: Robert Munn [mailto:robert.d.m...@gmail.com] Sent: Saturday, January 31, 2015 8:49 PM To: James Users List Subject: Re: Minimum Platform Requirements? Probably then your best course is to set up a test and see if James can run with -Xmx=64m or -Xmx=128m, which is maybe the max

Re: Minimum Platform Requirements?

2015-01-31 Thread Robert Munn
at the moment, and want the flexibility to re-task/mix tasks for the devices, so keeping them all the same (core) will make it easier for me at the moment. I'm still learning my way around Linux, so keeping to Raspbian will also help. -Chris -Original Message- From: Robert Munn

Re: Minimum Platform Requirements?

2015-01-31 Thread Robert Munn
I don’t know about James v2 versus v 3, but in my experience 512 MB RAM would be a pretty minimal environment for any Java server app. If what you want is a small, low-power appliance-type device, have you considered an Atom-based SFF PC? You can pick up a used Asus eeeBox with HDD, 2GB RAM,

Re: Deploy a custom mailet in James 3.0.0-beta5

2015-01-12 Thread Robert Munn
Benoit, Below is the method that generated the error. This code is in: org.apache.james.queue.jms.JMSMailQueue.deQueue(JMSMailQueue.java:171) Looking at this code, it seems that if message is null, it will always generate an error because the while(true){} loop will never exit otherwise. For

Re: How to run james3 as service on ubuntu

2015-01-08 Thread Robert Munn
Could you write a tutorial on how you did it? On Jan 8, 2015, at 9:52 AM, Lee Chalupa lchal...@seelink.org wrote: I figured it out. This should be on the james website to help other users. lee On 01/08/2015 10:40 AM, Lee Chalupa wrote: hello: I'm installing beta5 version of james3

Re: Tracking Mail After Folder Moves

2015-03-14 Thread Robert Munn
Jerry, Have you considered using an external system for this purpose? Offhand, I would think you could use either a NoSQL store like Cassandra or a search system like Solr to maintain your searchable history. You could create a mailet to insert new emails into the external system, then you

Re: Tracking Mail After Folder Moves

2015-03-16 Thread Robert Munn
search engine has found. On 3/14/2015 6:18 PM, Robert Munn wrote: Jerry, Have you considered using an external system for this purpose? Offhand, I would think you could use either a NoSQL store like Cassandra or a search system like Solr to maintain your searchable history. You could

Re: James 3 b4 HELO Override Not Working?

2015-03-03 Thread Robert Munn
ok On Mar 1, 2015 12:51 AM, Eric Charles e...@apache.org wrote: Can you open a JIRA and upload your patches there? On 10/28/2014 12:11 AM, Robert Munn wrote: OK, I made an Eclipse patch for the RemoteDelivery issue. I also made a patch for a mod I made to ReadOnlyUsersLDAPRespository.java

Re: James 3 b4 HELO Override Not Working?

2015-03-05 Thread Robert Munn
tickets created and patch files uploaded. On Mar 3, 2015, at 1:09 PM, Robert Munn robert.d.m...@gmail.com wrote: ok On Mar 1, 2015 12:51 AM, Eric Charles e...@apache.org wrote: Can you open a JIRA and upload your patches there? On 10/28/2014 12:11 AM, Robert Munn wrote: OK, I made

Re: Quota feature on trunk.

2015-11-04 Thread Robert Munn
Benoit, This is very good news, thank you for your contribution. I just checked out the trunk @ rev 1712396, but it did not build successfully from CLI. Do you have a known good revision in the trunk to get a successful build with this feature enabled? This rev is failing when it tries to

Re: Quota feature on trunk.

2015-11-05 Thread Robert Munn
it from james-server. > > You need to checkout james-project, last revision should be OK as long as you > don't launch unit tests ( see JAMES-1636 ). > > Don't know for SVN, but using this git repository : > https://github.com/apache/james-project > I build succesfuly latest c

Re: James new event system

2016-01-01 Thread Robert Munn
Benoit, This is very interesting work, thank you for contributing. I am interested in learning more about the event system. Robert > On Nov 28, 2015, at 10:09 AM, Tellier Benoit wrote: > > Hi, > > I just wanted to present my work on James event system. > > ## What is

docs for James configuration

2016-03-10 Thread Robert Munn
let me know if you have any specific requests or suggestions for topics that might be useful. Robert — Robert Munn

Re: docs for James configuration

2016-03-10 Thread Robert Munn
the Apache License or something else? Robert > On Mar 10, 2016, at 1:45 PM, Robert Munn <robert.d.m...@gmail.com> wrote: > > Hi all, > > I have been intending to produce some documentation for James 3.x, and I am > finally getting around to the subject. > >

Re: Blowing up the tmp folder

2016-04-05 Thread Robert Munn
Jerry, I don’t know if you solved your problem yet, but take a look at this. It could be a similar issue, perhaps. Googling "spamassassin temp files” shows a bunch of results, so it seems like the issue could be related to your configuration. -- on my servers I resolved this issue by

building from the latest master

2017-05-30 Thread Robert Munn
Hi, I'm doing some work with James again and I want to compile the latest version. I tried the docker-compose.yml route but that didn't build successfully. I'm following directions here: https://github.com/apache/james-project I am using this URL as my remote:

Re: building from the latest master

2017-06-01 Thread Robert Munn
ontainers used by tests. > There's a paragraph for that in the README under the Java 8 section. > > Antoine > > > Le 31/05/2017 à 02:05, Robert Munn a écrit : >> Hi, I'm doing some work with James again and I want to compile the latest >> version. I tried the docker-c