Yeah that should work. Just come back to me if you have any Problem...

Bye
Norman

2010/4/19, Max Levinson <[email protected]>:
> Thanks for that Norman,
>
> Will something like that work, I am concerned about part which directs
> messages tagged as spam to spam processor.
>
> <mailet notmatch="SenderHostIsLocal" class="SpamAssassin">
> <spamdHost>localhost</spamdHost>
> <spamdPort>783</spamdPort>
> </mailet>
>
> <mailet match="HasMailAttributeWithValue=org.apache.james.X-Spam-Flag, yes"
> class="ToProcessor">
>    <processor> spam </processor>
> </mailet>
>
> 2010/4/19 Norman Maurer <[email protected]>
>
>> Hi Max,
>>
>> just put it in the spoolmanager.xml in the processor of your choice.
>>
>> For howto config it just see the javadocs:
>>
>>
>> http://svn.apache.org/viewvc/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/SpamAssassin.java?view=markup
>>
>>
>> Hope it helps,
>>
>> Bye,
>> Norman
>>
>> 2010/4/19 Max Levinson <[email protected]>:
>> > Hi Norman,
>> >
>> > Yep, I understand about handler, I would love to use a SpamAssassin
>> mailet
>> > but can't find a section in any James 3 config file.
>> >
>> > To which config file I need to add SpamAssassin mailet and what exactly
>> > should I put there? Is this mailet bundled with James 3 distribution?
>> >
>> > Any config examples would be highly appreciated.
>> >
>> > Thanks.
>> >
>> > 2010/4/19 Norman Maurer <[email protected]>
>> >
>> >> Hi Max,
>> >>
>> >> the SpamassasinHandler only support rejecting messages. I don't see
>> >> why you not just use a Mailet if you don't want to reject. Any reason
>> >> ?
>> >>
>> >> Thx,
>> >> Norman
>> >>
>> >>
>> >> 2010/4/19 Max Levinson <[email protected]>:
>> >> > Hi guys,
>> >> >
>> >> > I am exploring new features of James, and found that now SpamAssassin
>> can
>> >> be
>> >> > connected as a fastfail handler. What if I need instead of rejecting
>> >> > a
>> >> > message in protocol(if spamd found spam) during SMTP session I need
>> >> > to
>> >> tag
>> >> > headers or hold message in a quarantine, which setting should I use
>> >> > in
>> >> those
>> >> > two cases? If possible can you give config examples.
>> >> >
>> >> > Here is how default config looks like in smtpserver.xml
>> >> >
>> >> >             <handler
>> >> > class="org.apache.james.smtpserver.fastfail.SpamAssassinHandler">
>> >> >                 <spamdHost> 127.0.0.1 </spamdHost>
>> >> >                 <spamdPort> 783 </spamdPort>
>> >> >                 <spamdRejectionHits> 10 </spamdRejectionHits>
>> >> >             </handler>
>> >> >
>> >> > Thanks.
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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