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: http://stackoverflow.com/questions/906402/importing-an-exi

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 (cn=,dc=,dc=com) tha

Re: LDAP authentication

2013-09-23 Thread Robert Munn
I might be able to get it to work, but that isn't a good generalized solution. Any suggestions in that direction would be great. On Sun, Sep 22, 2013 at 9:34 PM, Eric Charles wrote: > Thx for sharing this. If OK for you, I will take you config in the James > documentation. > >

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 do

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 wrote: > *NOTE: sorry for posting little bit off topic question.

Re: Maildir support for Windows.

2013-09-26 Thread Robert Munn
On Thu, Sep 26, 2013 at 5:53 AM, Robin Bankhead 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 of the James db mail

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, not

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 James.

Re: James 2.3 - TLS Connection Problem/Questions

2013-10-15 Thread Robert Munn
5300424:error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 > alert internal error:s23_clnt.c:674: > --- > no peer certificate available > --- > No client certificate CA names sent > --- > SSL handshake has read 7 bytes and written 112 bytes > --- > New, (NONE), Ci

Re: James 2.3 - TLS Connection Problem/Questions

2013-10-16 Thread Robert Munn
cuts the > >connection, then it fails mid handshake. > > > >After a lot of reading it seems like it might be a failure to select a > >cipher in the handshake but... > > > >Not sure. > > > > > >Any and all help is greatly appreciated. Rapidly approachin

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" 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 starttls. > > Next,

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 wrote: > Hi, > > Wikipedia[1] tells that James is a POP/IMAP server, but James does not > exists in SMTP server list. But when i

james on linux - maildir format issue 3.0.0 beta 5

2013-11-08 Thread Robert Munn
I am testing james on a linux server with milder format enabled, using ldap as my user repository. In the process of moving the maildir folder location, I noticed that james created a folder in the default location called %domain, per this config line in mailbox-maildir.properties: maildir.fold

3.0.0 beta 5 smtp auth not allowing remote send

2013-11-08 Thread Robert Munn
Maybe this is related to the %domain variable issue from the maildir properties file. Testing beta 5 on linux with maildir mailbox storage. SMTP auth is saying DENY to users who should authenticate ok. The console logs this message: User=‘xx' org.apache.james.smtpserver.SenderAuthIdentify

Re: 3.0.0 beta 5 smtp auth not allowing remote send

2013-11-08 Thread Robert Munn
Looks like this has to do with dns resolution, should be working now... still no resolution on the %domain issue. On Fri, Nov 8, 2013 at 8:21 PM, Robert Munn wrote: > Maybe this is related to the %domain variable issue from the maildir > properties file. Testing beta 5 on linux with m

Re: 3.0.0 beta 5 smtp auth not allowing remote send

2013-11-08 Thread Robert Munn
well, another update. switching back to sql server for the moment fixed the issue, so there is something with the postgres config. On Fri, Nov 8, 2013 at 9:58 PM, Robert Munn wrote: > Looks like this has to do with dns resolution, should be working > now... still no resolution on the %

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

2013-11-09 Thread Robert Munn
, it is intented to put mails per user. > > > On 09/11/13 05:03, Robert Munn wrote: > >> I am testing james on a linux server with milder format enabled, using >> ldap as my user repository. In the process of moving the maildir folder >> location, I noticed that james creat

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 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 un

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)" wrote: > Hello, dear. > > My company is thinking of making gro

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: http://j

Re: apache-james project status?

2014-10-17 Thread Robert Munn
I don’t know about the level of support from the official maintainers. I had some trouble getting my implementation running, but since I got it configured the way I wanted it I have had no trouble with it. Maybe that’s why the list isn’t very active - once you have it running, there isn’t much t

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 wrote: > I don’t know about the level of support from the offic

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 wrote: > Thanks for helping. > We need you. > > Eric > > > On 10/18/2014 05:27 AM, Robert Munn wrote: >> I should have said “Not a tro

Re: apache-james project status?

2014-10-18 Thread Robert Munn
> > Sent from my Windows Phone > > -Original Message- > From: "Robert Munn" > Sent: ‎10/‎18/‎2014 8:57 AM > To: "James Users List" > Subject: Re: apache-james project status? > > I should have said “Not a troll”. :-) > > I have

Re: apache-james project status?

2014-10-19 Thread Robert Munn
nks Robert, > > Please share your experience and video. > > Thanks and Regards, > Ajay. > > Sent from my Windows Phone > > -Original Message- > From: "Robert Munn" > Sent: ‎10/‎18/‎2014 8:57 AM > To: "James Users List" > Subject: R

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 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 wrote: > > Thanks for your feedback. I will make new

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 : jwmhost

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
: mail.jwmhosting.com change, restart, and retry, you should be good to go. On Oct 27, 2014, at 1:51 AM, Robert Munn wrote: > Your rDNS: mail.jwmhosting.com looks correct to me. > > I just did a telnet check of your smtp server: > > $ telnet > telnet > open 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 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 &

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
base either. On Oct 27, 2014, at 9:07 AM, Robert Munn wrote: > hmm, wait, that isn’t working . another check ... > > On Oct 27, 2014, at 1:51 AM, Robert Munn wrote: > >> Your rDNS: mail.jwmhosting.com looks correct to me. >> >> I just did a telnet check of

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 p

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

2014-10-27 Thread Robert Munn
d the > geronimo.javamail.jar 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

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 wrote: > Hi Jerry > > I am not using v3 but: > > Could you try se

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

2014-10-27 Thread Robert Munn
Test build looks good. I have imported the geronimo code into Eclipse for editing. I don’t see directly in the code where the geronimo javamail package is being called, but there are references to it in the file james-karaf-features-3.0.0-beta5-SNAPSHOT-features.xml mvn:org.apac

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
)); > --- > Then let it try all of the other options if and only if this property is NOT > set. > > Jerry > > On 10/27/2014 1:07 PM, Robert Munn wrote: >> More info. SMPTConnection.java extends MailConnection.java which has a &g

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
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 that there is a setLocalHost() method. I am going to try >> settin

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
he 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 l

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
, heloName) ); I added: mail.legacyavatar.com and I have confirmed that it is being picked up by props.getProperty(“mail.smtp.localhost”). On Oct 27, 2014, at 1:23 PM, Robert Munn wrote: > Great stuff. I got the build working as well. I don’t like

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 wrote: > Here is my code. Import the SMTPTransport class, and replace this: > > transport = session.get

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 wrote: > Forgot one thing. Just above the try{} block, Transport transport is defined. > I changed it to this: > > SMTPTransport transport = null; > > > > On Oct 27,

Re: James 3 b4 HELO Override Not Working?

2014-10-27 Thread Robert Munn
to generic >> "javax.mail.Transport". The localhost methods and connection methods are >> all part of the geronimo 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 trans

Re: jDKIM Signature is invalid

2014-10-28 Thread Robert Munn
I checked your DNS, looks like you removed your DKIM record. Also, mxtoolbox.com says your SPF record type is deprecated. I just got jDKIM working on my domain. Looks like another tutorial in the works. It took a little investigation, but mail-tester.com is happy now. Here is how you fix your

Re: James 3 b4 HELO Override Not Working?

2014-10-28 Thread Robert Munn
perty 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 wrote: > A couple of additional notes. This issue app

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

2014-10-28 Thread Robert Munn
x system used. > In my opinion, this is not a bug, because it is not clear which network card > to use on getLocalHost(). > But the same: it should be an option for default implementation, which should > always be possible to configure. > > Just my remarks. > > Many thanks

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: Converting BATV address to regular email address?

2014-11-30 Thread Robert Munn
There is the list of BATV deployments at the BATV site: http://mipassoc.org/batv/deploy/index.html JavaMail and James are not on the list. Could still be an implementation floating around somewhere, or you could look at one of the other implementations to get ideas for how to deal with it. Here

Re: apache-james project status?

2014-12-10 Thread Robert Munn
le to dedicate some time to this next year and > push James 3 out. > > Regards, > > 2014-10-21 4:09 GMT+03:00 Robert Munn : >> OK, new videos up on Youtube. >> >> https://www.youtube.com/watch?v=g9ROGgazRWc - building from source with CLI >> >>

Re: apache-james project status?

2014-12-10 Thread Robert Munn
tan wrote: >> 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, >> >

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 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 server. >>

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 yo

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, a

Re: Minimum Platform Requirements?

2015-01-31 Thread Robert Munn
ment, 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 > >

Re: Minimum Platform Requirements?

2015-02-02 Thread Robert Munn
: RE: Minimum Platform Requirements? > > Great. Thanks! > > -Original Message- > 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

Re: James 3 b4 HELO Override Not Working?

2015-03-03 Thread Robert Munn
ok On Mar 1, 2015 12:51 AM, "Eric Charles" 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 ReadOnlyUs

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 wrote: > ok > > On Mar 1, 2015 12:51 AM, "Eric Charles" wrote: > Can you open a JIRA and upload your patches there? > > On 10/28/2014 12:11 AM, Robert Munn wrote: > > O

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 don

Re: Tracking Mail After Folder Moves

2015-03-16 Thread Robert Munn
e JAMES_MAIL > table that contains the email that my 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 eith

Re: Problem with sending email to Yahoo, MSN, Hotmail and AOL accounts

2015-11-03 Thread Robert Munn
I have also had issues with mail delivery with the big email services. The best ways I have found to improve delivery performance: - DKIM and SPF https://www.zoho.com/campaigns/help/setup-spf-dkim.html https://mandrill.ze

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 bu

Re: Quota feature on trunk.

2015-11-05 Thread Robert Munn
er. > > 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

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 James event system ? >

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 wrote: > > Hi all, > > I have been intending to produce some documentation for James 3.x, and I am > finally getting around to the subject. > > I have taken some README note

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 commen

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: http://git-wip-us.apache.org/repos/

Re: building from the latest master

2017-06-01 Thread Robert Munn
s 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-co