Ashish, >> Your java filter sent a greeting: "220 Hello\n" >> instead of: "220 Hello\r\n". Amavisd waited 30 seconds but >> end of line (CR LF) never arrived, so the session was aborted. >> RFC 5321 (and RFC 2821 and RFC 821) requires that SMTP commands >> and replies are terminated by a CRLF, not by a single LF character. > > 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.
> Is it because postfix is little lax in enforcing smtp for content filter? Yes, it is. (in general, not specific to content filter interfacing) Mark