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!



[vchkpw] qmailtap for mail archive

2009-02-23 Thread dhaval thakar
Hi,


As mentioned on http://www.inter7.com/?page=qmailtap I am trying to use
qmailtap for mail archive.
I am using http://qmail.jms1.net/patches/qmail-1.03-jms1.7.06.patch.

I am testing this patch on test.com & for archive arch.test.com
Few users are created on test.com, same users are created on arch.test.com

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

In above config whatever mail sent / received using us...@test.com is
forwarded to us...@arch.test.com


/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

I am unable to find any solution for this, if anyone has faced this issue
kindly guide me to solve it.



Thanks & Regards
Dhaval


!DSPAM:49a28df532681057618500!