Re: Global sieve scripts and spamfolders/bb

2007-04-16 Thread Adam Stephens

Janne Peltonen wrote:

Hi!

If the way to use sieve with bbs is sieve scripts in the global
namespace, I was wondering whether there was any way to determine the
destination mailbox based on the incoming address.

That is:

We'd like to create /one/ global spam-filtering script, which the BB
owners could register their BB to use.

At the same time, we'd like the email classified as spam to end up
somewhere the BB owners could read them - so as to detect false
positives.

And we'd like that only the owners of the BB could read the spam sent to
that BB's address.

So spam that's coming to 'bb' should get filtered to, say, 'bb.spam', and
spam coming to 'bb2' should get filtered to 'bb2.spam'.


  
We do this, but in the MTA rather than via Sieve; If the mail is tagged 
as spam, we call 'mbpath -s' and check the exit state to see if the 
destination has a spam subfolder. If it does, we put the message there 
using deliver. Users can enable the filtering by making the subfolder.


--

Adam Stephens
Network Specialist - Email  DNS
[EMAIL PROTECTED]


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus imapd MIBS?

2007-04-16 Thread Dmitriy Kirhlarov
cyrus imapd 2.3.8 can be builded with net-snmp support, but I can't
find cyrus MIBs anywhere.

Can somebody consult me -- what data can be provided from cyrus over
snmp, how to connect cyrus imapd to runned snmpd and where I can find
MIB files?

WBR
Dmitriy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


sync_client ptloader problem

2007-04-16 Thread Dmitriy Kirhlarov
Some time ago I was report about problem with sync_client (sync_client
can't be run from cyrus.conf, when ptloader used)
For details:
http://lists.andrew.cmu.edu/pipermail/info-cyrus/2006-October/024121.html

2.3.8 have same issue.
How I can inform developers about it? Some other list? bug-tracking
system?

WBR
Dmitriy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: last cyrus login date

2007-04-16 Thread Blake Hudson
John M. Crawford wrote:
 Blake,
  I'm wondering about the same thing... Did you come up with
 a nice method to determine last login event?
 thanks,
 John
I have not yet put in the effort into making a system to do this. It may
be easy enough to hack at the cyrus code, but honestly I don't feel
comfortable and besides it may not be the best solution for my end goal.

Instead I may just tail the mail log for successful logins and keep
dates in a sql database along with the mailbox information that we
already have there. This will allow us to more quickly and easily poll
for account activity at a global level.

-Blake




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Global sieve scripts and spamfolders/bb

2007-04-16 Thread Roland Felnhofer

Hi Janne,
partially answering your question:

My sieve admin is cyrus. He owns the global cyrus scripts. Change 
these scripts as user cyrus. (I'm using 'Websieve')


My config /setup


imapd.conf
...
sieve_extensions: fileinto reject vacation imapflags notify include 
envelope bod

y relational regex subaddress copy
...

#
# global sieve file spam
#
require [fileinto];
if allof (header :contains  X-Spam-Flag YES) {
fileinto INBOX.Junk;
}


#
# private user sieve script
#
require [include];
include :global spam;

More info: http://www.mvmf.org/docs/draft-daboo-sieve-include-02.txt

Best regards
Roland

Janne Peltonen wrote:

Hi!

If the way to use sieve with bbs is sieve scripts in the global
namespace, I was wondering whether there was any way to determine the
destination mailbox based on the incoming address.

That is:

We'd like to create /one/ global spam-filtering script, which the BB
owners could register their BB to use.

At the same time, we'd like the email classified as spam to end up
somewhere the BB owners could read them - so as to detect false
positives.

And we'd like that only the owners of the BB could read the spam sent to
that BB's address.

So spam that's coming to 'bb' should get filtered to, say, 'bb.spam', and
spam coming to 'bb2' should get filtered to 'bb2.spam'.

If this isn't possible without a sieve-script-per-bb, is there a way to
allow normal users to (safely) add global sieve scripts?

Or is the only way to go to (automatically) create a new global sieve
script every time a new bb is created?

Thanks.


--Janne
  


smime.p7s
Description: S/MIME Cryptographic Signature

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Global sieve scripts and spamfolders/bb

2007-04-16 Thread Roland Felnhofer
Sorry here is a newer version: 
http://tools.ietf.org/html/draft-daboo-sieve-include-05


Best regards
Roland

Roland Felnhofer wrote:

Hi Janne,
partially answering your question:

My sieve admin is cyrus. He owns the global cyrus scripts. Change 
these scripts as user cyrus. (I'm using 'Websieve')


My config /setup


imapd.conf
...
sieve_extensions: fileinto reject vacation imapflags notify include 
envelope bod

y relational regex subaddress copy
...

#
# global sieve file spam
#
require [fileinto];
if allof (header :contains  X-Spam-Flag YES) {
fileinto INBOX.Junk;
}


#
# private user sieve script
#
require [include];
include :global spam;

More info: http://www.mvmf.org/docs/draft-daboo-sieve-include-02.txt

Best regards
Roland

Janne Peltonen wrote:

Hi!

If the way to use sieve with bbs is sieve scripts in the global
namespace, I was wondering whether there was any way to determine the
destination mailbox based on the incoming address.

That is:

We'd like to create /one/ global spam-filtering script, which the BB
owners could register their BB to use.

At the same time, we'd like the email classified as spam to end up
somewhere the BB owners could read them - so as to detect false
positives.

And we'd like that only the owners of the BB could read the spam sent to
that BB's address.

So spam that's coming to 'bb' should get filtered to, say, 'bb.spam', 
and

spam coming to 'bb2' should get filtered to 'bb2.spam'.

If this isn't possible without a sieve-script-per-bb, is there a way to
allow normal users to (safely) add global sieve scripts?

Or is the only way to go to (automatically) create a new global sieve
script every time a new bb is created?

Thanks.


--Janne
  


smime.p7s
Description: S/MIME Cryptographic Signature

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: last cyrus login date

2007-04-16 Thread Bron Gondwana
On Mon, Apr 16, 2007 at 11:13:54AM -0500, Blake Hudson wrote:
 John M. Crawford wrote:
  Blake,
   I'm wondering about the same thing... Did you come up with
  a nice method to determine last login event?
  thanks,
  John
 I have not yet put in the effort into making a system to do this. It may
 be easy enough to hack at the cyrus code, but honestly I don't feel
 comfortable and besides it may not be the best solution for my end goal.
 
 Instead I may just tail the mail log for successful logins and keep
 dates in a sql database along with the mailbox information that we
 already have there. This will allow us to more quickly and easily poll
 for account activity at a global level.

Another solution is a custom saslauthd implementation which logs the
details to your database.  That's what we do (actually, I think we
only log from the authd on our frontend proxy servers, because we know
the external IP address there, but we could flip a bit in the config
file and get logging from the backends too)

Bron.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html