Peter,
> It actually does'nt read stdin. It just handle the sender argument because > this is Supposed to be SPAM. Could that be the problem not reading stdin? Yes, definitely a problem. Amavis is trying to feed a mail massage over a pipe to the spawned program, which is supposed to read it from its stdin. > I will try and set up reading STDIN. > Problem connected with not reading stdin so problem solved - thanks. Good! Mark
