Sharma, Ashish: > Mark, > > Accepted your point, but I am actually doing what you have suggested already. > > Maybe the proof lies in the fact that my custom content filter is > working fine when amavisd is not used and postfix is directly > communicating with my component. I am not receiving such problem > in that case.
Postfix accepts non-compliant SMTP responses from your home-grown SMTP code. That does not mean that your program is correct. You need to fix your code, or better, use code that already works instead of re-inventing SMTP badly. Wietse