" Dear all,
" i have already installed freebsd, qmail, daemontools, ucspi-tcp, mysql,
" vpopmail, checkpassword.
" the problem is i can not give intruction in dot qmail like this :
"  &[EMAIL PROTECTED]
" |if [ "$SENDER" = "[EMAIL PROTECTED]" ]; then echo -e "Don't send me
" again"; exit 100; fi
" please anybody can explain to me why ??
" thank you very much


well then try this in your .qmail file

---------
&[EMAIL PROTECTED]
| preline reject.sh $SENDER
--------

the reject.sh contains the following.
-------------------------------------
#!/bin/sh
 
SENDER=$1
 
if [ "$SENDER" = "[EMAIL PROTECTED]" ]; then
echo "Sender: $SENDER rejected"
exit 100;
fi
echo "Sender: $SENDER accepted";
exit 0;    
-----------


This should work.


Markus



" 
" ~said madrus
" 

-- 
Markus Wuebben
 
* ID-PRO Deutschland GmbH (Products & Development) 
* Tel.: +49 (0) 2932 - 916 - 135 * Fax - 236 
* mailto:[EMAIL PROTECTED]
* http://open-for-the-better.com

Reply via email to