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]

Reply via email to