Hello *, I want to use "rcptfilter" and "smtpfilter" and have replaced the /usr/bin/maldrop in /etc/courier/maildropfiter with my own program.
But is is never executed... For testing I have used a script: ----[ /home/michelle.konzack/bin/tdtools-courier-filter ]--------------- #!/bin/sh DIR=${HOME} DATE=`date +%Y%m%d_%H%M%S` if [ ! -d ${DIR}/log ] ; then mkdir -p ${DIR}/log ; fi echo "$*" >>${DIR}/log/${DATE}.log echo >>${DIR}/log/${DATE}.log echo "########################################################################" >>${DIR}/log/${DATE}.log echo >>${DIR}/log/${DATE}.log env >>${DIR}/log/${DATE}.log echo >>${DIR}/log/${DATE}.log echo "########################################################################" >>${DIR}/log/${DATE}.log echo >>${DIR}/log/${DATE}.log cat >>${DIR}/log/${DATE}.log exit 0 ------------------------------------------------------------------------ and it is set SUID as described in "man 7 localmailfilter": -rwsrwsr-x 1 1000 1000 541 3. Apr 08:37 tdtools-courier-filter but it never write anything... mean, it is NOT executed. WHY? in the account where I test it, I have the files ~/.mailfilters/rcptfilter ~/.mailfilters/smtpfilter without content, but AFAIK it must be there to aktivate localmailfilter. Thanks, Greetings and nice Day/Evening Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### <http://www.tamay-dogan.net/> Michelle Konzack <http://www.can4linux.org/> Apt. 917 <http://www.flexray4linux.org/> 50, rue de Soultz Jabber linux4miche...@jabber.ccc.de 67100 Strasbourg/France IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947 ICQ #328449886 Tel. FR: +33 6 61925193
signature.pgp
Description: Digital signature
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users