Re: saslauthd+pam+pam_ldap VS saslauthd+ldap

2004-06-03 Thread Simon Matter
> Hi,
>
> I have been working on a Mail System for several days.
> I used Postfix + Cyrus-IMAPd + Cyrus-SASL + OpenLDAP.
> LDAP Database is the accounts container.
> And the system should support virtual domains.
> All the processes which accesses the LDAP database thru saslauthd.
>
> I am using the saslauthd's ldap Authentications mechanism to auth
> against LDAP.
>
> But afaik that there are two motheds to implement this feature.
>
> The first one is which i used.
> And the other one is saslauthd's pam authentications mechanism.
> It could works with pam_ldap to implement the auth against LDAP.
> But it have one more layer than the above mothed.
>
> Imho, i think that less layers more quick.

Hi,

I'm using both versions on different servers and I can say they both work
very well for me. The pam way is more flexible if you have more than one
place where users are stored, say LDAP and MySQL, or you want to restrict
logins by other means like time or whatever.
The only problem I see with pam_ldap is with the cyrus-imapd virtual
domains. AFAIK it doesn't work for more than one domain because PAM
doesn't know about realms.

Simon


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


saslauthd+pam+pam_ldap VS saslauthd+ldap

2004-06-03 Thread Wang Penghui
Hi,
I have been working on a Mail System for several days.
I used Postfix + Cyrus-IMAPd + Cyrus-SASL + OpenLDAP.
LDAP Database is the accounts container.
And the system should support virtual domains.
All the processes which accesses the LDAP database thru saslauthd.
I am using the saslauthd's ldap Authentications mechanism to auth 
against LDAP.

But afaik that there are two motheds to implement this feature.
The first one is which i used.
And the other one is saslauthd's pam authentications mechanism.
It could works with pam_ldap to implement the auth against LDAP.
But it have one more layer than the above mothed.
Imho, i think that less layers more quick.
Any suggestion?
Could you help me to pick up one?
Thanks in advance!

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


courier-imap to cyrus-imap migration

2004-06-03 Thread gen2
I'm trying to transfer a small number of accounts from courier-imap to a new 
cyrus-imap server, and was hoping to be able to just drag the mail from a 
courier-folder to a cyrus-folder for easy migration.

It's possible to move mail this way (on my current config) from cyrus to 
courier, but not the other way around. When trying, an error comes up (in 
Kmail) saying "Could not write to file: <(my cyrus server)>"

Thanks for any suggestions!
WR
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: spamassassin and cyrus? FIXED

2004-06-03 Thread gen2
On Wednesday 02 June 2004 04:00 am, you wrote:
> My mistake - sorry.
> If you enable smtpd like that you have to specify a port.
>
> master.conf:
>        localhost:25 inet    n       -       y       -       -      
> smtpd -o smtpd_sasl_auth_enable=no
>
>
> Marek

I couldn't get that to work, kept getting errors saying port 25 was already 
being used, but you put me on the right track, Thank You!

This seems to be doing the trick:

127.0.0.1:smtp  inet  n   -   n   -   -   smtpd
-o smtpd_sasl_auth_enable=no
-o smtpd_use_tls=no
-o content_filter=spamassassin
<192...(server IP)>:smtpinet  n   -   n   -   -  smtpd



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


±z¦n!!....±Í¤½¥q¦³¤@´£®×·Q½Ð±z°Ñ¦Ò

2004-06-03 Thread ¬õ¶§¬ì§Þ_Á±M­û
Title: 飛躍百億 - 專案活動










  


  
  

  

本人有刷卡需求,請派人為我解說 e'safe 金流服務!
  
  
聯絡人:

  
  
商業型態:


個人拍賣賣主
網路購物商店
[EMAIL PROTECTED]
自營商 - 無法向銀行申請刷卡機
自營商 - 新成立

  
  
聯絡電話:

  
  
行動電話:

  
  

  






Re: Problems with Cyrus IMAP 2.2.5 on Solaris 9 on production server

2004-06-03 Thread Rob Siemborski
On Thu, 3 Jun 2004, Ian G Batten wrote:

> For what it's worth, I'm building a new server to replace my
> long-standing Solaris 7 + Cyrus 1.6.22 server --- one hour of downtime
> since 1999.  I've used the gcc from the SFW collection, Cyrus 2.2.4 and
> Solaris 10 build 55 (which is probably the current Solaris Express bits:
> I'm a Platinum Beta site, so I get my bits via another route).  I've
> transferred my own mailboxes over, and on ``Cortez burning his boats''
> grounds I've deleted my mailbox from the production server.  So far I've
> not seen any major problems, although a concerted dose of killing
> processes at random while under load corrupted my skiplist mailboxes.db
> file.  For safety I've switched that to berkeley (Sun provide db4.1 in
> SFW).

Why on earth were you killing processes at random?  You'll almost
certainly have more trouble with berkeley DB than with skiplist.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

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


Re: Problems with Cyrus IMAP 2.2.5 on Solaris 9 on production server

2004-06-03 Thread Rob Siemborski
On Thu, 3 Jun 2004, Rob Siemborski wrote:

> > not seen any major problems, although a concerted dose of killing
> > processes at random while under load corrupted my skiplist mailboxes.db
> > file.  For safety I've switched that to berkeley (Sun provide db4.1 in
> > SFW).
>
> Why on earth were you killing processes at random?  You'll almost
> certainly have more trouble with berkeley DB than with skiplist.

I'll also ask the obvious -- did you subsequently stop the server and run
recovery on the database?

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

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


Re: Problems with Cyrus IMAP 2.2.5 on Solaris 9 on production server

2004-06-03 Thread Ian G Batten
For what it's worth, I'm building a new server to replace my
long-standing Solaris 7 + Cyrus 1.6.22 server --- one hour of downtime
since 1999.  I've used the gcc from the SFW collection, Cyrus 2.2.4 and
Solaris 10 build 55 (which is probably the current Solaris Express bits:
I'm a Platinum Beta site, so I get my bits via another route).  I've
transferred my own mailboxes over, and on ``Cortez burning his boats''
grounds I've deleted my mailbox from the production server.  So far I've
not seen any major problems, although a concerted dose of killing
processes at random while under load corrupted my skiplist mailboxes.db
file.  For safety I've switched that to berkeley (Sun provide db4.1 in
SFW).

ian

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


Re: Clean RH3 build, cyradm doesn't work here either.

2004-06-03 Thread Mark London
Thanks, seems to work for me also!
At 3:25 PM -0400 6/3/04, Kent L. Nasveschuk wrote:
This worked for me:
Fix cyradm and add as follows:
PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.0/i486-linux
export PERL5LIB
I had the same problem with many installations.
You would probably replace the i486-linux with i386-linux-thread-multi

On Thu, 2004-06-03 at 14:58, Mark London wrote:
 I just installed a build RH3 AS from scratch.  I then bio;t cyrus
 2.2.5, and I get the same error messages that others have gotten,
 when trying to run cyradm.  I've yet to read a solution for this.
 Any ideas out there, or is it a cyrus bug?  Thanks. -  Mark
 Can't load
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so'
 for module Cyrus::IMAP
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so:
 undefined symbol: db_version at
 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
   at
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm
 line 44
 Compilation failed in require at
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm
 line 44.
 BEGIN failed--compilation aborted at
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm
 line 44.
 Compilation failed in require at
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm
 line 60.
 BEGIN failed--compilation aborted at
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm
 line 60.
 Compilation failed in require.
 BEGIN failed--compilation aborted.
 ---
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
--
Kent L. Nasveschuk <[EMAIL PROTECTED]>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Basic HOWTO

2004-06-03 Thread Adam Tauno WIlliams
> Apologies for such a basic question, but we will be installing cyrus-imap 
> (Mandrake 10.0 RPM).  Since I am going to have a short window to do the 
> install and configuration, I'm getting this all in advance.
> I already have the necessary information to get postfix to hand off to 
> cyrus-imap.  What I need is the information necessary for the simplest 
> configuration and whatever steps are needed (in the order they are needed) to 
> enable our users to get their mail (pop).

ftp://ftp.kalamazoolinux.org/pub/pdf/Cyrus.pdf

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


Re: Clean RH3 build, cyradm doesn't work here either.

2004-06-03 Thread Kent L. Nasveschuk
This worked for me:

Fix cyradm and add as follows:
PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.0/i486-linux

export PERL5LIB

I had the same problem with many installations. 

You would probably replace the i486-linux with i386-linux-thread-multi



On Thu, 2004-06-03 at 14:58, Mark London wrote:
> I just installed a build RH3 AS from scratch.  I then bio;t cyrus 
> 2.2.5, and I get the same error messages that others have gotten, 
> when trying to run cyradm.  I've yet to read a solution for this. 
> Any ideas out there, or is it a cyrus bug?  Thanks. -  Mark
> 
> Can't load 
> '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so' 
> for module Cyrus::IMAP 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so: 
> undefined symbol: db_version at 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
>   at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
> line 44
> Compilation failed in require at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
> line 44.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
> line 44.
> Compilation failed in require at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
> line 60.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
> line 60.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
-- 
Kent L. Nasveschuk <[EMAIL PROTECTED]>

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


Clean RH3 build, cyradm doesn't work here either.

2004-06-03 Thread Mark London
I just installed a build RH3 AS from scratch.  I then bio;t cyrus 
2.2.5, and I get the same error messages that others have gotten, 
when trying to run cyradm.  I've yet to read a solution for this. 
Any ideas out there, or is it a cyrus bug?  Thanks. -  Mark

Can't load 
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so' 
for module Cyrus::IMAP 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so: 
undefined symbol: db_version at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
 at 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
line 44
Compilation failed in require at 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
line 44.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
line 44.
Compilation failed in require at 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
line 60.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus IMAP 10 Year Anniversary

2004-06-03 Thread Ken Murchison
Etienne Goyer wrote:
Rob Siemborski wrote:
I'm happy to share with you that today, June 4, 2004, marks the 10 
year anniversary of the first public alpha release of the Cyrus IMAP 
server.

Just being curious M. Siemborski: have you been part of the project 
since the beginning ?  What about the other major contibutors (like Ken 
M.) ?
I've been working with Cyrus since sometime in 1997.  I began sending 
Larry patches to fix broken stuff in Sieve in 2000 and shortly 
thereafter he gave me a CMU account and CVS write access.  I started 
hacking IMAP by adding SORT and THREAD and things spiraled out of 
control from there.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Automatically expire messages in imap folder

2004-06-03 Thread Ken Murchison
Patrick Boutilier wrote:
Adi Linden wrote:
Is it possible to have cyrus-imap automatically expire messages in a 
subfolder for every user of the system? I would like to deliver 
messages identified as SPAM to a particular folder, INBOX.spam. 
Further it would be nice if the number of messages in this folder 
could be limited, not by a quota but by automatically deleting older 
messages. Is that possible?

man cyradm
and look at mboxcfg and setinfo
for example:
mboxcfg user.someuser.spam expire 7
This is what I use for my user's SPAM folders and for my newsgroup 
folders, but you need to keep in mind that the /expire annotation is 
inherited by children unless told otherwise.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Delivering mail to subfolders

2004-06-03 Thread Ken Murchison
Adi Linden wrote:
I have cyrus-imapd setup to work with sendmail-8.12.10. These are the 
cyrus related things I added to the mc file:

define(`confLOCAL_MAILER',`cyrusv2')dnl
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
FEATURE(`preserve_local_plus_detail')dnl
MAILER(cyrusv2)dnl
I can deliver mail into the INBOX just fine, in fact all mail goes into 
the users INBOX even if my to address is something like 
[EMAIL PROTECTED] The Trash folder exists right under the 
INBOX.
Sendmail is probably downcasing the subfolder to "trash".  Using 
anything other than lowercase characters (no whitespace) in folder names 
that you want to deliver directly to is bound to cause you a headache.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: VirtDomains, DefaultDomain, and SASL

2004-06-03 Thread saiello
Quoting Igor Brezac <[EMAIL PROTECTED]>:
> No.  Please read $cyrus-src/imap/global.c/canonify_userid() function.

Well If I my programing skils include a real language besides scripting
languages like C, I may be able to understand more than what I did, when
looking at the global.c file. But that didn't clue me into what the use of
defaultdomain value is for.

Thanks


This message was sent using IMP, the Internet Messaging Program.

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


Re: Automatically expire messages in imap folder

2004-06-03 Thread Dwight Tovey

Adi Linden said:
>> You can use 'ipurge' in a cron script.  I have my users put their spam
>> in
>> a "Spam" folder then have a nightly cron job run 'sa-learn' on it
>> followed
>> by:
>>  su cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 10 user/dwight/Spam'
>>
>> This deletes anything over 10 days old.
>
> What is 'sa-learn'?
>

It's for SpamAssassin (http://au.spamassassin.org/index.html). It
"teaches" SA about spam messages so that supposedly SA will catch them
automatically instead of user's having to drag them into the Spam mailbox.

/dwight

-- 
Dwight N. Tovey
email: [EMAIL PROTECTED]
web: http://www.dtovey.net/~dwight
---
"Unless someone like you cares a whole awful lot, nothing is going to get
better.  It's not."  "The Lorax" by Dr. Seuss

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


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Etienne Goyer
Zhang Weiwu wrote:
Sorry but I think my question is still not answered so far: if I am 
going to use the cyrus' delivery agent (now I realize I should use 
lmtp(8) from postfix and lmtpd(8) from cyrus), I don't have to go 
through virtual(8) and local(8) any more? Right?
Yes for local(8), but I am not sure about virtual(8).


signature.asc
Description: OpenPGP digital signature


Re: Cyrus IMAP 10 Year Anniversary

2004-06-03 Thread Rob Siemborski
On Thu, 3 Jun 2004, Etienne Goyer wrote:
Rob Siemborski wrote:
I'm happy to share with you that today, June 4, 2004, marks the 10 year 
anniversary of the first public alpha release of the Cyrus IMAP server.
Just being curious M. Siemborski: have you been part of the project since the 
beginning ?  What about the other major contibutors (like Ken M.) ?
Most of the original members have moved on to better things.  I've only 
been around for the past 4-5 years (and only directly involved with cyrus 
since the summer of 2000 or so).

-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Rob Siemborski
On Thu, 3 Jun 2004, Zhang Weiwu wrote:
I'm a newbie but I don't know why I need to use lmtp at all. I was told by 
the comment in main.cf and master.cf that I can use
mailbox_transport = cyrus
and deliver(8) will be called to do mail delivery. Since I'm runing a single 
server, is there any obvious reason I should use lmtp at all?
deliver is just an lmtp client.  You'll get much better performance by 
using lmtp directly (it severly reduces the number of fork() calls made 
per message delivery).

-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Zhang Weiwu
Etienne Goyer wrote:
Zhang Weiwu wrote:
I'm a newbie but I don't know why I need to use lmtp at all. I was 
told by the comment in main.cf and master.cf that I can use
mailbox_transport = cyrus
and deliver(8) will be called to do mail delivery. Since I'm runing a 
single server, is there any obvious reason I should use lmtp at all?

The reference to the 'cyrus' mailbox_transport is outdated.  You 
should now use lmtp instead.  Anyway, deliver(8) use LMTP to actually 
deliver the mail, so you may cut the command invocation and have 
Postfix deliver via LMTP in the first place.
Thank you.
Sorry but I think my question is still not answered so far: if I am 
going to use the cyrus' delivery agent (now I realize I should use 
lmtp(8) from postfix and lmtpd(8) from cyrus), I don't have to go 
through virtual(8) and local(8) any more? Right?
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Delivering mail to subfolders

2004-06-03 Thread Adi Linden
I have cyrus-imapd setup to work with sendmail-8.12.10. These are the 
cyrus related things I added to the mc file:

define(`confLOCAL_MAILER',`cyrusv2')dnl
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
FEATURE(`preserve_local_plus_detail')dnl
MAILER(cyrusv2)dnl

I can deliver mail into the INBOX just fine, in fact all mail goes into 
the users INBOX even if my to address is something like 
[EMAIL PROTECTED] The Trash folder exists right under the 
INBOX.

Adi


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


Re: Automatically expire messages in imap folder

2004-06-03 Thread Adi Linden
> You can use 'ipurge' in a cron script.  I have my users put their spam in
> a "Spam" folder then have a nightly cron job run 'sa-learn' on it followed
> by:
>  su cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 10 user/dwight/Spam'
> 
> This deletes anything over 10 days old.

What is 'sa-learn'?

Adi

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


Re: Cyrus IMAP 10 Year Anniversary

2004-06-03 Thread Etienne Goyer
Rob Siemborski wrote:
I'm happy to share with you that today, June 4, 2004, marks the 10 year 
anniversary of the first public alpha release of the Cyrus IMAP server.
Just being curious M. Siemborski: have you been part of the project 
since the beginning ?  What about the other major contibutors (like Ken 
M.) ?


signature.asc
Description: OpenPGP digital signature


Re: Automatically expire messages in imap folder

2004-06-03 Thread Patrick Boutilier
Adi Linden wrote:
Is it possible to have cyrus-imap automatically expire messages in a 
subfolder for every user of the system? I would like to deliver messages 
identified as SPAM to a particular folder, INBOX.spam. Further it would be 
nice if the number of messages in this folder could be limited, not by a 
quota but by automatically deleting older messages. Is that possible?

man cyradm
and look at mboxcfg and setinfo
for example:
mboxcfg user.someuser.spam expire 7
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Automatically expire messages in imap folder

2004-06-03 Thread Dwight Tovey

Adi Linden said:
> Is it possible to have cyrus-imap automatically expire messages in a
> subfolder for every user of the system? I would like to deliver messages
> identified as SPAM to a particular folder, INBOX.spam. Further it would be
> nice if the number of messages in this folder could be limited, not by a
> quota but by automatically deleting older messages. Is that possible?
>

You can use 'ipurge' in a cron script.  I have my users put their spam in
a "Spam" folder then have a nightly cron job run 'sa-learn' on it followed
by:
 su cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 10 user/dwight/Spam'

This deletes anything over 10 days old.

/dwight
-- 
Dwight N. Tovey
email: [EMAIL PROTECTED]
web: http://www.dtovey.net/~dwight
---
To steal ideas from one person is plagiarism; to steal from many is research.

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


Cyrus IMAP 10 Year Anniversary

2004-06-03 Thread Rob Siemborski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello All,
I'm happy to share with you that today, June 4, 2004, marks the 10 year 
anniversary of the first public alpha release of the Cyrus IMAP server.

Ten years ago, John Myers announced the release of a very early version of 
what is now one of the most advanced IMAP servers in existence today 
(http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=7). 
Ten years is a substantial amount of time for an open source project to 
thrive!

I'd like to take this opportunity to thank all of those who have spent 
time designing, coding, managing, debugging, testing, and even just plain 
using the system we have developed over the last decade.  Its been an 
exciting project to be a part of -- and we couldn't have gotten this far 
without everyone's help.

Here's looking to another successful decade,
- -Rob
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.76
iQA/AwUBQL87g2es8cJc4y/MEQI6rACgxP35IokiMif8LW570ddw+lOGPjcAn154
qQz812XmK4mx7zvygH/hJ7H/
=kG8a
-END PGP SIGNATURE-
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Etienne Goyer
Zhang Weiwu wrote:
I'm a newbie but I don't know why I need to use lmtp at all. I was told 
by the comment in main.cf and master.cf that I can use
mailbox_transport = cyrus
and deliver(8) will be called to do mail delivery. Since I'm runing a 
single server, is there any obvious reason I should use lmtp at all?
The reference to the 'cyrus' mailbox_transport is outdated.  You should 
now use lmtp instead.  Anyway, deliver(8) use LMTP to actually deliver 
the mail, so you may cut the command invocation and have Postfix deliver 
via LMTP in the first place.


signature.asc
Description: OpenPGP digital signature


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Zhang Weiwu
Simon Matter wrote:
Sure, you can use the cyrus transport with deliver. But it's not easier,
right? IIRC some things like single instance store are only possible with
LMTP and I never find out why people insist on using deliver. Are the any
advantages?
 

Okay I get you:) thank you.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Simon Matter
> Simon Matter wrote:
>
>>Forget about maildir and such. Cyrus-imapd is a mailserver, not a
>>fileserver. By mailserver I mean imap, pop3, sieve but also mail storage
>>or mail searching. You simply don't care about how cyrus-imapd stores
>>mails and metadata when you configure an MTA to work with cyrus-imapd,
>>just feed mail to it via LMTP and access it through IMAP, POP3 whatever.
>>Of course it can be interesting to know how cyrus-imapd stores mails in
>>case of a desaster recovery procedure or if you want to move accounts to
>>other servers, but that's another issue which again has nothing to do
>> with
>>postfix or any MTA.
>>
>>
>>
> I'm a newbie but I don't know why I need to use lmtp at all. I was told
> by the comment in main.cf and master.cf that I can use
> mailbox_transport = cyrus

That was with old cyrus-imapd versions.

> and deliver(8) will be called to do mail delivery. Since I'm runing a
> single server, is there any obvious reason I should use lmtp at all?

Sure, you can use the cyrus transport with deliver. But it's not easier,
right? IIRC some things like single instance store are only possible with
LMTP and I never find out why people insist on using deliver. Are the any
advantages?

Simon


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


Re: Convert seen database to 2.2.5

2004-06-03 Thread Adi Linden
> On my old cyrus-imapd server the seen database is in /var/imap/user. The 
> format of the file is like this:
> 
> [EMAIL PROTECTED] imap]# cat /var/imap/user/a/adilinden.seen 
> 00de43903fddebc61 0 0 1083101107 1:6
> 0136b4953d89df311 1063223744 4 1032458249 1:4
> 01ae95b23baa6abf1 1069777905 34 1082046786 22:35
> 021dd9873d04fe461 1043710521 2 1048793948 1:3
> 023dc1bf3db9fe2c1 1056603412 4 1056603398 1:4
> 04cb20843e6ce9591 1063289438 1 1047325017 1
> 082a8d0e3baa6b0c1 1086033180 97 1085765121 1,10,14:23,25:87,89:97
> 08e5c94a3d6e3b961 0 0 1030634399 1:2
> 092cd1a63f7063891 0 0 1064330121 1
> 
> How can I convert this to a proper format for cyrus-imapd 2.2.5? I am 
> using the rpm from 
> 

Got it, this does it:

/usr/lib/cyrus-imapd/cvt_cyrusdb \
/var/lib/imap/user/y/yvonnekake.seen.old flat \ 
/var/lib/imap/user/y/yvonnekake.seen skiplist

Adi

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


Re: ptloader

2004-06-03 Thread Igor Brezac

On Wed, 2 Jun 2004, Timo Veith wrote:

> Hi,
>
> where can I read more about ptloader? I want to configure authorization
> with ldap groups.

Unfortunately there isn't much documentation available.  You can start by
downloading the latest cyrus release (2.2.5) and use --with-auth=pts
--with-pts=ldap --with-ldap configure options.  Read imapd.conf man page
for ldap related options.  (The man page needs improvement, but it should
give you a start)

If you still need help, post your questions to the mailing list and I'll
try to help.

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


Re: email server concept: what's mail delivery agent

2004-06-03 Thread Zhang Weiwu
Simon Matter wrote:
Forget about maildir and such. Cyrus-imapd is a mailserver, not a
fileserver. By mailserver I mean imap, pop3, sieve but also mail storage
or mail searching. You simply don't care about how cyrus-imapd stores
mails and metadata when you configure an MTA to work with cyrus-imapd,
just feed mail to it via LMTP and access it through IMAP, POP3 whatever.
Of course it can be interesting to know how cyrus-imapd stores mails in
case of a desaster recovery procedure or if you want to move accounts to
other servers, but that's another issue which again has nothing to do with
postfix or any MTA.
 

I'm a newbie but I don't know why I need to use lmtp at all. I was told 
by the comment in main.cf and master.cf that I can use
mailbox_transport = cyrus
and deliver(8) will be called to do mail delivery. Since I'm runing a 
single server, is there any obvious reason I should use lmtp at all?
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Automatically expire messages in imap folder

2004-06-03 Thread Adi Linden
Is it possible to have cyrus-imap automatically expire messages in a 
subfolder for every user of the system? I would like to deliver messages 
identified as SPAM to a particular folder, INBOX.spam. Further it would be 
nice if the number of messages in this folder could be limited, not by a 
quota but by automatically deleting older messages. Is that possible?

Adi

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


[Solved]Re: Sieve?

2004-06-03 Thread Bjørn T Johansen
http://asg.web.cmu.edu/cyrus/download/imapd/install-upgrade.html
Next time I will read the doc before asking questions
BTJ
Bjørn T Johansen wrote:
I have just upgraded my Cyrus from 2.1.15 to 2.2.3 but I have a problem 
with sieve...
It looks like sieve now is looking for a file called defaultbc instead 
of default and that the format of this file has changed. How do I use 
the old format instead? Or if this is not possible, how do I convert the 
default file to defaultbc?

TIA,
BTJ
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


/var/imap/socket/lmtp set back to root?

2004-06-03 Thread Kevin Baker
I finally got postfix+cyrus working through lmtpd!!

However, now whenever I restart cyrus the
"/var/imap/socket/lmtp" gets set back to root:root

Which causes the "Permission Denied" problems.

I can set it back to cyrus:mail each time, but would like
to correct this issue.

Any ideas?

Thanks,


Kevin

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


cyradm, setquota and none

2004-06-03 Thread Philip Chambers
I have cyrus 2.2.3 and the cyradm man page says that one can use

  cyradm user.username STORAGE none

to remove a quota.

When I try this I get the error:

  setquota: STORAGE: none: not a number

In searching for information about this I saw reference to using "-1" instead of 
"none", but that gave the same result: "nat a number".  I then found an example 
which just used

  cyradm user.username

I found that did not fail, rather is set the quota to -1 in the quota file.  i.e. it 
did not, strictly speeking, remove the quota.

Can one actually remove a quota, and why is the man page for cyradm wrong?

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter

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


Sieve?

2004-06-03 Thread Bjørn T Johansen
I have just upgraded my Cyrus from 2.1.15 to 2.2.3 but I have a problem 
with sieve...
It looks like sieve now is looking for a file called defaultbc instead 
of default and that the format of this file has changed. How do I use 
the old format instead? Or if this is not possible, how do I convert the 
default file to defaultbc?

TIA,
BTJ
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html