Hello Alessandro,

Am 2010-04-06 10:35:21, hacktest Du folgendes herunter:
> I posted a slightly expanded version of the code above in 
> http://www.mail-archive.com/courier-users@lists.sourceforge.net/msg27715.html 
> 
> At any rate, virtual domains apparently work well even without SUID.

I have compiled the "rcptfilter" and installed  the  "rcptfilter.sh"  in
the ${HOME} of my testuser, but the script is never executed.

I have:

1)  /usr/sbin/rcptfilter

2)  /home/testlooser/mailfilters/rcptfilter

3)  
----[ '/home/testlooser/rcptfilter.sh' ]--------------------------------
#!/bin/bash

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
------------------------------------------------------------------------

4)..
----[ '/home/testlooser/.courier' ]-------------------------------------
| /usr/bin/preline /usr/bin/procmail
------------------------------------------------------------------------

5)..
----[ '/home/testlooser/.courier-dfault' ]------------------------------
| /usr/bin/preline /usr/bin/procmail
------------------------------------------------------------------------

and nothing happen...  the messages arrived INBOX without any traces  in
the system.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France           itsyst...@tdnet UG (haftungsbeschränkt)
Gesch. Michelle Konzack          Gesch. Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz               Kinzigstraße 17
67100 Strasbourg/France         77694 Kehl/Germany
Tel: +33-6-61925193 mobil       Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4miche...@jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature

------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to