Greg Hackney a écrit :
> reg wrote:
>> Hi,
>>
>> I would like to apply same method of didtheyreadit.com with postfix :
>>
>> - Add extension to mail : toto@toto.com.mydomain.com
>> - postfix match .mydomain.com and rewrite receipt
>>
>> can someone help me on postfix config?
>>
>> thanks
>>
>> reg
>
>
> This feature is a controversial email spy tool. Some networks are
> reportedly blocking didtheyreadit.com.
>
> If you use it in some countries, apparently you can go to jail for 5 years:
> http://www.primidi.com/2004/07/04.html
>
> --
> Greg
I know but it's not my goal!
I want to use it to other thing...
After some search, I think to make like this:
in master.cf :
smtp inet n - n - - smtpd -o
content_filter=filter
filter unix - n n - - pipe
flags=Rq user=mail argv=/usr/local/filter -f ${sender} -- ${recipient}
then filter match header in perl...
Is it the best way to rewrite receipt or is there other solution?
thanks
reg