Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-22 Thread cryptearth
Hello Marc, glad I could help. Yea, even James is good documented in it's source files, it takes time to dig around through the repo to discover what James is capable of. For example: composite matcher found in org.apache.james.mailetcontainer.impl.matchers in

Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-21 Thread Marc Chamberlin
Matt - We have GOT to get these great answers of yours included as part of the documentation on the website! You put a lot of time, thought, and effort in composing them and is would be a shame to lose it! I actually am running the Apache HTTP webserver on my server also, so I use it to handle

Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-20 Thread Marc Chamberlin
Hi Matt -  We need you to put all your wonderful replies and commentary up on the James website as part of the documentation. Some of the stuff there is pretty sparse and you are doing a great job of explaining things! ;-)  I will intersperse a few comments below - On 02/20/2019 09:50 AM,

Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-20 Thread cryptearth
Evening all, Matt here. Marc, let's look at the doc: "This is an anti-relay matcher/mailet combination Emails sent from servers not in the network list are rejected as spam. This is one method of preventing your server from being used as an open relay.  Make sure you understand how to

Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-20 Thread Marc Chamberlin
Morning Benoit ;-)  This could get into being a philosophical discussion for certain! I have mixed feelings about customization of error messages, and you are correct in saying I could change this particular one. I have always approached software design with the attitude that error handling and

Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-20 Thread Benoit Tellier
Hi. This is very true. But the technical knowledge limitation is not the only one... There is also internationalization + text/plain messages... Note that "Bounce" mailet family allows a '' field allowing you to maybe further explain this to non techie users you might have to handle - and in the

Re: MalformedURLException: unknown protocol: classpath SOLVED

2019-02-19 Thread Marc Chamberlin
Well at this point I will say that the upgrade to James 3.4 SNAPSHOT has worked, I finally found the remaining problem that had been overlooked. (this is a rather bad user trap IMHO and probably should be re-addressed.)  There is a mailet defined in the mailetcontainer.xml that needs to be

Re: MalformedURLException: unknown protocol: classpath

2019-02-19 Thread Marc Chamberlin
Oh well never mind this exception about localhost, my bad, I had added localhost to the domainlist as an experiment and that was not a good idea. Removing it cleared up this exception, but I still cannot send anything out...  Still looking for a solution...    Marc... On 02/19/2019 06:16 PM,

Re: MalformedURLException: unknown protocol: classpath

2019-02-19 Thread Marc Chamberlin
Hi Matt, Geez thanks so much for taking the time to do such a wonderful write up! And following your advice did solve the double entry into Thunderbird's sent folder. I still cannot get James to send anything out though but I am now getting messages written to the james-server.log file and

Re: MalformedURLException: unknown protocol: classpath

2019-02-19 Thread Raphael OUAZANA
Hi Matt, Thank you very much for this very nice explanation! For me long mails are perfectly fine on a mailing list, and better suited than small parts. Thanks again for sharing. Regards, Raphaël. Le 2019-02-19 19:13, cryptearth a écrit : Hey Marc, ah, I can see a lot of myself in you

Re: MalformedURLException: unknown protocol: classpath

2019-02-19 Thread cryptearth
Hey Marc, ah, I can see a lot of myself in you back when I used james first back in 2015 or so ... maybe I can help you out on some questions as I also learned a bit since then. But, if I fell, Benoit is one kind of a crack on james and, as far as I remember for my questions, always has some

Re: MalformedURLException: unknown protocol: classpath

2019-02-18 Thread Marc Chamberlin
I should have mentioned I am working with the imap server on James, not pop3...   Marc.. On 02/18/2019 05:26 PM, Marc Chamberlin wrote: > Thanks Matt, you were correct, I needed to install the java-devel > packages. Maven then ran fine, kinda scary actually watching it run! > That is a LOT of

Re: MalformedURLException: unknown protocol: classpath

2019-02-18 Thread Marc Chamberlin
Thanks Matt, you were correct, I needed to install the java-devel packages. Maven then ran fine, kinda scary actually watching it run! That is a LOT of code being downloaded and processed!  I will table the systemd issue for now and just concentrate on getting James running. I like your idea of

Re: MalformedURLException: unknown protocol: classpath

2019-02-18 Thread cryptearth
Well, for me, I just added "@reboot /path/to/james/bin/james start" to my root crontab - no need for init.d/systemd. As the issue arised after you let systemctl create files - seems something went wrong there. As for your maven issue: do you have java-devel installed? Matt Am 18.02.2019 um

Re: MalformedURLException: unknown protocol: classpath

2019-02-17 Thread Marc Chamberlin
On 02/17/2019 06:01 AM, cryptearth wrote: > git clone -b master https://github.com/apache/james-project james folder> > > branch 3.2.0 is completed and isn't worked on anymore, branch 3.2.x > got last update in Dec 10, 2018 - so you have to use master branch to > get current fixes > to compile

Re: MalformedURLException: unknown protocol: classpath

2019-02-17 Thread Benoit Tellier
I am not sure you can use "james script" directly like this as a initd script. What we do use in docker (and thus is maintained) is ./bin/wrapper-linux-x86-64 conf/wrapper.conf wrapper.syslog.ident=james wrapper.pidfile=var/james.pid wrapper.daemonize=FALSE Cheers, Benoit On 2/18/19 7:39 a

Re: MalformedURLException: unknown protocol: classpath

2019-02-17 Thread Marc Chamberlin
Hi Matt, thanks for responding!  It appears to me that "classpath" is actually defined in the startup scripts. There are two different scripts used to start the james server, either "james" or "run.sh". I do not believe "classpath" is defined in any of the config files themselves. I am not using

Re: MalformedURLException: unknown protocol: classpath

2019-02-17 Thread cryptearth
Hey Marc, Matt here. The provided stack only says that you given "classpath" to some parameter wich expectes a url in some config file. So I guess it could help if you also show the config where you set "classpath" so one can figure out, if "classpath" is a legal input for the setting you set

MalformedURLException: unknown protocol: classpath

2019-02-16 Thread Marc Chamberlin
I am still trying to configure and set up a new Apache James 3.2.0 with Spring wiring and am running into a new snag. I suspect I am overlooking something in the config files. So can a kind guru decipher this stack walkback, shown in the wrapper.log file, and give me a clue on how to fix and make