Hi .
I am writing a custom mailet..I have put my classes in a package and
build a jar file.
Later I gave the class path of that mailet and try to start the james
mail server.But I could not.
Below is the error logged in the log file.Could u plz tell me the reason
for that
INFO2003-07-19 15
Hello All,
I'm trying to build a custom Mailet, and things are coming along
nicely. However, I want to use a database connection pool from within
my mailet.
my problem is two fold.
1) where do I configure the dbcp
2) how do I reference it from within my mailet
I found a link offering
> I am writing a custom mailet..I have put my classes in a package and
> build a jar file.
> Later I gave the class path of that mailet and try to start the james
> mail server.But I could not.
> [Phoenix.] (): Installing Sar located at
file:/E:/jamesmail/james-2.1.1/apps/james.s
Check out the JDBCAlias mailet that comes with James for an example of
how to use it.
The dbcp database properties are configured in the config.xml file.
-Al
On Tue, 2 Nov 2004 20:02:11 +, Jason Clark <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I'm trying to build
Hi there, we are currently running James 3.4.0.
I am looking to create two implementations of Mailet to do the following:
1) Store message ID and a custom header in a database table after email has
been submitted via smtp
2) Update table with failed status if the email bounces
Please can you let
In the documentation for custom mailets:
http://james.apache.org/server/2.3.0/custom_mailet.html
Under the section titled "Adding Your Mailet to the Classpath", option 1b it
says:
"It will also be necessary to unpack the JavaMail and James jar files from
the provided .sar file and add them to th
I copied a custom mailet (myMailet.jar) to james-2.3.2/apps/james/SAR-INF/lib.
When I restarted, I got the following errors.
I also tried to unzip the original james.sar and put myMailet.jar to unziped
dir's SAR-INF/lib.
zipped and made a new james.sar and put it into james-2.3.2/apps. Bu
null,
received_date datetime not null,
message longtext,
primary key (id)
) type=InnoDB
Should I create a custom JDBC Repository implementation or simply a
custom Mailet?
One reason why I have the subject, sender, and received_date fields is
to improve inbox rendering performance. So, the
2010/5/1 Kevin :
> I copied a custom mailet (myMailet.jar) to
james-2.3.2/apps/james/SAR-INF/lib.
> When I restarted, I got the following errors.
Putting the jar there is the right thing. You probably built your jar
claqsses against the w
> I also tried to unzip the original james.sa
Hi
So I was reading this tutorial about creating your own custom Mailet
https://james.apache.org/server/3/dev-extend-mailet.html, and from what i have
read, Mailet is a component that process the mail that is going through the
server and can output log whenever something happen with the Email
Hi
So I was reading this tutorial about creating your own custom Mailet
https://james.apache.org/server/3/dev-extend-mailet.html, and from what i have
read, Mailet is a component that process the mail that is going through the
server and can output log whenever something happen with the Email
Hello Matt
On 30/06/2022 20:48, Matt Pryor wrote:
Hi there, we are currently running James 3.4.0.
Upgrade to 3.7.0 advised.
I am looking to create two implementations of Mailet to do the following:
1) Store message ID and a custom header in a database table after email has
been submitted via
On 30.06.22 3:48 PM, Matt Pryor wrote:
> Hi there, we are currently running James 3.4.0.
>
> I am looking to create two implementations of Mailet to do the following:
>
> 1) Store message ID and a custom header in a database table after email has
> been submitted via smtp
> 2) Update table with f
On 30.06.22 3:48 PM, Matt Pryor wrote:
> Hi there, we are currently running James 3.4.0.
>
> I am looking to create two implementations of Mailet to do the following:
>
> 1) Store message ID and a custom header in a database table after email has
> been submitted via smtp
> 2) Update table with f
Actually, the bounce notification may have its own message ID, so you might
have to dig through it a little bit more than just taking
mail.getMessage().getMessageID(). You might have to parse the body of the
message or the header to find the id of the original message that bounced.
This is especia
Many thanks Benoit, Garry and Karsten for the helpful responses!
Matt
On Thu, 30 Jun 2022 at 18:34, Garry Hurley
wrote:
> Actually, the bounce notification may have its own message ID, so you might
> have to dig through it a little bit more than just taking
> mail.getMessage().getMessageID().
Hi all, just to let you know that both of my mailets worked as hoped.
@Garry Hurley, it turns out that the MimeMessage passed into the bounce
mailet is actually the original email not the bounce email, which saves a
bit of work!
Kind regards
Matt
On Fri, 1 Jul 2022 at 09:33, Matt Pryor
wrote:
Hi,
Bud Bach schrieb:
In the documentation for custom mailets:
http://james.apache.org/server/2.3.0/custom_mailet.html
Under the section titled "Adding Your Mailet to the Classpath", option 1b it
says:
"It will also be necessary to unpack the JavaMail and James jar files from
the provided .sar
Where is james.jar and mailet.jar???
-Original Message-
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 3:52 AM
To: James Users List
Subject: Re: Custom Mailet Jars
Hi,
Bud Bach schrieb:
> In the documentation for custom mailets:
>
Sharma, Ashutosh wrote:
Where is james.jar and mailet.jar???
Unzip james.sar and you will find james.jar and mailet.jar
Stefano
I think that information is either incorrect or misleading. I only added
my custom jar's plus the jar's that they depend on and it worked.
You will have to add jame
Thanks. -- Bud
-Original Message-
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 2:52 AM
To: James Users List
Subject: Re: Custom Mailet Jars
Hi,
Bud Bach schrieb:
> In the documentation for custom mailets:
>
> http://james.apache.o
Hi,
I wrote a custom mailet named "DelayedSpool". But the server failed
to startup.
---
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "spoolmanager" failed to pass through the Sta
> -Original Message-
> From: Mark Gulbrandsen [mailto:[EMAIL PROTECTED]
> Sent: 06 July 2005 19:08
> To: server-user@james.apache.org
> Subject: Custom Mailet or Repository
>
> Hi all,
>
> I want to store emails in a database. But, I want to index the inbox
is
could be a reason why your attachements didn't come through.
Matt
Am 04.07.2019 um 05:34 schrieb Jason Tjankilisan:
Hi
So I was reading this tutorial about creating your own custom Mailet
https://james.apache.org/server/3/dev-extend-mailet.html, and from
what i have read, Mailet i
: About Custom Mailet Configuration
Hey Jason,
it seems you either didn't attached the source or don't have permission
to (idk - maybe a list admin could help about this).
So, either you use services like pastebin, an online repo, host it on a
server - or for achive purpose post it here i
: About Custom Mailet Configuration
Hey Jason,
it seems you either didn't attached the source or don't have permission
to (idk - maybe a list admin could help about this).
So, either you use services like pastebin, an online repo, host it on a
server - or for achive purpose post it here i
to mess around with the setting and try to reset to
default for the mailet to see where the error comes from.
Sorry for any wrong word, and thank you for the help.
Sincerely, Jason
Sent from Mail for Windows 10
From: cryptearth
Sent: Thursday, July 4, 2019 11:20 AM
To: server-user@james.apache.o
4:44 PM
To: server-user@james.apache.org
Subject: Re: About Custom Mailet Configuration
Hey Jason,
have a look at the doc, I supply it on my server (sorry for no-frame
support - security header stuff set by apache config):
https://cryptearth.de/~cryptearth/doc/org/apache/mailet/base/GenericMailet.htm
4:44 PM
To: server-user@james.apache.org
Subject: Re: About Custom Mailet Configuration
Hey Jason,
have a look at the doc, I supply it on my server (sorry for no-frame
support - security header stuff set by apache config):
https://cryptearth.de/~cryptearth/doc/org/apache/mailet/base/GenericMailet.htm
July 4, 2019 4:44 PM
To: server-user@james.apache.org
Subject: Re: About Custom Mailet Configuration
Hey Jason,
have a look at the doc, I supply it on my server (sorry for no-frame
support - security header stuff set by apache config):
https://cryptearth.de/~cryptearth/doc/org/apache/mailet/base/
spamming. Gonna try to ask permission to
update the iptables.
Sorry for any wrong word, and thank you for the help.
Sincerely, Jason
Sent from Mail for Windows 10
From: cryptearth
Sent: Friday, July 5, 2019 3:07 PM
To: server-user@james.apache.org
Subject: Re: About Custom Mailet Configuration
Hey
spamming. Gonna try to ask permission to
update the iptables.
Sorry for any wrong word, and thank you for the help.
Sincerely, Jason
Sent from Mail for Windows 10
From: cryptearth
Sent: Friday, July 5, 2019 3:07 PM
To: server-user@james.apache.org
Subject: Re: About Custom Mailet Configuration
Hey
r the help.
Sincerely, Jason
Sent from Mail for Windows 10
From: cryptearth
Sent: Friday, July 5, 2019 3:07 PM
To: server-user@james.apache.org
Subject: Re: About Custom Mailet Configuration
Hey Jason,
glad to hear you could it got to work.
About DKIM: You don't need to implement that yo
t;[EMAIL PROTECTED]>:
>
> Hi,
>
> I wrote a custom mailet named "DelayedSpool". But the server failed
> to startup.
>
> ---
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
> Component named "spoo
Thank you Ian,
I noticed that I have been copied my jar file to two "lib" directories.
One is /apps/james/SAR-INF/lib,
and another is /lib.
This is my mistake.
Now my custom mailet seems to work fine.
2007/12/7, Ian Lewis <[EMAIL PROTECTED]>:
> Iwasa-san,
>
> It
Hi all,
I have written a custom mailet. However, I am not been able to see any logs
in the mailet log file. I provided few log entries through mailetContext but
they are not appearing. I am sure that I need to check the mailet file only.
Also is it possible to log some messages in debug mode
Hi,
just to add on to my previous email. I unzip the james.sar file. then I
added the .jar file that I created into /james-sar/SAR-INF/lib/ dir and then
created the .sar file again and put it back in the james/apps dir. That is
when I get the "classpath" error shown in my previous email.
http://james.apache.org/custom_matcher_2_1.html - on deploying a custom
matcher has two ways to add a custom Matcher to the classpath... one way
"2. Place a jar file containing the custom class files in the lib
subdirectory of the James installation. It will also be necessary to
unpack the JavaM
/Not-finding-my-custom-mailet-jar-tf3995930.html#a11348203
Sent from the James - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ok, slowly, the problems are falling away.
I have created a custom mailet, but it is not recognizing on James
restart, causing startup to fail.
Right now, it is essentially the AddFooter mailet. I combined the
code of AddFooter and AbstractAddFooter, figuring that I'd customize
.
>
> I have created a custom mailet, but it is not recognizing on James
> restart, causing startup to fail.
>
> Right now, it is essentially the AddFooter mailet. I combined the
> code of AddFooter and AbstractAddFooter, figuring that I'd customize
> from ther
Simon Clark ha scritto:
>
> On 2-Dec-07, at 5:47 AM, Norman Maurer wrote:
>
>> Are you sure that your package name match ?
>> I never used jar directly to create a jar. But shouldn't the directory
>> layout looks like:
>>
>> /your/package/name/VTBList.java ?
>
> You mean the directory structure
On 2-Dec-07, at 5:47 AM, Norman Maurer wrote:
Are you sure that your package name match ?
I never used jar directly to create a jar. But shouldn't the directory
layout looks like:
/your/package/name/VTBList.java ?
You mean the directory structure within the .jar? I tried to do
this, addin
Success!
Not sure if I did everything the best way, or even the right way, but
I have a mailet working. Yay!
Here's what I had to do, for the sake of documenting...
- Download the source files for Java5 SDK and unpack them into my
$JAVA_HOME directory.
- Download the GlassFish code repos
I have figured out. My mailet was not getting invoked and as a result my
logs were not getting painted.
rgds
From: Nitin Gupta [mailto:nitingupta...@gmail.com]
Sent: Monday, September 06, 2010 4:59 AM
To: 'James Users List'
Subject: Logs for a custom mailet
Hi all,
I ha
due to licensing issues JavaMail and Activation cannot be redistributed
and have to be downloaded separatly. more info is given when you invoke
build.sh or build.bat.
Steve Iolone wrote:
http://james.apache.org/custom_matcher_2_1.html - on deploying a custom
matcher has two ways to add a cust
Steve Iolone wrote:
> http://james.apache.org/custom_matcher_2_1.html - on deploying a custom
> matcher has two ways to add a custom Matcher to the classpath... one way
> "2. Place a jar file containing the custom class files in the lib
> subdirectory of the James installation. It will also be nece
Thanks to all..
I have Herman's spamassassin matcher running also added added a
repository table in mysql for spambox.. I kept notes (pretty rough), but
if anyone would like them let me know.
Steve
-
To unsubscribe, e-mail:
> I have Herman's spamassassin matcher running also added added a
> repository table in mysql for spambox.. I kept notes (pretty rough),
> but if anyone would like them let me know.
Would you mind adding them to the Wiki?
--- Noel
Noel J. Bergman wrote:
I have Herman's spamassassin matcher running also added added a
repository table in mysql for spambox.. I kept notes (pretty rough),
but if anyone would like them let me know.
Would you mind adding them to the Wiki?
--- Noel
Noel J. Bergman wrote:
I have Herman's spamassassin matcher running also added added a
repository table in mysql for spambox.. I kept notes (pretty rough),
but if anyone would like them let me know.
Would you mind adding them to the Wiki?
--- Noel
jefetech ha scritto:
>
> I have built a mailet named ProcessEmail, and it's jared up in package
> com.sunscape.james
>
> I place it in /usr/local/james-2.3.1/apps/james/SAR-INF/lib/ but I get this
> error below. I also tried building a new james.sar file with my jar
> including, but get the sa
; at org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)
>> Caused by: org.apache.mailet.MailetException: Could not load mailet
>> (ProcessEmail);
>> nested exception is:
>> java.lang.ClassNotFoundException: Requested mailet not found:
>> Proces
:
> ProcessEmail. looked in [, org.apache.james.transport.mailets.,
> org.apache.james.transport.mailets.smime., com.sunscape.james.]
>
>
> Any ideas?
>
>
> Thank you,
>
> Jeff
>
>
>
>
--
View this message in context:
http://www.nabble.com/Not
jefetech ha scritto:
> this is my ProcessEmail.java:
>
> package com.sunscape.james;
>
> import org.apache.commons.httpclient.HttpClient;
> import org.apache.commons.httpclient.methods.PostMethod;
>
> public class ProcessEmail
> {
You missed the "implements Mailet".
Stefano
--
Hi,
I wrote a very simple mailet that will allow us to integrate james
with Atlassian crowd (a directory server).
Crowd basically contains users and groups. Users have ids and emails.
The mailet fetches the real email addresses of the users or groups.
That way james is used to create automatic e
Hi All
I want to create a jar of my custom mailet to add to my james deployment. I am
trying to do so inside my eclipse IDE (and failing). My questions are
- I created a folder for my source files src/customMailet/java. Approach good
enough?
- in stage folder I created a pom, like so
stage
Hi,
How can i use configured data source in my custom mailet, or these data
sources can't be used?
Thanks,
Hi,
I am trying to deploy a custom mailet and a custom matcher on my running
James server.
When adding my mailet or my matcher in the mailetcontainer.xml file, I
have a strange error ( repeted thousand of times ). I added the
stacktrace as an attachement for readability.
Here is how my code
On Feb 6, 2008 11:47 AM, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wrote a very simple mailet that will allow us to integrate james
> with Atlassian crowd (a directory server).
>
> Crowd basically contains users and groups. Users have ids and emails.
>
> The mailet fetches the real emai
also lucid. and an folk also wrote a tutorial which has
example.
regards
ranjib
On Tue, Jul 27, 2010 at 8:37 PM, Shahid Faiz wrote:
> Hi,
>
> How can i use configured data source in my custom mailet, or these data
> sources can't be used?
>
> Thanks,
>
an folk also wrote a tutorial which has
> example.
> regards
> ranjib
> On Tue, Jul 27, 2010 at 8:37 PM, Shahid Faiz
> wrote:
>
> > Hi,
> >
> > How can i use configured data source in my custom mailet, or these data
> > sources can't be used?
> >
> > Thanks,
> >
>
Did you put the jar with your custom matcher in the proper directory?? e.g.
with 3.0.0-beta3 you have to put it in [JAMES_HOME]/conf/lib
kr
Markus
> Am 09.01.2015 um 15:10 schrieb Benoit Tellier :
>
> Hi,
>
> I am trying to deploy a custom mailet and a custom matcher on my
per directory?? e.g.
> with 3.0.0-beta3 you have to put it in [JAMES_HOME]/conf/lib
>
> kr
> Markus
>
>
>
>> Am 09.01.2015 um 15:10 schrieb Benoit Tellier :
>>
>> Hi,
>>
>> I am trying to deploy a custom mailet and a custom matcher on my running
>>
ectory?? e.g.
>> with 3.0.0-beta3 you have to put it in [JAMES_HOME]/conf/lib
>>
>> kr
>> Markus
>>
>>
>>
>>> Am 09.01.2015 um 15:10 schrieb Benoit Tellier :
>>>
>>> Hi,
>>>
>>> I am trying to deploy a custo
Hi Benoit,
did you add your jar to the classpath in wrapper.conf like
wrapper.java.classpath.128=/opt/james/conf/lib/localbounce.jar
Regards, Kurt
--
KHTronik - Kurt Harders
Elektronik, Softwareentwicklung, Opensource-Beratung
Leimbacher Str. 36
42281 Wuppertal
T +49 202 2 50 11 64
F +49
Hi,
The problem was with some depandancies for this mailet : as I had no
meaningful logs, I was unable to locate the failing dependencies.
As a temporary warkaround, I compiled my mailet with jar-with-dependency
using maven.
And I had to add it by hand to the classpath the way you describe it. (
Hi All,
i am facing the weird problem. I tried to google the issue but could not
find resolution. Here is the issue.I have integrated the james with my
custom mailet and web application code.I had put my jar under
james/apps/james/SAR-INF/lib subdirectory and my spring beans under
james/apps
:
Hi All,
i am facing the weird problem. I tried to google the issue but could not
find resolution. Here is the issue.I have integrated the james with my
custom mailet and web application code.I had put my jar under
james/apps/james/SAR-INF/lib subdirectory and my spring beans under
james/apps
the weird problem. I tried to google the issue but could not
>> find resolution. Here is the issue.I have integrated the james with my
>> custom mailet and web application code.I had put my jar under
>> james/apps/james/SAR-INF/lib subdirectory and my spring beans under
>> james
Hi All,
i am facing the weird problem. I tried to google the issue but could not
find resolution. Here is the issue.I have integrated the james with my
custom mailet and web application code.I had put my jar under
james/apps/james/SAR-INF/lib subdirectory and my spring beans under
james/apps/jam
t;>
>>> Check how fip loads its spring-beans.xml (via classpath, via file path?)
>>> and add the needed spring-beans.xml where it is expected to be.
>>>
>>> Thx, Eric
>>>
>>>
>>>
>>> On 06/24/2012 10:46 AM, mohit gupta wr
d the needed spring-beans.xml where it is expected to be.
Thx, Eric
On 06/24/2012 10:46 AM, mohit gupta wrote:
Hi All,
i am facing the weird problem. I tried to google the issue but could not
find resolution. Here is the issue.I have integrated the james with my
custom mailet and web applicat
73 matches
Mail list logo