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 Eric Charles <er...@apache.org> on 2012/07/21 17:10:23 UTC

Re: ClamAVScan mailet

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 wrote:
> I downloaded James Server 3 beta 1 from SVN and successfully builded and
> ran it in Eclipse.
>
> There is a project that contains "org.apache.james.transport.mailets"
> package but there is no ClamAVScan mailet in it.
>
> Where am i wrong and what is the elegant way of importing this mailet to my
> workspace?
>
> Should i download it individually and add it to the package,
>
> or should i download standard mailets project and import into Eclipse
> workspace, then will i have to change my root james server pom to see new
> mailets project?
>
> Thanks.
>
> 2012/7/20 Eric Charles <er...@apache.org>
>
>> np, it's in the mailet standard project shipped with James 3
>>
>> https://svn.apache.org/repos/**asf/james/mailet/standard/**
>> trunk/src/main/java/org/**apache/james/transport/**mailets/ClamAVScan.java<https://svn.apache.org/repos/asf/james/mailet/standard/trunk/src/main/java/org/apache/james/transport/mailets/ClamAVScan.java>
>>
>> Thx, Eric
>>
>>
>> On 07/20/2012 03:55 PM, Merve Temizer wrote:
>>
>>> Todays lat question,
>>> where is ClamAVScan.java in 3 beta 1?
>>>
>>> 2012/7/20 Eric Charles <er...@apache.org>
>>>
>>>   Hi,
>>>> SAR-INF is for James 2.3.
>>>> For James 3.0, you have to put your jar in conf/lib folder.
>>>> Thx, Eric
>>>>
>>>>
>>>> On 07/20/2012 02:20 PM, Merve Temizer wrote:
>>>>
>>>>   I am using 3 beta 1. I searched net for writing my own mailet but a
>>>>> SAR-INF
>>>>> folder and a sar file generating process is mentioned but there is no
>>>>> such
>>>>> folder in 3 beta 1.
>>>>> Is there a way to do it in 3 b 1?
>>>>> Thanks for patience.
>>>>>
>>>>> 2012/7/20 Eric Charles <er...@apache.org>
>>>>>
>>>>>    James 2.3 should contain the needed jar with the ClamAVScan mailet.
>>>>>
>>>>>> So nothing special to do, except defining the mailet in config.xml.
>>>>>>
>>>>>> Thx, Eric
>>>>>>
>>>>>>
>>>>>> On 07/20/2012 01:14 PM, Merve Temizer wrote:
>>>>>>
>>>>>>    ClamAVScan is mentioned as default mailets in James on
>>>>>>
>>>>>>> hReturn-Path: <se...@james.apache.org>
> Received: from hermes.apache.org (HELO mail.apache.org) ([140.211.11.3])
>            by srv002 (JAMES SMTP Server ) with SMTP ID 1420611271
>            for <er...@u-mangate.com>;
>            Sat, 21 Jul 2012 04:37:49 +0200 (CEST)
> Received: (qmail 60274 invoked by uid 500); 21 Jul 2012 14:37:46 -0000
> Mailing-List: contact server-dev-help@james.apache.org; run by ezmlm
> Precedence: bulk
> List-Unsubscribe: <ma...@james.apache.org>
> List-Help: <ma...@james.apache.org>
> List-Post: <ma...@james.apache.org>
> List-Id: "James Developers List" <server-dev.james.apache.org>
> Reply-To: "James Developers List" <se...@james.apache.org>
> Delivered-To: mailing list server-dev@james.apache.org
> Delivered-To: eric.charles@u-mangate.com
> Received: (qmail 60236 invoked by uid 99); 21 Jul 2012 14:37:44 -0000
> Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
>      by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 14:37:44 +0000
> X-ASF-Spam-Status: No, hits=1.7 required=5.0
> 	tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS
> X-Spam-Check-By: apache.org
> Received-SPF: pass (athena.apache.org: domain of mervet2009@gmail.com designates 209.85.214.177 as permitted sender)
> Received: from [209.85.214.177] (HELO mail-ob0-f177.google.com) (209.85.214.177)
>      by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 14:37:40 +0000
> Received: by obbta17 with SMTP id ta17so9807528obb.22
>          for <se...@james.apache.org>; Sat, 21 Jul 2012 07:37:19 -0700 (PDT)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>          d=gmail.com; s=20120113;
>          h=mime-version:in-reply-to:references:date:message-id:subject:from:to
>           :content-type;
>          bh=pk9tK7/SXxUmiv00STzExEhZBro3qVrfYZJzILowVSA=;
>          b=HqRGI0O0CA8XpU4sF8UP9vPKx4HWW9SBBgb43ta+iWHJpFw0zUXYbgIaD9ojgaGzdD
>           2QywWkpVXA5SqLLeVFfAnP66E738FgymsBMXxSRUTAlrJyd/KHfwwWZomWxT4g4gB4iP
>           UWa7rUdmJ+BZLmxhLXNgRZAoVRMK7ieoYzY0f9iytAZxQIDc9XAlG7Ug4ljmACIg8Anv
>           9B04AnSSQejUbWHhZmJZF3te8BzwXqrFWAMPEE/SQOUHoU2afjz4PabK/hipG1V8tgRu
>           ww0kYI3KBEMHxkCtG43u7EPdJ8d8blL2O1lxgQc4D28r8dtUgId7IcciWxg2ZNSnSnp3
>           +RJA==
> MIME-Version: 1.0
> Received: by 10.60.22.165 with SMTP id e5mr12183953oef.60.1342881439264; Sat,
>   21 Jul 2012 07:37:19 -0700 (PDT)
> Received: by 10.76.101.37 with HTTP; Sat, 21 Jul 2012 07:37:19 -0700 (PDT)
> In-Reply-To: <50...@apache.org>
> References: <CA...@mail.gmail.com>
> 	<50...@apache.org>
> 	<CA...@mail.gmail.com>
> 	<50...@apache.org>
> 	<CA...@mail.gmail.com>
> 	<50...@apache.org>
> Date: Sat, 21 Jul 2012 17:37:19 +0300
> Message-ID: <CA...@mail.gmail.com>
> Subject: Re: ClamAVScan mailet
> From: Merve Temizer <me...@gmail.com>
> To: James Developers List <se...@james.apache.org>
> Content-Type: multipart/alternative; boundary=e89a8fb1ed3c29afb004c557f3d3
> X-Virus-Checked: Checked by ClamAV on apache.org
>
> --e89a8fb1ed3c29afb004c557f3d3
> Content-Type: text/plain; charset=ISO-8859-1
>
> I downloaded James Server 3 beta 1 from SVN and successfully builded and
> ran it in Eclipse.
>
> There is a project that contains "org.apache.james.transport.mailets"
> package but there is no ClamAVScan mailet in it.
>
> Where am i wrong and what is the elegant way of importing this mailet to my
> workspace?
>
> Should i download it individually and add it to the package,
>
> or should i download standard mailets project and import into Eclipse
> workspace, then will i have to change my root james server pom to see new
> mailets project?
>
> Thanks.
>
> 2012/7/20 Eric Charles <er...@apache.org>
>
>> np, it's in the mailet standard project shipped with James 3
>>
>> https://svn.apache.org/repos/**asf/james/mailet/standard/**
>> trunk/src/main/java/org/**apache/james/transport/**mailets/ClamAVScan.java<https://svn.apache.org/repos/asf/james/mailet/standard/trunk/src/main/java/org/apache/james/transport/mailets/ClamAVScan.java>
>>
>> Thx, Eric
>>
>>
>> On 07/20/2012 03:55 PM, Merve Temizer wrote:
>>
>>> Todays lat question,
>>> where is ClamAVScan.java in 3 beta 1?
>>>
>>> 2012/7/20 Eric Charles <er...@apache.org>
>>>
>>>   Hi,
>>>> SAR-INF is for James 2.3.
>>>> For James 3.0, you have to put your jar in conf/lib folder.
>>>> Thx, Eric
>>>>
>>>>
>>>> On 07/20/2012 02:20 PM, Merve Temizer wrote:
>>>>
>>>>   I am using 3 beta 1. I searched net for writing my own mailet but a
>>>>> SAR-INF
>>>>> folder and a sar file generating process is mentioned but there is no
>>>>> such
>>>>> folder in 3 beta 1.
>>>>> Is there a way to do it in 3 b 1?
>>>>> Thanks for patience.
>>>>>
>>>>> 2012/7/20 Eric Charles <er...@apache.org>
>>>>>
>>>>>    James 2.3 should contain the needed jar with the ClamAVScan mailet.
>>>>>
>>>>>> So nothing special to do, except defining the mailet in config.xml.
>>>>>>
>>>>>> Thx, Eric
>>>>>>
>>>>>>
>>>>>> On 07/20/2012 01:14 PM, Merve Temizer wrote:
>>>>>>
>>>>>>    ClamAVScan is mentioned as default mailets in James on
>>>>>>
>>>>>>> http://james.apache.org/******server/2.3.0/provided_mailets.**
>>>>>>> ****html<http://james.apache.org/****server/2.3.0/provided_mailets.****html>
>>>>>>> <http://james.apache.**org/**server/2.3.0/provided_**mailets.**html<http://james.apache.org/**server/2.3.0/provided_mailets.**html>
>>>>>>>>
>>>>>>> <http://james.apache.**org/**server/2.3.0/provided_****mailets.html<
>>>>>>> http://james.**apache.org/server/2.3.0/**provided_mailets.html<http://james.apache.org/server/2.3.0/provided_mailets.html>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Should i add some mailet.jar to James project?
>>>>>>>
>>>>>>> I downloaded it by SVN, should i add it manually is it elegant way?
>>>>>>>
>>>>>>> Or what should i do?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>   --
>>>>>> eric | http://about.echarles.net | @echarles
>>>>>>
>>>>>>
>>>>>> ------------------------------******--------------------------**--**
>>>>>> --**---------
>>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.******apache.org<
>>>>>> server-dev-**unsubscribe@**james.apache.org<un...@james.apache.org>
>>>>>> <se...@james.apache.org>
>>>>>>>
>>>>>>
>>>>>>>
>>>>>>>   For additional commands, e-mail: server-dev-help@james.apache.***
>>>>>> ***org<
>>>>>> server-dev-help@james.**apache**.org <http://apache.org> <
>>>>>> server-dev-help@james.apache.**org <se...@james.apache.org>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> eric | http://about.echarles.net | @echarles
>>>>
>>>>
>>>> ------------------------------****----------------------------**
>>>> --**---------
>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.****apache.org<
>>>> server-dev-**unsubscribe@james.apache.org<se...@james.apache.org>
>>>>>
>>>> For additional commands, e-mail: server-dev-help@james.apache.****org<
>>>> server-dev-help@james.**apache.org <se...@james.apache.org>>
>>>>
>>>>
>>>>
>>>
>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>
>>
>
> --e89a8fb1ed3c29afb004c557f3d3--
>


-- 
eric | http://about.echarles.net | @echarles


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