2010/10/19 Karsten Bräckelmann <[email protected]>

>
> Since these are actually described right next to each other -- Pedro,
> you're looking into the spamd protocol, so I assume you did find the
> spamd/PROTOCOLS file in the source?


Yep, based on it I'm writing a PHP client [1] for the spamd protocol, which
is why I'm interested in this =)


> Oh, and if you really want a CSV separated output, it should be possibly
> to write a plugin that provides a custom Template Tag to be used instead
> of the default _SUMMARY_, without hacking the spamd source itself.


I have already tried to use only _SUMMARY_, but I was thinking that I should
not mess with the report template because it should provide a human readable
explanation, since it is used in PROCESS to return a modified version of the
message. However... I just realized that I can set different report
templates per user... This should do the trick, along with a custom template
tag.

Thanks Karsten and Kevin.

[1]
http://ppadron.blog.br/2010/05/04/php-api-to-spamassassin-spamd-protocol/

-- 
Pedro Padron
Tecnologia & Desenvolvimento | W3P Projetos Web
+55 11 7518 6664
+55 11 2609 1989
http://www.w3p.com.br/

Reply via email to