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 Aclian Aclian <ac...@hotmail.de> on 2011/05/03 23:05:44 UTC

How to Install Mailet?

Hello together,

I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.

1. Download
2. Install it?
3. Configure in config.xml?

I am using Ubuntu 10.04 Server.

Thx for your answer!

Regrads Aclian
 		 	   		  

RE: How to Install Mailet?

Posted by Aclian Aclian <ac...@hotmail.de>.
Reminder!

pls need HELP!

From: aclian@hotmail.de
To: server-user@james.apache.org
Subject: RE: How to Install Mailet?
Date: Fri, 6 May 2011 09:40:23 +0200








Thank you nroman! you are the best!

another and last question :)

how could I separate the Emails? In to Inbound & Outbound


somthing like this? is it possible?

<mailet match="inbound" class="ToRepository">
<repositoryPath>file://var/mail/backup/inbound</repositoryPath>
<passThrough> true </passThrough>
</mailet>

<mailet match="outbound" class="ToRepository">

<repositoryPath>file://var/mail/backup/outbound</repositoryPath>

<passThrough> true </passThrough>
</mailet>

Bye,

Aclian


</mailet>

> Date: Thu, 5 May 2011 21:43:48 +0200
> Subject: Re: How to Install Mailet?
> From: norman.maurer@googlemail.com
> To: server-user@james.apache.org
> 
> yes it is..
> 
> You can use:
> 
> <mailet match="All" class="ToRepository">
>   <repositoryPath> file://var/mail/backup/</repositoryPath>
>   <passThrough> true </passThrough>
> </mailet>
> 
> 
> Bye,
> Norman
> 
> 2011/5/5 Aclian Aclian <ac...@hotmail.de>:
> >
> > Hello ,
> >
> > thank you, I did it.
> >
> > another question?
> >
> > How can you do of every message duplicate, somthing like this?
> >
> >
> >
> >
> >
> >
> > <mailet match="All" class="ToRepository">
> >
> >            <repositoryPath> file://var/mail/backup/</repositoryPath>
> >
> >
> >
> >
> >
> >
> > </mailet>
> >
> >
> > Every message that goes in or out should go to user mailbox (in mailbox only incoming emails) and backup folder.
> > Is somthing like this possible?
> >
> > And sorry for my english?
> >
> > Regreads Aclian
> >
> >
> >
> >> Date: Wed, 4 May 2011 20:58:51 +0200
> >> Subject: Re: How to Install Mailet?
> >> From: norman.maurer@googlemail.com
> >> To: server-user@james.apache.org
> >>
> >> If you use james 2.3.2 its included in the distribution. Just add the
> >> AddFooter mailet to your config..
> >>
> >> Bye,
> >> Norman
> >>
> >>
> >> 2011/5/3 Aclian Aclian <ac...@hotmail.de>:
> >> >
> >> > Hello together,
> >> >
> >> > I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
> >> > For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.
> >> >
> >> > 1. Download
> >> > 2. Install it?
> >> > 3. Configure in config.xml?
> >> >
> >> > I am using Ubuntu 10.04 Server.
> >> >
> >> > Thx for your answer!
> >> >
> >> > Regrads Aclian
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> >> For additional commands, e-mail: server-user-help@james.apache.org
> >>
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
 		 	   		  

Re: How to Install Mailet?

Posted by Daniele Lozzi <dl...@babel.it>.
in match attribute you must insert a class that extend GenericMatcher 
class, so, probably, a class is capitalized. So you must to write a 
Matcher that can recognize if a mail is inbound or not and than you fill 
your matcher in match attribute..

example:

<mailet match="IsInbound" class="ToRepository">
<repositoryPath>file://var/mail/backup/inbound</repositoryPath>
<passThrough>  true</passThrough>
</mailet>


<mailet match="IsOutbound" class="ToRepository">
<repositoryPath>file://var/mail/backup/outbound</repositoryPath>
<passThrough>  true</passThrough>
</mailet>


finally remember to import in ypur config the package of your custom Matcher

...

<matcherpackages>

       <matcherpackage>org.apache.james.transport.matchers</matcherpackage>

       <matcherpackage>org.apache.james.transport.matchers.smime</matcherpackage>

       <matcherpackage>your.custom.matcherpackage</matcherpackage>         

    </matcherpackages>

...

enjoy

Il 06/05/2011 09:40, Aclian Aclian ha scritto:
> Thank you nroman! you are the best!
>
> another and last question :)
>
> how could I separate the Emails? In to Inbound&  Outbound
>
>
> somthing like this? is it possible?
>
> <mailet match="inbound" class="ToRepository">
> <repositoryPath>file://var/mail/backup/inbound</repositoryPath>
> <passThrough>  true</passThrough>
> </mailet>
> <mailet match="outbound" class="ToRepository">
>
> <repositoryPath>file://var/mail/backup/outbound</repositoryPath>
>
> <passThrough>  true</passThrough>
> </mailet>
>
> Bye,
>
> Aclian
>
>
> </mailet>
>
>> Date: Thu, 5 May 2011 21:43:48 +0200
>> Subject: Re: How to Install Mailet?
>> From: norman.maurer@googlemail.com
>> To: server-user@james.apache.org
>>
>> yes it is..
>>
>> You can use:
>>
>> <mailet match="All" class="ToRepository">
>>    <repositoryPath>  file://var/mail/backup/</repositoryPath>
>>    <passThrough>  true</passThrough>
>> </mailet>
>>
>>
>> Bye,
>> Norman
>>
>> 2011/5/5 Aclian Aclian<ac...@hotmail.de>:
>>> Hello ,
>>>
>>> thank you, I did it.
>>>
>>> another question?
>>>
>>> How can you do of every message duplicate, somthing like this?
>>>
>>>
>>>
>>>
>>>
>>>
>>> <mailet match="All" class="ToRepository">
>>>
>>>             <repositoryPath>  file://var/mail/backup/</repositoryPath>
>>>
>>>
>>>
>>>
>>>
>>>
>>> </mailet>
>>>
>>>
>>> Every message that goes in or out should go to user mailbox (in mailbox only incoming emails) and backup folder.
>>> Is somthing like this possible?
>>>
>>> And sorry for my english?
>>>
>>> Regreads Aclian
>>>
>>>
>>>
>>>> Date: Wed, 4 May 2011 20:58:51 +0200
>>>> Subject: Re: How to Install Mailet?
>>>> From: norman.maurer@googlemail.com
>>>> To: server-user@james.apache.org
>>>>
>>>> If you use james 2.3.2 its included in the distribution. Just add the
>>>> AddFooter mailet to your config..
>>>>
>>>> Bye,
>>>> Norman
>>>>
>>>>
>>>> 2011/5/3 Aclian Aclian<ac...@hotmail.de>:
>>>>> Hello together,
>>>>>
>>>>> I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
>>>>> For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.
>>>>>
>>>>> 1. Download
>>>>> 2. Install it?
>>>>> 3. Configure in config.xml?
>>>>>
>>>>> I am using Ubuntu 10.04 Server.
>>>>>
>>>>> Thx for your answer!
>>>>>
>>>>> Regrads Aclian
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>   		 	   		


-- 

*Daniele Lozzi*
Software Architect
Babel S.r.l. - http://www.babel.it <http://www.babel.it/>
*T:* 06.9826.9600 *F:* 06.9826.9680
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)
------------------------------------------------------------------------
CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di carattere 
confidenziale per i destinatari in indirizzo.
E' vietato l'inoltro non autorizzato a destinatari diversi da quelli 
indicati nel messaggio originale.
Se ricevuto per errore, l'uso del contenuto e' proibito; si prega di 
comunicarlo al mittente e cancellarlo immediatamente.

RE: How to Install Mailet?

Posted by Aclian Aclian <ac...@hotmail.de>.
Thank you nroman! you are the best!

another and last question :)

how could I separate the Emails? In to Inbound & Outbound


somthing like this? is it possible?

<mailet match="inbound" class="ToRepository">
<repositoryPath>file://var/mail/backup/inbound</repositoryPath>
<passThrough> true </passThrough>
</mailet>

<mailet match="outbound" class="ToRepository">

<repositoryPath>file://var/mail/backup/outbound</repositoryPath>

<passThrough> true </passThrough>
</mailet>

Bye,

Aclian


</mailet>

> Date: Thu, 5 May 2011 21:43:48 +0200
> Subject: Re: How to Install Mailet?
> From: norman.maurer@googlemail.com
> To: server-user@james.apache.org
> 
> yes it is..
> 
> You can use:
> 
> <mailet match="All" class="ToRepository">
>   <repositoryPath> file://var/mail/backup/</repositoryPath>
>   <passThrough> true </passThrough>
> </mailet>
> 
> 
> Bye,
> Norman
> 
> 2011/5/5 Aclian Aclian <ac...@hotmail.de>:
> >
> > Hello ,
> >
> > thank you, I did it.
> >
> > another question?
> >
> > How can you do of every message duplicate, somthing like this?
> >
> >
> >
> >
> >
> >
> > <mailet match="All" class="ToRepository">
> >
> >            <repositoryPath> file://var/mail/backup/</repositoryPath>
> >
> >
> >
> >
> >
> >
> > </mailet>
> >
> >
> > Every message that goes in or out should go to user mailbox (in mailbox only incoming emails) and backup folder.
> > Is somthing like this possible?
> >
> > And sorry for my english?
> >
> > Regreads Aclian
> >
> >
> >
> >> Date: Wed, 4 May 2011 20:58:51 +0200
> >> Subject: Re: How to Install Mailet?
> >> From: norman.maurer@googlemail.com
> >> To: server-user@james.apache.org
> >>
> >> If you use james 2.3.2 its included in the distribution. Just add the
> >> AddFooter mailet to your config..
> >>
> >> Bye,
> >> Norman
> >>
> >>
> >> 2011/5/3 Aclian Aclian <ac...@hotmail.de>:
> >> >
> >> > Hello together,
> >> >
> >> > I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
> >> > For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.
> >> >
> >> > 1. Download
> >> > 2. Install it?
> >> > 3. Configure in config.xml?
> >> >
> >> > I am using Ubuntu 10.04 Server.
> >> >
> >> > Thx for your answer!
> >> >
> >> > Regrads Aclian
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> >> For additional commands, e-mail: server-user-help@james.apache.org
> >>
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
 		 	   		  

Re: How to Install Mailet?

Posted by Norman Maurer <no...@googlemail.com>.
yes it is..

You can use:

<mailet match="All" class="ToRepository">
  <repositoryPath> file://var/mail/backup/</repositoryPath>
  <passThrough> true </passThrough>
</mailet>


Bye,
Norman

2011/5/5 Aclian Aclian <ac...@hotmail.de>:
>
> Hello ,
>
> thank you, I did it.
>
> another question?
>
> How can you do of every message duplicate, somthing like this?
>
>
>
>
>
>
> <mailet match="All" class="ToRepository">
>
>            <repositoryPath> file://var/mail/backup/</repositoryPath>
>
>
>
>
>
>
> </mailet>
>
>
> Every message that goes in or out should go to user mailbox (in mailbox only incoming emails) and backup folder.
> Is somthing like this possible?
>
> And sorry for my english?
>
> Regreads Aclian
>
>
>
>> Date: Wed, 4 May 2011 20:58:51 +0200
>> Subject: Re: How to Install Mailet?
>> From: norman.maurer@googlemail.com
>> To: server-user@james.apache.org
>>
>> If you use james 2.3.2 its included in the distribution. Just add the
>> AddFooter mailet to your config..
>>
>> Bye,
>> Norman
>>
>>
>> 2011/5/3 Aclian Aclian <ac...@hotmail.de>:
>> >
>> > Hello together,
>> >
>> > I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
>> > For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.
>> >
>> > 1. Download
>> > 2. Install it?
>> > 3. Configure in config.xml?
>> >
>> > I am using Ubuntu 10.04 Server.
>> >
>> > Thx for your answer!
>> >
>> > Regrads Aclian
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: How to Install Mailet?

Posted by Aclian Aclian <ac...@hotmail.de>.
Hello ,

thank you, I did it.

another question?

How can you do of every message duplicate, somthing like this?



	
		
	
<mailet match="All" class="ToRepository">

            <repositoryPath> file://var/mail/backup/</repositoryPath>
	


	
		
	
</mailet>
	

Every message that goes in or out should go to user mailbox (in mailbox only incoming emails) and backup folder. 
Is somthing like this possible?

And sorry for my english?

Regreads Aclian



> Date: Wed, 4 May 2011 20:58:51 +0200
> Subject: Re: How to Install Mailet?
> From: norman.maurer@googlemail.com
> To: server-user@james.apache.org
> 
> If you use james 2.3.2 its included in the distribution. Just add the
> AddFooter mailet to your config..
> 
> Bye,
> Norman
> 
> 
> 2011/5/3 Aclian Aclian <ac...@hotmail.de>:
> >
> > Hello together,
> >
> > I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
> > For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.
> >
> > 1. Download
> > 2. Install it?
> > 3. Configure in config.xml?
> >
> > I am using Ubuntu 10.04 Server.
> >
> > Thx for your answer!
> >
> > Regrads Aclian
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
 		 	   		  

Re: How to Install Mailet?

Posted by Norman Maurer <no...@googlemail.com>.
If you use james 2.3.2 its included in the distribution. Just add the
AddFooter mailet to your config..

Bye,
Norman


2011/5/3 Aclian Aclian <ac...@hotmail.de>:
>
> Hello together,
>
> I have install James-2.3.2 and it works fine, now I would to configure it. I read it for exaple you can add Footer for evry mail.
> For that I must download apache-mailet-2.4 and than? How can I install that, or what I must do, for example now for add foter.
>
> 1. Download
> 2. Install it?
> 3. Configure in config.xml?
>
> I am using Ubuntu 10.04 Server.
>
> Thx for your answer!
>
> Regrads Aclian
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org