I found the most simple solution (which is distro independent).
Whatever the distro just make a link in the rc.d files (or whatever) to
/opt/james-3.0/bin/james!
With Slackware 13.1:

bash-4.1# ln -s /opt/james-3.0/bin/james /etc/rc.d/rc.james

Then start it when booting by adding:

# Start James:
if [ -x /etc/rc.d/rc.james ]; then
/etc/rc.d/rc.james start
fi

in the rc.M script file

Allright!  Sorry for this question...

Rgs

JLG



On Thu, Oct 7, 2010 at 1:18 PM, Jean Luc Guislain <[email protected]>wrote:

> Hi Eric!
>
> Thank you for the link.
> I moved bin/james to /etc/rc.d/rc.james (start/stop/restart/etc...)
> It doesn't start because of the wrapper.
> Where is the installation procedure?
> (Slackware 13.1)
> Rgs
> JL
>
> On Thu, Oct 7, 2010 at 10:24 AM, Eric Charles <[email protected]> wrote:
>
>> You can get it from
>>
>> http://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-spring-deployment/3.0-SNAPSHOT/
>> (download james-server-spring-deployment-3.0-...-bin.zip)
>>
>> config files are in conf dir.
>>
>> Tks,
>> Eric
>>
>>
>>
>> On 7/10/2010 15:42, Jean Luc Guislain wrote:
>>
>>> Allright, I will try James 3. How can I download it?
>>>
>>> On Wed, Oct 6, 2010 at 11:16 AM, Eric Charles<[email protected]>  wrote:
>>>
>>>
>>>  I already used SpamAssassin mailet on 2.3. built from trunk. It may be
>>>> that
>>>> the distribution doesn't contain that mailet.
>>>>
>>>> If you're starting a project with james, maybe you could try to use the
>>>> 3.0
>>>> version (not yet released).
>>>> Other are using it also
>>>> http://www.mail-archive.com/[email protected]/msg11305.htmland
>>>> you may have better support (and coming doc) on 3.0
>>>>
>>>> Tks,
>>>> Eric
>>>>
>>>>
>>>>
>>>>
>>>> On 6/10/2010 17:03, Jean Luc Guislain wrote:
>>>>
>>>>  I use james 2.3.2...
>>>>>
>>>>> On Wed, Oct 6, 2010 at 10:27 AM, Norman Maurer<[email protected]>
>>>>> wrote:
>>>>>
>>>>>  What version of james are you using ? I think SpamAssassin support is
>>>>>
>>>>>> only in 3.x.
>>>>>>
>>>>>> Bye,
>>>>>> Norman
>>>>>>
>>>>>>
>>>>>> 2010/10/6 Jean Luc Guislain<[email protected]>:
>>>>>>
>>>>>>  Hi Eric!
>>>>>>>
>>>>>>> Thank you for your email.
>>>>>>> When I put this mailet:
>>>>>>> <mailet notmatch="SenderHostIsLocal" class="SpamAssassin">
>>>>>>>  <spamdHost>localhost</spamdHost>
>>>>>>>  <spamdPort>783</spamdPort>
>>>>>>> </mailet>
>>>>>>> in the config.xml file, then james refuses to start.
>>>>>>> What can be wrong?
>>>>>>>
>>>>>>> JL
>>>>>>>
>>>>>>> On Wed, Oct 6, 2010 at 6:35 AM, Eric Charles<[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>  Hi Jean Luc,
>>>>>>>
>>>>>>>> You need to invoke the SpamAssassin mailet in the spool-manager.xml
>>>>>>>> (in
>>>>>>>> root processor for example)
>>>>>>>>
>>>>>>>> <mailet notmatch="SenderHostIsLocal" class="SpamAssassin">
>>>>>>>>  <spamdHost>localhost</spamdHost>
>>>>>>>>  <spamdPort>783</spamdPort>
>>>>>>>> </mailet>
>>>>>>>>
>>>>>>>> After, you need to tell james to redirect the the mail to a spam
>>>>>>>> respository (you can also define class="Null" to simply not store
>>>>>>>> the
>>>>>>>>
>>>>>>>>  mail)
>>>>>>> <mailet match="HasMailAttributeWithValue=X-SpamAssassin, YES"
>>>>>>>
>>>>>>>> class="ToRepository">
>>>>>>>> <repositoryPath>file://var/mail/spamassassin/</repositoryPath>
>>>>>>>> </mailet>
>>>>>>>>
>>>>>>>> I think the mail attribute mail depends on the james version.
>>>>>>>> So if this does not work for you (if spam still arrives in you
>>>>>>>> inbox),
>>>>>>>>
>>>>>>>>  look
>>>>>>> at the mail headers in the source of the mail to see the header value
>>>>>>> set by
>>>>>>> James, and adapt the mailet match according to it.
>>>>>>>
>>>>>>>> Tks,
>>>>>>>>
>>>>>>>> Eric
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 5/10/2010 19:54, Jean Luc Guislain wrote:
>>>>>>>>
>>>>>>>>  Hi Eric!
>>>>>>>>
>>>>>>>>> Now that my James server is working fine on ifm.ath.cx with TLS
>>>>>>>>> and
>>>>>>>>> polling
>>>>>>>>> my 2 external mails (gmail.com and operamail.com accounts), I am
>>>>>>>>> ready
>>>>>>>>> for
>>>>>>>>> the next step: getting rid of the spam (operamail sends me a lot of
>>>>>>>>>
>>>>>>>>>  it!)
>>>>>>>>
>>>>>>> The question is:
>>>>>>>
>>>>>>>> How can I use Spamassassin with James?
>>>>>>>>>
>>>>>>>>> A daemonized Spamassassin and Vipul's Razor are installed on my
>>>>>>>>>
>>>>>>>>>  computer:
>>>>>>>>
>>>>>>> bash-4.1# ps aux | grep spamd
>>>>>>>
>>>>>>>> root 3771 0.0 1.8 41384 37412 ? Ss Oct03 0:21 /usr/bin/spamd -d
>>>>>>>>> --pidfile=/var/run/spamd.pid
>>>>>>>>> root 3772 0.0 1.7 41384 35384 ? S Oct03 0:00 spamd child
>>>>>>>>> root 3773 0.0 1.7 41384 35384 ? S Oct03 0:00 spamd child
>>>>>>>>> root 19462 0.0 0.0 1956 552 pts/2 S+ 13:37 0:00 grep spamd
>>>>>>>>> bash-4.1#
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> JL
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Aug 25, 2010 at 2:28 PM, Jean Luc Guislain<
>>>>>>>>>
>>>>>>>>>  [email protected]
>>>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>>  I would like to know if somebody has a working
>>>>>>>>>
>>>>>>>>>  james-fetchmail.xml
>>>>>>>>>>
>>>>>>>>>> file to poll a pop gmail account.
>>>>>>>>>>
>>>>>>>>>> Rgs,
>>>>>>>>>> JL
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>
>>>>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  ---------------------------------------------------------------------
>>>>>>>>
>>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>>
>>>>>>
>>>>>>
>>>>>>  ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to