JVlad wrote on   Thu, 8 Jan 2009 22:45:48 +0300:

> but doesn't it mean that I'll have to parse mail once again in order to get 
> score assigned by spamassassin and helo/IP address from the headers?

Yes, you have to parse the mail, but AFAIK procmail does that, anyway. You 
just "match". So, you can extract all interesting information before you hand 
over to SA. Then, I think you should be able to get the result back from VA. 
After all, if you don't get some result back you cannot file it to the spam 
folder. So, it should be possible to process the mail once with procmail and 
once with SA, not more often.
It may also be possible to get data like sender and IP address from some 
environment variable when the MTA hands over the message to procmail.
I'm not using procmail to call SA, but I have done other things with procmail 
in the past including completely rewriting messages, so I think it should be 
possible to do it the way I describe.



Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



Reply via email to