Re: [vchkpw] qmailtap for mail archive

2009-02-23 Thread dhaval thakar
On Mon, Feb 23, 2009 at 5:58 PM, Jukka Kurkela  wrote:

> dhaval thakar wrote:
>
>> 
>> /var/qmail/control/taps contains
>> us...@test.com:us...@arch.test.com 
>> us...@test.com:us...@arch.test.com 
>> us...@test.com:us...@arch.test.com 
>>
>> in above config mails for remote domains gets copied to relevant archive
>> id.
>> But if us...@test.com  have sent mail to
>> us...@test.com , copy of sent mail is there on
>> us...@arch.test.com  but there is no received
>> copy on te...@arch.test.com 
>>
>
> this is a feature of the tap patch. it first checks  address against
> taps and then if that didn't match it checks  address.
>
> you could try replacing the ( tapped == 0 && tapcheck()==1 ) checks with (
> tapcheck()==1 ) in qmail-queue.c and see if it works then.
>


> thanks

I have done necessary changes & its working fine.

thank you very much.


!DSPAM:49a29ee132681928970407!


Re: [vchkpw] qmailtap for mail archive

2009-02-23 Thread Jukka Kurkela

dhaval thakar wrote:


/var/qmail/control/taps contains
us...@test.com:us...@arch.test.com 
us...@test.com:us...@arch.test.com 
us...@test.com:us...@arch.test.com 

in above config mails for remote domains gets copied to relevant archive 
id.
But if us...@test.com  have sent mail to 
us...@test.com , copy of sent mail is there on 
us...@arch.test.com  but there is no 
received copy on te...@arch.test.com 


this is a feature of the tap patch. it first checks  address 
against taps and then if that didn't match it checks  address.


you could try replacing the ( tapped == 0 && tapcheck()==1 ) checks with 
( tapcheck()==1 ) in qmail-queue.c and see if it works then.



regards,
Jukka Kurkela

!DSPAM:49a2964f32681413795890!