cyrus-2.2.12, sieve and virtual domains

2006-01-29 Thread Denis V. Suhanov

Hello,

I've been a happy user for cyrus-imap for a while. However, after  
enabling virtual domains support, I figured that my sieve scripts do  
now work for virtual domains. I believe that there are no sub-domain  
folders for virtual-domain sieve users (only for 'primary domain'  
ones). Do I have to upgrade to the next version or maybe there is a  
way to make it work without recompiling and upgrading it?


Thanks a lot.

-- Denis

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-2.2.12, sieve and virtual domains

2006-01-29 Thread Denis V. Suhanov

Thanks for a prompt reply,

my problem seems to be that there's no directory for that sieve  
script. There are folders in cyrus/sieve for 'main' domain users, but  
there is nothing for sieve like  cyrus/partition/domain/doman.name  
for these scripts and I believe that this is the problem. Should I  
create these folders manually, and if I should, where and how do I  
name them?


-- Denis

On Jan 29, 2006, at 10:10, Alexander Dalloz wrote:


Am So, den 29.01.2006 schrieb Denis V. Suhanov um 18:36:


I've been a happy user for cyrus-imap for a while. However, after
enabling virtual domains support, I figured that my sieve scripts do
now work for virtual domains. I believe that there are no sub-domain
folders for virtual-domain sieve users (only for 'primary domain'
ones). Do I have to upgrade to the next version or maybe there is a
way to make it work without recompiling and upgrading it?



-- Denis


Sure you i.e. fileinto [EMAIL PROTECTED]/sub/folder and not
INBOX/sub/[EMAIL PROTECTED]

Alexander


--
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 19:09:18 up 55 days, 23:46, load average: 0.24, 0.17, 0.10

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




PGP.sig
Description: This is a digitally signed message part

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/sendmail/smmapd question

2004-08-06 Thread Denis V. Suhanov
Hello,

I  attempt  to  pass  domain  information from sendmail to cyrus, I've
followed   the   steps   described  at
http://anfi.homeunix.net/sendmail/rtcyrus2.html.

A have also turned on smmapd in cyrus.conf:

smmapd cmd=smmapd prefork=1 listen=/data/cyrus/imap/socket/smmapd
prefork = 1

and I can see that it is running:

# ps auxw | grep cyrus | grep sm
cyrus   42863  0.0  0.8 23088 2084  ??  S12:35PM   0:00.01 smmapd

it's socket does exist:
# ls -al /data/cyrus/imap/socket/ | grep sm
srwxrwxrwx   1 root   mail0 Aug  6 12:35 smmapd=
-rw---   1 cyrus  mail0 Aug  6 12:23 smmapd-0.lock

and I have turned on mrs_cyrus in sendmail.mc:
...
define(`CYRUS_LMTP_SOCKET', `/data/cyrus/imap/socket/lmtp')
FEATURE(`no_default_msa')dnl
FEATURE(`mrs')dnl
FEATURE(`mrs_cyrus',`/data/cyrus/imap/socket/smmapd')
MODIFY_MAILER_FLAGS(`CYRUSV2', `-A5')dnl
MAILER(`cyrusv2')
...

I   have   created   a   mailertable:

# cat mailertable
domain.org  mrs_cyrus_user:error:5.1.1:550 User unknown

and created a hash:
# makemap hash mailertable.db  mailertable

(by  the way, do I have to turn FEATURE('mailertable') on or msr_cyrus
assumes  it  automatically?  I've  tried  both  with  the same result,
anyway)

But now whenever I am trying to start sendmail, I am getting the
following error:

/etc/mail# make start
Starting: sendmail554 5.0.0 /etc/mail/sendmail.cf: line 137: readcf: map cyrus:
class socket not available
sendmail-clientmqueue.

I  know  that  I've done something wrong. For now, I am just trying to
pass  the  domain information from sendmail to cyrus and verify
whether the receipient exists at all. Am I right assuming that once I
get this working I'll just have to add new entries to mailertable (w/o
removing the domain info, something like this:

defaultdomain.org  mrs_cyrus_user:error:5.1.1:550 User unknown
domain2.orgmrs_cyrus_mailertable:error:5.1.1:550 User unknown
domain3.netmrs_cyrus_mailertable:error:5.1.1:550 User unknown

and  I'll  get  it  working  (given that imapd.conf has virtual domain
turned on)?

Could  anyone  point  me  to what am I doing wrong here at the current
step?  Thanks  a  lot for your help (hopefully, it was not an offtopic
given - my problem is Sendmail configuration, not really Cyrus).

-- 
Best regards,
 Denis  mailto:[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[2]: cyrus/sendmail/smmapd question

2004-08-06 Thread Denis V. Suhanov
A I have a feeling you did not compile sendmail w/ smmap support.
A What version of sendmail are you using, and what does your 
A site.config.m4 file look like?

I am using FreeBSD's port, version 8.13.0, compiled with tls and sasl2
support.   Do  I  have  to  change  something  in  order  to  make  it
understand smmap? Regarding the site.config.m4, I am not 100% sure
which one port system is using, but here are the site.config files I
suspect it should (for sendmail+tls+sasl2-8.13.0 port):

/usr/ports/mail/sendmail/files # cat site.config.m4.tls
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TLS_1')
APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SSL')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
/usr/ports/mail/sendmail/files # cat site.config.m4.sasl2
APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include')
APPENDDEF(`conf_sendmail_ENVDEF', `-DSASL=2')
APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')

-- 
Best regards,
 Denismailto:[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


Your Cyrus-SpamAssassin integration

2004-08-04 Thread Denis V. Suhanov
Hello,

It  has  probably already been discussed, but anyway - how do you guys
deal  with  the integration of Cyrus IMAP and SpamAssassin? Given that
most  of the users do not have home folders and it is preferrable that
each  of  them  have their own idea of what spam is and what it isn't?
What would you recommends? I thought of having a My SQL background for
SA-settings  and  some  kind  (failed  to  find  any) web interface to
control  it...  or maybe something like cron-controlled sa-learn --ham
and sa-learn --spam?

Thanks for your recommendations.

-- 
Best regards,
 Denis mailto:[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: Allowing the default domain to be virtual

2004-06-15 Thread Denis V. Suhanov
H, correct me if I'm wrong, but doesn't 'defaultdomain' option do
that?

TA   Hi.  I want to set up a Cyrus IMAPd so that every domain is virtual,
TA  yet still allowing unqualified usernames to log in - in that case, they
TA  should be mapped into some default virtual domain.

TA   This isn't currently possible, is it?  I couldn't figure out how,
TA  anyway..  So I thought I'd implement a little something to make it
TA  possible.  Being lazy and all, I'd like to do it in a way that you'd be
TA  inclined to commit to the main distribution, so that I can simply use
TA  vendor-provided binaries from the next version on.

TA   So I've hacked together an example patch which seems to work for me,
TA  at least.  Comments solicited..

-- 
Best regards,
 Denismailto:[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


Cyrus and Mailman integration.

2004-06-10 Thread Denis V. Suhanov
Hello everyone,

Sorry  for  offtopic,  but  has  anyone managed to integrate Cyrus and
Mailman  together? I'd like to have both a web-interface for a Mailman
maillist  but  also  offer  a  anonymous  read-only IMAP access to the
mailman  lists? Anyway has dealt with that? What would be the best and
simplest approach?

Thanks a lot.

-- 
Best regards,
 Denis  mailto:[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


Cyrus and procmail

2004-01-30 Thread Denis V. Suhanov
Hello everyone,

Is there a right way to set up procmail to work with Cyrus? If there
isn't, can I at least have some default procmail script for all of the
users and specialized ones for those who have their local accounts?

Thanks a lot.

-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]



Re: Recommended webmail clients to use with cyrus..

2004-01-27 Thread Denis V. Suhanov
Hello Jason,

Tuesday, January 27, 2004, 3:17:40 PM, you wrote:
JW In the last of my final pieces to my mail server, im looking for a webmail
JW package. Obviously, it needs to work with Cyrus.

JW Anyone have any suggestions on a webmail to use, that works well with
JW Cyrus? Anyone that stands out better than the rest or is a better choice
JW overall?

Horde  works  just  fine with me. The only problem is that it does not
provide  good  Cyrus-compatible  scheme for user password change, so I
had to use Mailadmin (had to modify it though, did not want to work on
modern PHP versions). Except this, I am extremely pleased with Horde.

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



user administration question

2004-01-08 Thread Denis V. Suhanov
Hello,

I  have a working Cyrus installation and everything is just fine, I am
really happy with it. However, I would like to let my users an ability
to change their passwords. I've triedmailadmin
(mailadmin.sourceforge.net),  but  failed to make it work, besides, it
does  not  seem  to  be  updated  for  a long while. I've heard of the
web-cyradming   project,   but  it  seems  to  be  more  of  the  site
administrator  tool then anything else. Horde looks to be a great tool
and  it works just fine, but I did not find any saslpasswd2-compatible
module for it.

I  am  sure  that I'm not the only one having this problem, but I am a
newbie  and  maybe there is a well-known system that 'just works'. Any
suggestions?

Thank you very much.

-- 
Sincerely yours,
 Denis Suhanovmailto:[EMAIL PROTECTED]



sieve authentication

2004-01-08 Thread Denis V. Suhanov
Hello,

Is  there  a way to disable plaintext passwords in imap but allow them
in  sieve  (since  I have it running locally). There is a bug in PHP's
Net_Sieve module that makes it hang whenever timsieved does not report
a PLAIN method (http://pear.php.net/bugs/bug.php?id=159).

Thanks a lot.

-- 
Sincerely yours,
 Denis Suhanovmailto:[EMAIL PROTECTED]



Re[2]: sieve authentication

2004-01-08 Thread Denis V. Suhanov
Hello Rob,

Thursday, January 8, 2004, 1:42:58 PM, you wrote:
 Is  there  a way to disable plaintext passwords in imap but allow them
 in  sieve  (since  I have it running locally). There is a bug in PHP's
 Net_Sieve module that makes it hang whenever timsieved does not report
 a PLAIN method (http://pear.php.net/bugs/bug.php?id=159).
RS If you are running 2.2.x you can have a per-serive allowplaintext option.
You  mean,  by  using  a -C switch and a separate imapd.conf, only for
timsieved (that's what I've done)? I failed to find any sieve-specific
options in man imapd.conf


-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



moving Cyrus again

2003-11-18 Thread Denis V. Suhanov
Hello,

I already asked that question (moving the Cyrus server from one computer
to  another)  yesterday  and was told that I should use cyrusdb utility.
But  neither  documentation  nor  man  told me what actual files does it
create  and  how  do I restore them after copying. Could somebody please
help me with that?

I  have  Cyrus  installed on one box and need to move it to another. The
source  box  is  OpenBSD  3.3  and the target box is FreeBSD 5.1. Source
server  is  Cyrus 2.1.11 and I am planning to have Cyrus 2.2.2 beta on a
target.  I  need to move all users' folders and ACLs and (ideally) their
SASL accounts (I am using SASLDB).

Thanks a lot.

-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]



Re[2]: Message management question

2003-10-09 Thread Denis V. Suhanov
RS Using the IMAP protocol is definately the recommended way. If your
RS client will let you use drag-and-drop, go ahead and do that.

I tried that, but now every time when I am selecting my INBOX, there
is a message in my IMAP client log:

!09.10.2003,  08:04:06:  IMAP  -  Cannot  list  headers of the mailbox
INBOX. Server reports: Invalid sequence in Uid

Is  there something I should do? Something that would regenerate these
ids for the messages? I tried reconstruct:

/usr/cyrus/bin/reconstruct -r user.username

but it did not make much difference - the message is still there.


-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Message management question

2003-10-08 Thread Denis V. Suhanov
Hello,

I wonder, is there any way to put my mail archive into a new Cyrus 
account? I have quite a few messages I've received on my old pop 
account. They are stored on my client locally but I can export them 
pretty much to any known message format. In fact, I can even use 
drag-and-drop features of the client program to move the messages into 
an IMAP account.

I am just not sure whether it is going to be OK and what would be the 
safest way to have it done. Will I have to perform some additional steps 
to update the account databases? What is the right way to insert 
existing messages into user's account and transfer messages among accounts?

Thank you very much.

Sincerely yours,
Denis


Sieve outgoing mail sorting question.

2003-10-01 Thread Denis V. Suhanov
Hello,

Is there a way to use sieve for sorting an outgoing mail? For example, I
have  folders  user.test.work.received  and user.test.work.sent and want
all  work-related  incoming  mail  to  go to the user.test.work.received
(this  part  works  just  fine)  but  also  all  outgoing  mail to go to
user.test.work.sent?  I  am  not  sure what is the right way to do it. I
tried something like this:

if allof(header :contains from [EMAIL PROTECTED],
 header :contains to workdomain.com) {
   fileinto work.sent;
}

(I  am  using  altnamespace,  so INBOX.work.sent is not supposed to work
here, right?)

but  it  does  not work, the mail still appears in default 'Sent' folder
(the on is used by MUA).

Thanks a lot for your comments.

Sincerely yours,
Denis



Re: +details delivery

2003-09-26 Thread Denis V. Suhanov
I've  already asked for help with the +detail delivery and (thanks a lot, Rob) I got 
an answer on that:

 As  long  as  sendmail isn't stripping what is between the + and the @
 this  should  be easy, just give anyone the p right on the folders
 in question.
 
 Then rjs3+foo will file into user.rjs3.foo

I  tried  that  and  added  the p right (lam user.* anyone p) - didn't help. I tried 
to add/remove the FEATURE(`preserve_local_plus_detail') to my sendmail.mc - does not 
make any difference. I googled around but did  not  find  anything  that would have 
helped me with that.

I assume that my sendmail  does  not  strip off the details from the addresses, 
because I receive   the   letters   in   my  INBOX  with  as  'user+details'.  The 
/var/log/maillog  does  not  show  anything  suspicious  (and  logs  theuser+details 
addresses, by the way):

Sep 26 15:00:08 station sm-mta[8275]: h8QM07Eb009927:to=[EMAIL PROTECTED], 
delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=30713, relay=localhost, 
dsn=2.0.0, stat=Sent

I have nothing special in my sendmail.conf:

define(`confLOCAL_MAILER', `cyrusv2')dnl

MAILER(local)dnl
MAILER(smtp)dnl
MAILER(cyrusv2)dnl

I am really sorry for disturbing you guys again with the same question, but what elase 
I should check? Is there something I can read about proper set up of sendmail for 
detailed delivery?

Thanks a lot for your help.


-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]




Re[2]: +details delivery

2003-09-26 Thread Denis V. Suhanov
Hello Pat,

Friday, September 26, 2003, 4:16:48 PM, you wrote:
 I  tried  that  and  added  the p right (lam user.* anyone p)
PL Was that a typo?  It should have been 'sam', not 'lam' to change
Yes, that was a type. Sorry about that. I used (sam user.* anyone p) and I can see 
that the acls are set for all of the folder (by using lam)

PL There is one other thing that may or may not be an issue.  Do you have a sieve 
script activated for your INBOX ?
No, I do not have any sieve script activated. timsieved is running on the system 
though (if it makes any difference

Is there anything special I have to add to the sendmail config file? Should I or 
should I not keep the preserve_local_plus_delivery feature? Is there any way to turn 
on the local delivery so I know for sure that it does not modify the delivery address 
or something like that?

Thank you very much for the reply though.

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Cyrus IMAP use questions.

2003-09-23 Thread Denis V. Suhanov
Hello all,

I've  already  asked  a  few  questions  here and the mailing list was
extremely  helpful (in fact, I only was able to start using Cyrus IMAP
server  after  asking  around  here).  Once  again,  I  want  to thank
everybody who replied and helped me with my problems.

Now  I have a couple of questions regarding the neat little things I'd
like  to  implement  on  my  mail  server upon user's requests.

First  of  all,  I  wanted  to  implement  incoming  mail  sorting via
procmail. Considering that none of my users have local shell accounts,
what  is the right way to implementing individual procmail scripts for
those  users  who don't want to use sieve? Or should I use sieve as an
alternative?  My  only  concern with it is that most of the clients my
users  use are unaware of sieve and I have no clue how to provide them
an access to their sieve's scripts in this case.

I  also  was  asked  to  provide an ability to collect mail from other
user's  accounts  automatically (mostly pop3) and to put it in my IMAP
server's  folders. Fetchmail seems to be useful for that, but the same
problem  appears - since my users do not have local accounts, I am not
sure  what  would  be  a right way to create fetchmail's configuration
files  for  each  of  them  individually.  I  am thinking of providing
something  like  an  SSL-wrapped  web page with authentication against
sasldb  for  this,  but  still  you  might have a better idea on that.
Speaking  of  this approach, is there a standard tool for this kind of
authentication  (SSL-ed  webpage  and  sasldb)?  I  am  asking because
another problem I have here is letting users change their sasldb-based
passwords without having to log in to the box.

And  the  last  (and  probably  the most stupid) question is regarding
'details  delivery'.  I know that it is possbile to specify the folder
name   together   with  an  e-mail  address  so  the  letter  will  be
automatically  put  in the folder specified ([EMAIL PROTECTED], for
example,  is supposed to put an e-mail into 'work' folder give that it
exists).  But  I  am  not sure what parameters I have to specify in my
sendmail.mc  to get this to work. I am using cyrusv2 local delivery (I
believe  it  uses  LMTP, right?) Do I have to use any special rules or
pass any special parameters to the for this feature to work?

Thank you all very much, I would really appreciate any help with these
problems.

-- 
Sincerely yours,
 Denis   mailto:[EMAIL PROTECTED]



Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello,

I  am  using  Cyrus  IMAP 2.1.15 with Sendmail. I've spent lot of time
trying  to set up my IMAP clients (M$ Outlook, Mozilla Thunderbird and
The  Bat!)  to work with it but I keep having problems with folders.
Whenever  I  create  a user (e.g. cm user.test), each of these clients
gets  an  non-selectable  folder  user,  then  fodler  test  which
contains  all  user's messages. I tried to play with IMAP root setting
on the clients, but it does not seem to help much. If I make user.test
my IMAP root - I am unable to see the messages :). I can not set INBOX
as  my  IMAP  root  (all  clients report server error, something like:
Your specified Root Folder Path of 'INBOX' could neither be found nor
created. Please verify your Root Folder Path is correct, and that your
IMAP  account  is properly configured. When I use 'user.test' in this
situation,  everything  works just fine, except that I can not see the
messages (apparentely, they are left higher in the folder hierarchy).

I  am  trying  to manually create an inbox folder for users, something
like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
manually  created  folder.  This is to put all the folder (Sent Items,
Drafts  etc) under the same 'user.test' and make it look good. I tried
to  find  something  on  the  Net but failed. Is there a way for me to
configure  my  Sendmail  so the LMTP delivery (I am using local mailer
'cyrusv2'  which  is  supposed  to  be  LMTP)  puts  all  e-mails into
'user.username.INBOX' folder?

Here is the piece of my sendmail.mc:

define(`confLOCAL_MAILER', `cyrusv2')dnl
...skipped...
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(cyrusv2)dnl


Also, I have one more question. I tried to use pop3d to access my IMAP
account, but whenever I connect to POP3 daemon, the client reports an
error (after authentication, which works just fine):

 18.09.2003, 12:16:44: FETCH - TLS handshake complete
 18.09.2003, 12:16:45: FETCH - connected to POP3 server
!18.09.2003,  12:16:48: FETCH - Server reports error. The response is:
-ERR [SYS/PERM] Unable to open maildrop

It seems to me that it is still something related to the INBOX folder.
Everything  I tried does not seem to help much. Any ideas on what that
is?


Thank you very much for your help.

-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]



Re[2]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Andrew,

AM What you see as the Cyrus admin is a little different that what an IMAP
AM user sees.  user.test is the Inbox folder, but user's access it as
AM INBOX.  Unless you have set altnamespace: yes in your imapd.conf file,
AM you should set your Root Folder Path to INBOX. (note the period after
AM INBOX).
I  tried the INBOX., but even with the period after INBOX, I receive
the same message in M$ Outlook Express (your specified Root Folder of
'INBOX'  could  not  neither  be  found nor created...). With Mozilla
Thunderbird,  I  just  see  nothing  (no error message, no folders, no
messages). So the presence of the period did not change anything.

 I  am  trying  to manually create an inbox folder for users, something
 like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
 manually  created  folder.  This is to put all the folder (Sent Items,
 Drafts  etc) under the same 'user.test' and make it look good. I tried
 to  find  something  on  the  Net but failed. Is there a way for me to
AM user.test is the INBOX, as seen from the admin viewpoint.  Mail
AM delivered to user test will go into that mailbox.  Subfolders would be
AM user.test.subfolder from the admin viewpoint and INBOX.subfolder from
AM the user viewpoint.

But  in  the  mail  clients, they usually have something like Inbox,
Sent Items, Drafts etc located under the same root. So by creating
additional  folder named 'Inbox' manually under user's INBOX (which is
user.username),  I  tried to make it work without having user.username
in  my  mail clients (which is not just sort of ugly, but also prevent
the  clients from being able to store appropriate messages on server).
Is is a wrong approach?

Most  likely  it  is  somewhat  stupid I've done, but I really can not
realize what that is. Also, as I mentioned in the previos cry for
help message, I am unable to get a pop3 connection. The error message
is

 !18.09.2003, 13:35:06: FETCH - Server reports error. The response is:
 -ERR [SYS/PERM] Unable to open maildrop

that makes me suspect that the problem of invalid (from client's view)
INBOXes is somewhat related to the pop3 as well. I am reallyl confused
now and have no slightest clue what to do further.

here is my imapd.conf:

configdirectory: /var/cyrus/imap
partition-default: /var/cyrus/partition
admins: cyrus
allowanonymouslogin: no
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_mech_list: CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
sendmail: /usr/sbin/sendmail
sievedir: /var/cyrus/sieve
tls_ca_file: /var/cyrus/imap/server.pem
tls_cert_file: /var/cyrus/imap/server.pem
tls_key_file: /var/cyrus/imap/server.pem

and cyrusd.conf:

# standard standalone server implementation
START {
  # do not delete this entry!
  recover   cmd=ctl_cyrusdb -r

  # this is only necessary if using idled for IMAP IDLE
  idled cmd=idled
}

# UNIX sockets start with a slash and are put into /var/cyrus/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=imap prefork=5
  imaps cmd=imapd -s listen=imaps prefork=5
  pop3  cmd=pop3d listen=pop3 prefork=5
  pop3s cmd=pop3d -s listen=pop3s prefork=5
  # sieve   cmd=timsieved listen=sieve prefork=0

  # at least one LMTP is required for delivery
  #  lmtp   cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/cyrus/imap/socket/lmtp prefork=1

  # this is only necessary if using notifications
  #  notify cmd=notifyd listen=/var/cyrus/imap/socket/notify proto=udp
 prefork=1
}

EVENTS {
  # this is required
  checkpointcmd=ctl_cyrusdb -c period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 at=0400

  # this is only necessary if caching TLS sessions
  tlsprune  cmd=tls_prune at=0400
}


Thanks a lot for your help guys. I am really getting close to give up,
set pop3a back and never use IMAP anymore :)

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re[4]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Connie,

CSF It sounds like it cannot find the mailbox where it wants to--in the
CSF /var/cyrus/partition/users/username directory. Did you create the
CSF mailboxes?
CSF c*

The  path  is  correct  and  I have created the mailboxes. I used this
mini-FAQpageas   a   reference
(http://www.abstrakt.ch/unix/MINI-HOWTO-openbsd-cyrus.html)  because I
am  using  OpenBSD.  This  is  how  I  created the partition and other
folders:

mkdir -p /var/cyrus/partition /varcyrus/imap /var/cyrus/sieve
chown -R cyrus.mail /varcyrus/*
chmod 750 /var/cyrus/imap
chmod 750 /var/cyrus/sieve
ln -s /var/cyrus/imap /var/imap
ln -s /var/cyrus/sieve /var/sieve
ln -s /var/cyrus/partition /var/spool/imap

su cyrus
tools/mkimap
exit

I also verifyed the access rights and they seem to be fine (cyrus:mail
access  only to the /var/cyrus and below). Master daemon is started as
user cyrus, too.


-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re[6]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Connie,

CSF Right, but then did you go in with cyradm (or some other method) and create
CSF the mailboxes: for instance
yes,  exactly. That's how I create them. And I also have all the right
set  for  users  (since I am using SASL and it requires realms, I have
the  right  set  for both user denis and [EMAIL PROTECTED]). Still does
not help :(



-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re[3]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Andrew,

AM For maximum compatibility and ease of use, I'd recommend setting
AM altnamespace: yes in imapd.conf.  Otherwise, you *have* to set the Root
AM Folder Path to INBOX. to get folders to work.  Read the documentation
AM for altnamespace before you make this change.  Basically, nothing changes
AM on the server side (except sieve filters), but you eliminate the needs to
AM set the Root Folder Prefix on every client.  Most clients will work out of
AM the box this way (no special settings, just use the New Account Wizards).

I  have  set  altnamespaces:  yes  as you suggested and configured the
client  as  it is described in this document, but the only differene I
've  noticed is that now instead of having folder user and then folder
test  in  it,  I  have  folder Other Users and then the folder named
after  the  user  name.  I  still am unable to make the clients to use
their  folders  for  inbox/outbox/drafts etc. Is there any way to find
out what's wrong with my installation? It is getting only worse :(

I've  forgotten  to mention that it happens in all IMAP clients I have
tried (M$ Outlook, Mozilla Thunderbird and The Bat!).

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]