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
Has anyone deployed a Network Associates antivirus mailet?
http://www.mailet.org/directory.html was a starting point, but it is not
loading when I startup James. The configuration doesn't work: My
alteration is currently:
virus
And I get a whole bunch of errors...starting
Hi all ..
Here comes a newbie question...
Can anyone write a simple mailet code sample ? I've searched on the net for a sample
code of mailet but I couldn't find anything. I want a very simple example... how it
works ? How should
I configure config.xml ?
Let's say I have w
Is the service() method called BEFORE the client disconnects, or
after? I'm wondering this because I'd like to be able to tell the
client that the mail wasn't delivered right then and there... rather
than sending a bounce message. This is for an anti-spam solution.
-
Hi there, I have afew qestions and I hope I'm not asking to many
questions that I should had RTFM to find :-)
anyway regarding antivirus, I read in the archives that I could use the
ClamAntivirus to filter my mail using an antivirus mailet that I could
download at www.mailet.org, ho
Hi all,
I'm using a peace of code from RemoteDelivery in my mailet:
ComponentManager compMgr =
(ComponentManager)getMailetContext().getAttribute(Constants.AVALON_COMPONENT_MANAGER);
String outgoingPath = getInitParameter("outgoing");
if (outgo
Title: Mensagem
I wanna develop a
mailet that filters certain attachments for some
recipients!!
Something like
this , suppose recipient [EMAIL PROTECTED] can receive .txt and
.doc attachments , and [EMAIL PROTECTED]
can receive .doc and .xls attachments
Now if I send a
email to [EMAIL
Hi,
I created couple of new files that will allow me import spam assassin config
files and use them against all incoming mails. I created couple of java files
for this. Now its time for me to add them into james and call them from the
config.xml file.
I followed the directions on the james w
Hi,
If I want to make call a mailet, only when james first starts up, where would
I put my mailet script in the config.xml file?
thanks
jay.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
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
> Hi,
>
> I am trying to add new recipients to the mail in
> my mailet.And when my mailet is executed,the added recipients
> are not recieving the mail.The original recipient has no problem.
>
> p
let me try to help you by asking some questions to make sure I
understand your problems correctly.
I am using james 2.2.0. and my mailet is a seesion bean client which
i am trying to deploy in jboss.My code looks something like
is it that you embedded James into JBoss?
or are they both
james.
My problem is i am adding some more recipients in the incoming mail in my
mailet programme(which is a session bean client) and trying to deploy my bean
in the jboss.I am unable to send the mail to the added recipients in the mailet.
what can be the problem?I am attaching
Sundeep Gelli wrote:
sorry i forgot to attach the code
indeed. :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am building a mailet that calls some code that prints to stderr. However,
I can't see these messages in the log file.
Where does stderr go?
Regards,
Rupert Young
>From my understanding of logging within JAMES I can see all mailets log to
the same place as configured in the categories section of
conf/environment.xml under James.Mailet.
Is there finer grained control to allow an individual mailet to have it's
own log??
Regards MB
- Mark
>From my understanding of logging within JAMES I can see all mailets log to
the same place as configured in the categories section of
conf/environment.xml under James.Mailet.
Is there finer grained control to allow an individual mailet to have it's
own log??
Regards MB
- Mark
Hi everybody,
Is there an order how the mailet are "executed"? Does James process the
email for the first mailet that "matches" or for all the mailets that
"matches"?
Here is an example.
class="CommandListservProcessor">
...
class="Command
Is there a mailet already written that takes any inbound mail to:
x...@blabla.com and forwards it to x...@zzz.com?
That is it forwards to the same user at a different domain. The use case
is that we use a domain that we send email out in the From address but this
domain has no real email
Can someone confirm how the ToRepository mailet should be functioning in 3.0.1?
I have the following in mailetcontainer.xml
file://var/mail/james
true
The log shows:
DEBUG 22:42:32,395 | james.mailetcontext | Entering mailet: ToRepository Mailet
mail
Hello,
I am currently programming a mailet for the apache james server that is
detecting phishing emails. This mailet also does some internet lookups
which can take a while. Then emails build up in the spool directory
during high traffic situations.
Is there somewhere an option where i could
Hi All,
I've got a couple of questions regarding the Bayesian Analysis Mailet and
process.
I've configured the BayesianAnalysisFeeder for ham and spam as well as the
BayesianAnalysis mailet.
I can feed ham and spam and I see data in the db tables.
The analysis mailet is also workin
I am new user for JAMES 2.3.1. I create my own mailet called EmailMailet, it
does just using log4j to log sender info. I repackage the james.sar and restart
the server. Here is the EmailMailet config.xml
org.apache.james.transport.mailets
Just curious if there is an example using mailet for JMS (ActiveMQ or whatever)
input. Maybe, it was already talked in the old threads but can anybody provide
any useful information or example?
I must be missing something
In theWriting a custom Mailet section it has:
1c. Place a jar file containing the custom class files in
/path/to/james/conf/lib/ subdirectory.
2. After this is done get sure you add the mailet package to the
mailetcontainer.xml. For example
How do you invoke a mailet?
If I invoke the FromRepository mailet, what are the options for the
processor attribute?
Will re-spooling mail, invoke the other matchers/mailers that are in place?
thanks - just trying to understand options for auto-processing mail that has
already been delivered
Can I assume that in a mailet lifecycle, service() and destroy() are
mutually exclusive?
In other words, that destroy() will never be called while service() is
being run, and if I'm in destroy() or afterwards, service won't
> 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
> org.apache.mailet.MailetException: Could not load matcher (IsInfected);
> nested exception is:
> java.lang.ClassNotFoundException: Requested matcher not found:
> IsInfected. looked in [, org.apache.james.transport.matchers.]
http://nagoya.apache.org/wiki/apachewiki.cgi?James/CustomMailet
Does anyone know of a mailet that would allow me to use wildcard e-mail
addresses? That is, I'd like to have trin-@domain.com go to the
'trin' mailbox. I imagine something like that would be easy to build, but
before I reinvent the wheel, I hoped someone else might have such a ma
> Can anyone write a simple mailet code sample ?
There are plenty of them in magazine articles, as well as the James source.
> Let's say I have written a mailet named "distribute.class"
Use class="distribute" in
iling-list. When you go to
NY, you subscribe to the mailing list the NY mail address. If the
forward should be permanent, I will use the Froward mailet.
So is there a way to modify the behavior of a Forward mailet on a mail
driven way like ListServManager mailet ?
Thanks for your suggestions,
Brian C. Dilley wrote:
Is the service() method called BEFORE the client disconnects, or
after? I'm wondering this because I'd like to be able to tell the
client that the mail wasn't delivered right then and there... rather
than sending a bounce message. This is for an anti-spam solution.
Cool, thanks. Are there any mail application servers out there that
have this "feature". I know JBoss is doing something with mail app
servers.
On Sat, 2003-11-22 at 20:01, Serge Knystautas wrote:
> Brian C. Dilley wrote:
> > Is the service() method called BEFORE the client disconnects, or
>
Brian C. Dilley wrote:
Cool, thanks. Are there any mail application servers out there that
have this "feature". I know JBoss is doing something with mail app
servers.
Not that I'm aware of (not sure of any "mail application" servers,
though procmail and some others can give you something similar
Any ETA on fast fail? I just looked at SMTPHandler.java and saw that
it wouldn't be too difficult as far as that goes, but the SpoolManager
is another thing (Synchronized decisions wouldn't require a spool).
On Sat, 2003-11-22 at 20:38, Serge Knystautas wrote:
> Brian C. Dilley wrote:
> >
Brian C. Dilley wrote:
Any ETA on fast fail? I just looked at SMTPHandler.java and saw that
it wouldn't be too difficult as far as that goes, but the SpoolManager
is another thing (Synchronized decisions wouldn't require a spool).
Not really. We were just discussing how to scr
ust looked at SMTPHandler.java and saw that
> > it wouldn't be too difficult as far as that goes, but the SpoolManager
> > is another thing (Synchronized decisions wouldn't require a spool).
>
> Not really. We were just discussing how to script mailet configuration
>
Hi
I have a problem where when I have a bug in a mailet, creates an error in
the spool. What appears to happen is the message will then reenter the
spool at the root with some kind of "error" tagging, which is then
processed again by the mailet which errors again and so on, eventuall
Hi,
i would like some help regarding some virus scanner- mailet/processor pair that can
be used for JAMES.I have little programming experience and would like to know if some
thing like this exists (like qmailscanner for qmail) so that some amount of virus
scanning can be done without the help
004 23.58
> To: [EMAIL PROTECTED]
> Subject: antivirus mailet..
>
>
>
> Hi there, I have afew qestions and I hope I'm not asking to many
> questions that I should had RTFM to find :-)
>
> anyway regarding antivirus, I read in the archives that I could use the
&
ny
questions that I should had RTFM to find :-)
anyway regarding antivirus, I read in the archives that I could use the
ClamAntivirus to filter my mail using an antivirus mailet that I could
download at www.mailet.org, however reading somemore suggest that
mailet.org is not up and running, and s
Christian
We are testing CLAMAV to replace our mailet that uses Mcaffe
I have developed some code to read emails and test against CLAMAV
using their deamon version that is very fast. If you want I can
send you the code I think it would be very ease to create a mailet
with that code. The problem
Has anybody got a mailet that filters through Norton AV? I'm already
paying for a Norton subscription to the latest virus defs. I would
really like to simply pass all mail through Norton to check for viruses.
Thanks.
Jerry
-Original Message-
From: Cesar Bonadio [mailto:[
Cesar Bonadio wrote:
Christian
We are testing CLAMAV to replace our mailet that uses Mcaffe
I have developed some code to read emails and test against CLAMAV
using their deamon version that is very fast. If you want I can
send you the code I think it would be very ease to create a mailet
with
one short thing, do you use the clam antivirus or some other...
if you run it wiht clam,care to share your settings? :-)
/Christian
Vincenzo Gianferrari Pini wrote:
www.mailet.org was simply pointing to http://portale.praxis.it/pub/james/, that is still there. I use the antivirus since a long time
; To: 'James Users List'
> Subject: RE: antivirus mailet..
>
>
> Has anybody got a mailet that filters through Norton AV? I'm already
> paying for a Norton subscription to the latest virus defs. I would
> really like to simply pass all mail through Norton to
Cesar,
could you send it also to me?
Thanks,
Vincenzo
> -Original Message-
> From: Christian Andersson [mailto:[EMAIL PROTECTED]
> Sent: giovedi 22 gennaio 2004 16.24
> To: James Users List
> Subject: Re: antivirus mailet..
>
>
>
>
> Cesar Bonadio wro
gt; Subject: Re: antivirus mailet..
>
>
> one short thing, do you use the clam antivirus or some other...
> if you run it wiht clam,care to share your settings? :-)
>
> /Christian
>
> Vincenzo Gianferrari Pini wrote:
> > www.mailet.org was simply pointing to http://por
)
CheckForVirusConfig.java Helper class for virus
CheckForVirus.java Class that check for virus
mailetExample.java the mailet that calls the other programs
This program will NOT COMPILE I have removed all
the code that is not part of AV or Anti
Casar,
Nothing was attached. Please place the files in a ZIP, JAR or TAR when you
upload it. Also, please indicate clearly if this is code that you intend to
contribute to the James project.
--- Noel
-
To unsubscribe,
-
From: Christian Andersson [mailto:[EMAIL PROTECTED]
Sent: mercoledi 21 gennaio 2004 23.58
To: [EMAIL PROTECTED]
Subject: antivirus mailet..
Hi there, I have afew qestions and I hope I'm not asking to many
questions that I should had RTFM to find :-)
anyway regarding antivirus, I read i
agains spamassasin
SPAMD
CheckForSpamDCC.java Class that check spam against DCC server (we
run a local DCC server )
CheckForVirusConfig.java Helper class for virus
CheckForVirus.java Class that check for virus
mailetExample.java the mailet that calls the other programs
heck spam agains spamassasin
> SPAMD
> CheckForSpamDCC.java Class that check spam against DCC server (we
> run a local DCC server )
>
> CheckForVirusConfig.java Helper class for virus
> CheckForVirus.java Class that check for virus
>
> mailetExample.java the mailet
I'm using avgate from antivir. it works very well w/ james, it's fast
and is free for non commercial use.
It works as a MTA so it receive all smtp traffic and forward it to
james' back port, in my case smtp changed to smtp+8000
later,
Manuel S
-
Hi,
I want to use James, but need to keep Mailman in place (www.list.org,
Python mailing list manager). Looks like I need to write a Mailet that
will pass messages to the Mailman wrapper, replacing what, for example,
Postfix does in /etc/postfix/aliases:
mylist:"|/var/mailman
1) You can safely ignore the deprecated warning.
2) The cornerstone packages are in cornerstone.jar
--Søren
On Wednesday 24 March 2004 12:35, Angel Angelov wrote:
> Hi all,
> I'm using a peace of code from RemoteDelivery in my mailet:
>
> ComponentManager compMgr =
&g
Hi,
We are doing a project on "SpamControl at the MTA Level". We are
implementing the algorithm in James 2.1.3. We've written a mailet to
detect mail sent to a special id ([EMAIL PROTECTED]). This is a
feedback information from the users subscribed with the MTA. The matche
period is
not expired, there is no return from the function transport.sendMessage()
while trying to deliver a mail. In James 2.0.a3, there was an exception
thrown by this function which we were able to catch & handle. Kindly send
us what we shall do to make RemoteDelivery mailet
Is there a mailet available that will remove all attachments from a
mail message?
Jerry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Title: Mensagem
I got an
exception using JDBCVirtualUserTable mailet with HSQL
There
seems to be a problem with the query below
"select VirtualUserTable.target_address from VirtualUserTable,
VirtualUserTable as VUTDomains where (VirtualUserTable.user like ? or
VirtualUserTable
guess this is how it should
be done isn't it?
Diogo
-Mensagem original-De: Steve Short
[mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 7 de maio de
2004 20:15Para: James Users ListAssunto: RE: Mailet
Question !!
Have
a look at the service() met
Please do not post HTML e-mail to the list.
> Actually (correct me if i'm wrong) this method does not duplicate
> the message, it uses the same Mail object setting different name
> and recipients.
And that does effectively duplicate the message within the spool.
mail.setRecipients(rec);
mail
nda-feira, 10 de maio de 2004 14:49
> Para: James Users List
> Assunto: RE: Mailet Question !!
>
>
> Please do not post HTML e-mail to the list.
>
> > Actually (correct me if i'm wrong) this method does not
> duplicate the
> > message, it uses
code. I would
consider having a mailet that strips attachments, and then using the
pipeline to implement the logic (and duplication).
--- Noel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
OK I made a mailet that duplicates the message and removes the unwanted
attachments !!!
How do I store this duplicated instance in spool ( spool.store() ) , I
mean ... How do I get a reference to SpoolRepository from mailet
context???
> -Mensagem original-
> De: Noel J. Bergman [
To: 'James Users List'
> Subject: RES: Mailet Question !!
>
>
> OK I made a mailet that duplicates the message and removes
> the unwanted attachments !!! How do I store this duplicated
> instance in spool ( spool.store() ) , I mean ... How do
> How do I store this duplicated instance in spool
See the AbstractRedirect code for an example.
--- Noel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Title: Message
Have a
look at the service() method of the RemoteDelivery mailet as this splits a
message into multiple messages depening on target mail server name. Then
you just have to deliver or 'root' (route!) the message according to your
rules.
Steve
-Origin
jaysheel bhavsar wrote:
Hi,
If I want to make call a mailet, only when james first starts up, where would
I put my mailet script in the config.xml file?
thanks
jay.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Is anybody build the web-interface for james,if yes then pls send it on
group.
sumit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>If I want to make call a mailet, only when james first starts
up, where would
> I put my mailet script in the config.xml file?
It is not clear what you want to do, but...
If you want a method to only be called when James starts the spool manager
(might not always only
call this class.
thanks
jay.
On Tuesday 08 June 2004 17:57, Brian J. Sayatovic wrote:
> jaysheel bhavsar wrote:
> >Hi,
> > If I want to make call a mailet, only when james first starts up, where
> > would I put my mailet script in the config.xml file?
> >
> &
call this class.
thanks
jay.
On Tuesday 08 June 2004 17:57, Brian J. Sayatovic wrote:
> jaysheel bhavsar wrote:
> >Hi,
> > If I want to make call a mailet, only when james first starts up, where
> > would I put my mailet script in the config.xml file?
> >
> &
l clear why you think that what you have done should have
the effect you want.
The Mailet API makes no provision for Objects to be instantiated once only
on start up.
You should write a mailet and put any start-up code in the init() method.
Use a static variable or singleton to ensure that your code
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,
I've got my mailet deploying correctly but I have a question that I can't seem
to answer. Is there a way to get a handle on the users repository from inside
a Mailet that extends GenericMailet? Specifically, I'd like to get the
forwardDestination of a specific use
Theory of spam prevention and fast-fail aside, I was thinking about
adding a mailet to James that would look for DOS attempts, for example...
I keep messages that go to domains we handle, but do not match a local
account, for 3 days. Querying mysql to count the number of recipients
by remote
I'm trying to extend Bounce mailet to send a
dynamically created message, instead of the one
specified in tag. I donot see any method
in Bounce class which allows me to do that. I'm able
to
get it working using the following statement.
getMailetContext().bounce(mail, "Invalid
Where can I get the Mailet API described by the Javadocs at
http://james.apache.org/mailet/ ?
I'm trying to use the MailRepository interface in a mailet, but it doesn't
look like the 2.2.0 jars include org.apache.mailet.MailRepository support.
Am I missing something?
Thanks,
Ryan Cal
http://10.10.1.18:8080/nexus
/gemini/event?customerName=
[EMAIL PROTECTED]
The Casero XML tag has nested XML entities.
But I can a runtime exception , when I attempt the above.
Is there anyway, I can get more expressive with my configuration in
JAMES.
Hello
I am trying to use the logkit library to log custmized logging from a
mailet. Any idea on how to do so?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to the console I think
On 25/11/05, Rupert Young (Restart) <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I am building a mailet that calls some code that prints to stderr. However,
> I can't see these messages in the log file.
>
>
>
> Where does stderr
Thanks. Though what do you mean by the console?
Regards,
Rupert
> -Original Message-
> From: Danny Angus [mailto:[EMAIL PROTECTED]
> Sent: 28 November 2005 12:25
> To: James Users List; [EMAIL PROTECTED]
> Subject: Re: Mailet stderr
>
> to the console I think
>
For my setup, the console would be $JAMES_HOME/temp/phoenix.console
> -Original Message-
> From: Rupert Young (Restart) [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 6:32 AM
> To: [EMAIL PROTECTED]; 'James Users List'
> Subject: RE: Mailet stderr
&g
The Bounce mailet extends AbstractNotify which extends
AbstractRedirect that carries most of the
functionality.
The setSubjectPrefix() method is implemented in
AbstractRedirect that observes the incoming subject's
charset. AbstractNotify in turns reimplements
setSubjectPrefix() without obse
The Bounce mailet extends AbstractNotify which extends
AbstractRedirect that carries most of the
functionality.
The setSubjectPrefix() method is implemented in
AbstractRedirect that observes the incoming subject's
charset. AbstractNotify in turns reimplements
setSubjectPrefix() without obse
> Is there finer grained control to allow an individual mailet to have it's
> own log??
>
> Regards MB
> - Mark Brennand
> - ACTiVEiNGREDiENT -
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PR
Here's a situation:
I'm planning on using the "Forward" mailet to create protected
distribution/redirection lists. For example, and email sent to "[EMAIL
PROTECTED]" would be sent to myself and another user.
Creating the mailet is simple enough:
&
Hi Guys,
I would like to modify the environment.xml file so that mailet ERROR's are
mailed to me via SMTP.
I have not seen any examples of this, and i know you can convert to the
log4j setup. But i would rather not do this.
Any ideas?
Thanks
Mi
I am writing a custom mailet and can't figure out why my init params aren't
showing up. I am compiling source and my config files and jars are showing
up in james.sar. I have searched this list and Google with no luck. The
mailet is being called and processing like I would expect.
H
It is a pipeline.
If the matcher matches the corresponding mailet is executed.
The flow depends on what the Mailet does: the mailet could consume the
mail (set state to GHOST), or it could move the mail to another
processor (set state to the processor name), or it could let the mail to
pass
is
it the documentation wrong, or did I somehow added some 2.3 functionality to
2.3?
- Original Message -
From: "Stefano Bagnara" <[EMAIL PROTECTED]>
To: "James Users List"
Sent: Sunday, October 29, 2006 11:26 AM
Subject: Re: Mailet order
It is a p
nt to the main mailing
list, but is responsible for
individual commands sent by users, such as: info, subscribe, etc...
Requests sent to the CommandListservManager take the form of:
-@domain
If the command isn't recognized an error will be sent using onError.
The configuration for
Giulio Troccoli wrote:
Thanks Stefano.
However, the documentation hasn't got anything about
CommandListservProcessor, which is the one I'm interested in.
Maybe you can find further informations in our javadocs:
http://james.apache.org/server/2.3.0/apidocs/org/apache/james/transport/mailets/pa
: "James Users List"
Sent: Sunday, October 29, 2006 12:03 PM
Subject: Re: Mailet order
Giulio Troccoli wrote:
Thanks Stefano.
However, the documentation hasn't got anything about
CommandListservProcessor, which is the one I'm interested in.
Maybe you can find further informa
Hi,
You have to svn co
https://svn.apache.org/repos/asf/james/mailet/standard/trunk/
and then import that maven project into your eclipse workspace. The
ClamAVScan will be there.
(PS: instead of beta1, you can use the more recent beta4).
Thx, Eric
On 07/21/2012 04:37 PM, Merve Temizer
mailto:e...@apache.org>>
Hi,
You have to svn co
https://svn.apache.org/repos/__asf/james/mailet/standard/__trunk/
<https://svn.apache.org/repos/asf/james/mailet/standard/trunk/>
and then import that maven project into your eclipse workspace. The
ClamAVScan w
Hi Guys,
When mailets are loaded are they registered as beans within the spring
container?
I intend to use AOP on methods within a mailet however if it is not registered
as a spring bean I will need to use load time weaving which I want to avoid if
possible.
Kind regards,
Johnny Minty
Hi,
I am using James 3 beta.4 and trying to create a custom mailet which
does nothing (nothing in service method). After creating a jar I copied
it to jamesPath/conf/lib. Also added mailet definition into the root
processor before any toProcessor calls. Now, when I restart james,
should not
1 - 100 of 850 matches
Mail list logo