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 richard venne <rv...@akio.fr> on 2007/06/27 19:55:09 UTC
james+spamassassin: strange loop
Hi list:
I'm using james+spamassassin couple on Windows 2000 sp4.
We've to rebuild james. and actually all works well.... execpting a
strange trouble:
the recieved mails are temporally stored in , lets say, $PATH, and
spamassassin does his job.
the email is taged by spamassassin as "spam" or "ham", and.... placed on
$PATH !
which's a bit boring.
following paragraph has beed added in config.xlm
<mailet match='spamcheck=c:\bin\spamassassin -e, c:\temp' class="AddHeader">
<name>Spamchecked</name>
<value>true</value>
</mailet>
<mailet> match="HasHeader=X-spam-flag" class="ToRepository">
<repositorypath>c:\tmp</repositorypath>
</malet>
the emails are all taged successfully...... i'm not far from the goal!
thanks for your helps and sorry for my english
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: james+spamassassin: strange loop
Posted by Norman <no...@apache.org>.
Hi Richard,
you should use:
<mailet match='spamcheck=c:\bin\spamassassin -e, c:\temp'
class="AddHeader">
<name>Spamchecked</name>
<value>true</value>
</mailet>
<mailet> match="HasHeader=Spamchecked" class="ToRepository">
<repositorypath>c:\tmp</repositorypath>
</mailet>
This should fix your problem if I understood you correct. If this is not
the cause it whould help if you ellaborate a bit ;-)
bye
Norman
richard venne schrieb:
> Hi list:
>
> I'm using james+spamassassin couple on Windows 2000 sp4.
>
> We've to rebuild james. and actually all works well.... execpting a
> strange trouble:
>
> the recieved mails are temporally stored in , lets say, $PATH, and
> spamassassin does his job.
> the email is taged by spamassassin as "spam" or "ham", and.... placed
> on $PATH !
>
> which's a bit boring.
>
>
> following paragraph has beed added in config.xlm
>
> <mailet match='spamcheck=c:\bin\spamassassin -e, c:\temp'
> class="AddHeader">
> <name>Spamchecked</name>
> <value>true</value>
> </mailet>
>
> <mailet> match="HasHeader=X-spam-flag" class="ToRepository">
> <repositorypath>c:\tmp</repositorypath>
> </malet>
>
>
> the emails are all taged successfully...... i'm not far from the goal!
>
>
> thanks for your helps and sorry for my english
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> !DSPAM:1,4682a4a4240371050828944!
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org