Only thing i can think of is to code a wrapper for qmail-inject that
checks sender/recepient/whatever.

the wrapper should accept all input that qmail-inject accepts, but also
sport additional switches for the checking the things you wanna check.

/Martin

mok swee loong wrote:
> 
> hi all,
> 
> /var/qmail/control/rcpthosts can be use to restrict the the relaying from
> smtp connection, but, how do i set restriction with program that invoke
> qmail-inject directly?
> 
> i am having problem restricting mail sending out by php script that the php
> binary will invoke the qmail-inject directly.
> 
> any thoughts?
> 
> regards,
> mok

Reply via email to