>>>>> On 05 Nov 2001 14:39:44 +0000,
>>>>> Ian Castle <[EMAIL PROTECTED]> (ic) writes:

ic> I have quite a large number of shared/public folders to which mail is
ic> sent/posted directly using the [EMAIL PROTECTED] convention.

ic> I want to sieve mail sent to these folders (to remove spam and other
ic> nasties).

ic> Currently (2.0.16 and CVS HEAD) only mail sent to a user's folders is
ic> sieved. 

ic> The relevant file is imap/lmtpd.c, in the function deliver(). What I'm
ic> thinking of doing is modifying this function, so that in the case of a
ic> post to a public folder it will find the script for the pseudo user "bb"
ic> (or rather the value of the BB string) (sieveusehomddir is false).

ic> My plan is to add the code to sieve the email for "case 1 shared mailbox
ic> resource" in the source. From my cursory look at the source, I can't see
ic> any obvious issues with doing this (thinking about security -
ic> mydata.authuser, mydata.authstate etc).

ic> However, before embarking on this, I was wondering if any one more
ic> knowledgeable than me had any comments about this (it seems like a
ic> fairly obvious thing to want to do - so I suspect that there are some
ic> "gotchas" that are not obvious to me - or it has already been done).

Ken and I kicked around this issue not too long ago.  We've got a
ton of non-users folders as well and were wondering if Sieve might
be usable for these.  Though, we're using the altnamespace so no
longer using "bb." prefix.  Yet another wrinkle?

I forget where we ended up with this.  Ken?

-- 
Amos

Reply via email to