You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Serge Knystautas <se...@lokitech.com> on 2001/11/01 06:07:06 UTC
Re: Mailet class not found
Fred,
For now you have to put your classes in the james.bar (the same format as a zip or jar). We're still trying to resolve class loader issues that would make this more convenient.
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: Fred Malouf
To: james-user@jakarta.apache.org
Sent: Thursday, October 25, 2001 5:36 PM
Subject: Mailet class not found
I am using the latest source from CVS from which I built the distrubution. I have a very simple mailet class which I put in my own package/.jar file. I put my jar file in the apps/james/lib directory. I modifed the config.xml file to use my package and use the mailet.
I am getting two "Could not load mailet" messages in the spoolmanager.log file.
I suspect my jar file is not getting loaded.
How do I get james to load my jar file?
-Fred Malouf
------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: redirect all incoming and outgoing mail to a single account
Posted by Jorge de Lucas y Cadenas <jd...@ctv.es>.
Hi,
Now I see that for what I intend to do
it is much better to
store all the outgoing and incoming
messages in a repository, somethink
like:
<processor name="transport">
<mailet match="All" class="ToRepository">
<repositoryPath> file://var/mail/logAdmin</repositoryPath>
<passThrough> true </passThrough>
</mailet>
<mailet match="RecipientIsLocal" class="LocalDelivery">
</mailet>
Etc.
Jorge
Jorge de Lucas y Cadenas wrote:
> Hello,
>
> I am using the latest build of James.
>
> I am trying to setup a very simple rule:
> Every incoming or outgoing mail should
> be redirected to a central mail account,
> which will keep a copy of every mail thus
> sent or received.
>
> I have been trying several possibilities
> with the Forward and Redirect mailets,
> but with no success up to now.
>
> Whenever I use the following sample of the
> Redirect mailet, the server goes into
> an endless loop:
>
> <mailet match="All" class="Redirect"><recipients>x@localhost</recipients>
> <sender>postmaster</sender>
> <message>Message marked as spam:
> </message>
> <inline>heads</inline>
> <attachment>message</attachment>
> <passThrough>FALSE</passThrough>
> <attachError>TRUE</attachError>
> <replyto>postmaster</replyto>
> <prefix>[spam notification]</prefix>
> <static>TRUE</static>
> <passThrough>FALSE</passThrough>
> </mailet>
>
> I used the above configuration
> alternatively both
> inside the root processor and inside the
> transport processor.
>
> Shall I create another processor???
> My intention is to use something like:
>
> <mailet match="All" class="Redirect">
> <recipients> control@localhost </recipients>
> <sender> sender </sender>
> <replyto> sender </replyto>
> <inline> unaltered </inline>
> </mailet>
>
> but up to now, I have not been able to
> get all the mail redirected to the
> "control" account.
>
> I would be grateful for any help.
>
> TIA
>
> Jorge
>
>
>
--
Jorge de Lucas y Cadenas <jd...@attglobal.net>
FreeBSD 4.4-STABLE
PGP Key Fingerprint20 = A21E AD4D C928 50F4 6F33 0D40 2AFD CFC3 5C57 AC03
Diffie-Hellman:
PGP Key Fingerprint20 = 4A7C 54BE 8264 428C 026F 784F 4FE6 3403 C4B1 55AA
GPG Key fingerprint = 65FE 47C3 8C5A 3045 6818 F6B3 111F D35D 33CD 66BB
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
redirect all incoming and outgoing mail to a single account
Posted by Jorge de Lucas y Cadenas <jd...@ctv.es>.
Hello,
I am using the latest build of James.
I am trying to setup a very simple rule:
Every incoming or outgoing mail should
be redirected to a central mail account,
which will keep a copy of every mail thus
sent or received.
I have been trying several possibilities
with the Forward and Redirect mailets,
but with no success up to now.
Whenever I use the following sample of the
Redirect mailet, the server goes into
an endless loop:
<mailet match="All" class="Redirect"><recipients>x@localhost</recipients>
<sender>postmaster</sender>
<message>Message marked as spam:
</message>
<inline>heads</inline>
<attachment>message</attachment>
<passThrough>FALSE</passThrough>
<attachError>TRUE</attachError>
<replyto>postmaster</replyto>
<prefix>[spam notification]</prefix>
<static>TRUE</static>
<passThrough>FALSE</passThrough>
</mailet>
I used the above configuration
alternatively both
inside the root processor and inside the
transport processor.
Shall I create another processor???
My intention is to use something like:
<mailet match="All" class="Redirect">
<recipients> control@localhost </recipients>
<sender> sender </sender>
<replyto> sender </replyto>
<inline> unaltered </inline>
</mailet>
but up to now, I have not been able to
get all the mail redirected to the
"control" account.
I would be grateful for any help.
TIA
Jorge
--
Jorge de Lucas y Cadenas <jd...@attglobal.net>
FreeBSD 4.4-STABLE
PGP Key Fingerprint20 = A21E AD4D C928 50F4 6F33 0D40 2AFD CFC3 5C57 AC03
Diffie-Hellman:
PGP Key Fingerprint20 = 4A7C 54BE 8264 428C 026F 784F 4FE6 3403 C4B1 55AA
GPG Key fingerprint = 65FE 47C3 8C5A 3045 6818 F6B3 111F D35D 33CD 66BB
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>