Postfix, Cyrus, and virtual domains : verify_user failed: Mailbox does not exist - Help !

2008-04-12 Thread Sébastien Rozier
Hello,

I'm trying to setup a Postfix+Cyrus installation (no SQL nor LDAP, only hash 
files).
I only want to handle virtual domains, no local accounts
My cyrus imap version is 2.3.7 since this is the packaged version for 
centos/redhat.
My postfix version is 2.3.3 for the same reason.
I'm still having the same problem, after hours and hours of researchs, surfing, 
and doc reading :
lmtpunix[11333]: verify_user(user.test) failed: Mailbox does not exist
And then mail bounces...

I'm not sure if this is a postfix or cyrus problem, it seems like postfix, 
through cyrus deliver, doesn't pass @myothervirtualdomain1.com
(This is explained here but I don't know how to make it work : 
http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/CyrusDeliverWithAt )

Apr 12 15:31:07 atlantis postfix/smtpd[12091]: connect from 
smtp5-g19.free.fr[212.27.42.35]
Apr 12 15:31:07 atlantis postfix/smtpd[12091]: 8A2F4587D4: 
client=smtp5-g19.free.fr[212.27.42.35]
Apr 12 15:31:07 atlantis postfix/cleanup[12098]: 8A2F4587D4: message-id=[EMAIL 
PROTECTED]
Apr 12 15:31:07 atlantis postfix/qmgr[9964]: 8A2F4587D4: from=[EMAIL 
PROTECTED], size=1772, nrcpt=1 (queue active)
Apr 12 15:31:07 atlantis postfix/smtpd[12091]: disconnect from 
smtp5-g19.free.fr[212.27.42.35]
Apr 12 15:31:07 atlantis lmtpunix[11333]: accepted connection
Apr 12 15:31:07 atlantis lmtpunix[11333]: lmtp connection preauth'd as postman
Apr 12 15:31:07 atlantis lmtpunix[11333]: verify_user(user.test) failed: 
Mailbox does not exist
Apr 12 15:31:07 atlantis postfix/pipe[12099]: 8A2F4587D4: to=[EMAIL 
PROTECTED], relay=cyrus, delay=0.03, delays=0.02/0/0/0.01, dsn=5.6.0, 
status=bounced (data format error. Command output: test: Mailbox does not exist 
)
Apr 12 15:31:07 atlantis postfix/cleanup[12098]: 916EB587FA: message-id=[EMAIL 
PROTECTED]
Apr 12 15:31:07 atlantis postfix/bounce[12102]: 8A2F4587D4: sender non-delivery 
notification: 916EB587FA
Apr 12 15:31:07 atlantis postfix/qmgr[9964]: 916EB587FA: from=, size=3604, 
nrcpt=1 (queue active)
Apr 12 15:31:07 atlantis postfix/qmgr[9964]: 8A2F4587D4: removed
Apr 12 15:31:08 atlantis postfix/smtp[12103]: 916EB587FA: to=[EMAIL 
PROTECTED], relay=mail.cybergaia.org[82.247.77.102]:25, delay=0.77, 
delays=0/0/0.59/0.17, dsn=2.0.0, status=sent (250 ok 1208010902 qp 20643)
Apr 12 15:31:08 atlantis postfix/qmgr[9964]: 916EB587FA: removed

I created my mailbox with :
  [EMAIL PROTECTED] ~]# su - cyrus
  -bash-3.1$ cyradm -u [EMAIL PROTECTED] localhost
  IMAP Password:
localhost.localdomain lm
  localhost.localdomain cm [EMAIL PROTECTED]
  localhost.localdomain lm
  user.test (\HasNoChildren)
  localhost.localdomain exit
  -bash-3.1$ ls -laR /var/spool/imap/
  /var/spool/imap/:
  total 12
  drwx--  3 cyrus mail 4096 Apr 12 15:18 .
  drwxr-xr-x 13 root  root 4096 Apr 10 23:28 ..
  drwx--  3 cyrus mail 4096 Apr 12 15:18 domain

  /var/spool/imap/domain:
  total 12
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 m

  /var/spool/imap/domain/m:
  total 12
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 myothervirtualdomain1.com 

  /var/spool/imap/domain/m/myothervirtualdomain1.com :
  total 12
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 t

  /var/spool/imap/domain/m/myothervirtualdomain1.com/t:
  total 12
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 user

  /var/spool/imap/domain/m/myothervirtualdomain1.com/t/user:
  total 12
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
  drwx-- 2 cyrus mail 4096 Apr 12 15:18 test

  /var/spool/imap/domain/m/myothervirtualdomain1.com/t/user/test:
  total 20
  drwx-- 2 cyrus mail 4096 Apr 12 15:18 .
  drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
  -rw--- 1 cyrus mail4 Apr 12 15:18 cyrus.cache
  -rw--- 1 cyrus mail  164 Apr 12 15:18 cyrus.header
  -rw--- 1 cyrus mail   96 Apr 12 15:18 cyrus.index
  -bash-3.1$
My Cyrus-imapd configuration is :
  [EMAIL PROTECTED] ~]# more /etc/cyrus.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/lib/imap/sockets
  SERVICES {
# add or remove based on preferences
imap  cmd=imapd listen=localhost:imap prefork=0
imaps cmd=imapd -s listen=imaps prefork=5
  #  pop3 cmd=pop3d listen=pop3 prefork=3
  #  pop3scmd=pop3d -s listen=pop3s prefork=1
sieve cmd=timsieved listen=sieve prefork=0

# these are only necessary if receiving/exporting 

Re: Postfix, Cyrus, and virtual domains : verify_user failed: Mailbox does not exist - Help !

2008-04-12 Thread Simon Matter
 Hello,

 I'm trying to setup a Postfix+Cyrus installation (no SQL nor LDAP, only
 hash files).
 I only want to handle virtual domains, no local accounts
 My cyrus imap version is 2.3.7 since this is the packaged version for
 centos/redhat.
 My postfix version is 2.3.3 for the same reason.
 I'm still having the same problem, after hours and hours of researchs,
 surfing, and doc reading :
 lmtpunix[11333]: verify_user(user.test) failed: Mailbox does not exist
 And then mail bounces...

 I'm not sure if this is a postfix or cyrus problem, it seems like postfix,
 through cyrus deliver, doesn't pass @myothervirtualdomain1.com
 (This is explained here but I don't know how to make it work :
 http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/CyrusDeliverWithAt )

Do you have a good reason to use the deprecated 'cyrus' transport?
Otherwise you may try 'mailbox_transport =
lmtp:unix:/var/lib/imap/socket/lmtp' instead.

Simon


 Apr 12 15:31:07 atlantis postfix/smtpd[12091]: connect from
 smtp5-g19.free.fr[212.27.42.35]
 Apr 12 15:31:07 atlantis postfix/smtpd[12091]: 8A2F4587D4:
 client=smtp5-g19.free.fr[212.27.42.35]
 Apr 12 15:31:07 atlantis postfix/cleanup[12098]: 8A2F4587D4:
 message-id=[EMAIL PROTECTED]
 Apr 12 15:31:07 atlantis postfix/qmgr[9964]: 8A2F4587D4:
 from=[EMAIL PROTECTED], size=1772, nrcpt=1 (queue active)
 Apr 12 15:31:07 atlantis postfix/smtpd[12091]: disconnect from
 smtp5-g19.free.fr[212.27.42.35]
 Apr 12 15:31:07 atlantis lmtpunix[11333]: accepted connection
 Apr 12 15:31:07 atlantis lmtpunix[11333]: lmtp connection preauth'd as
 postman
 Apr 12 15:31:07 atlantis lmtpunix[11333]: verify_user(user.test) failed:
 Mailbox does not exist
 Apr 12 15:31:07 atlantis postfix/pipe[12099]: 8A2F4587D4:
 to=[EMAIL PROTECTED], relay=cyrus, delay=0.03,
 delays=0.02/0/0/0.01, dsn=5.6.0, status=bounced (data format error.
 Command output: test: Mailbox does not exist )
 Apr 12 15:31:07 atlantis postfix/cleanup[12098]: 916EB587FA:
 message-id=[EMAIL PROTECTED]
 Apr 12 15:31:07 atlantis postfix/bounce[12102]: 8A2F4587D4: sender
 non-delivery notification: 916EB587FA
 Apr 12 15:31:07 atlantis postfix/qmgr[9964]: 916EB587FA: from=,
 size=3604, nrcpt=1 (queue active)
 Apr 12 15:31:07 atlantis postfix/qmgr[9964]: 8A2F4587D4: removed
 Apr 12 15:31:08 atlantis postfix/smtp[12103]: 916EB587FA:
 to=[EMAIL PROTECTED],
 relay=mail.cybergaia.org[82.247.77.102]:25, delay=0.77,
 delays=0/0/0.59/0.17, dsn=2.0.0, status=sent (250 ok 1208010902 qp 20643)
 Apr 12 15:31:08 atlantis postfix/qmgr[9964]: 916EB587FA: removed

 I created my mailbox with :
   [EMAIL PROTECTED] ~]# su - cyrus
   -bash-3.1$ cyradm -u [EMAIL PROTECTED] localhost
   IMAP Password:
 localhost.localdomain lm
   localhost.localdomain cm [EMAIL PROTECTED]
   localhost.localdomain lm
   user.test (\HasNoChildren)
   localhost.localdomain exit
   -bash-3.1$ ls -laR /var/spool/imap/
   /var/spool/imap/:
   total 12
   drwx--  3 cyrus mail 4096 Apr 12 15:18 .
   drwxr-xr-x 13 root  root 4096 Apr 10 23:28 ..
   drwx--  3 cyrus mail 4096 Apr 12 15:18 domain

   /var/spool/imap/domain:
   total 12
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 m

   /var/spool/imap/domain/m:
   total 12
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 myothervirtualdomain1.com

   /var/spool/imap/domain/m/myothervirtualdomain1.com :
   total 12
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 t

   /var/spool/imap/domain/m/myothervirtualdomain1.com/t:
   total 12
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 user

   /var/spool/imap/domain/m/myothervirtualdomain1.com/t/user:
   total 12
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 .
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
   drwx-- 2 cyrus mail 4096 Apr 12 15:18 test

   /var/spool/imap/domain/m/myothervirtualdomain1.com/t/user/test:
   total 20
   drwx-- 2 cyrus mail 4096 Apr 12 15:18 .
   drwx-- 3 cyrus mail 4096 Apr 12 15:18 ..
   -rw--- 1 cyrus mail4 Apr 12 15:18 cyrus.cache
   -rw--- 1 cyrus mail  164 Apr 12 15:18 cyrus.header
   -rw--- 1 cyrus mail   96 Apr 12 15:18 cyrus.index
   -bash-3.1$
 My Cyrus-imapd configuration is :
   [EMAIL PROTECTED] ~]# more /etc/cyrus.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/lib/imap/sockets
   SERVICES {
 # add or remove based on preferences
 imap  cmd=imapd listen=localhost:imap prefork=0
 imaps 

Postfix, Cyrus, and virtual domains : verify_user failed: Mailbox does not exist - Help !

2008-04-12 Thread Sébastien Rozier
 
 Do you have a good reason to use the deprecated 'cyrus' transport?
 Otherwise you may try 'mailbox_transport =
 lmtp:unix:/var/lib/imap/socket/lmtp' instead.
 
 Simon
 

You're right, just didn't see it...and working perfectly with that :-)
In fact for my case, I used : virtual_transport = 
lmtp:unix:/var/lib/imap/socket/lmtp

With lmtp transport, do I still need cyrus_destination_recipient_limit = 1 ?

Thanx a lot...do you have ideas for my two other questions ?

 My Cyrus-imapd configuration is :
   [EMAIL PROTECTED] ~]# more /etc/cyrus.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/lib/imap/sockets
   SERVICES {
 # add or remove based on preferences
 imap  cmd=imapd listen=localhost:imap prefork=0
 imaps cmd=imapd -s listen=imaps prefork=5
   #  pop3 cmd=pop3d listen=pop3 prefork=3
   #  pop3scmd=pop3d -s listen=pop3s prefork=1
 sieve cmd=timsieved listen=sieve prefork=0

 # these are only necessary if receiving/exporting usenet via NNTP
   #  nntp cmd=nntpd listen=nntp prefork=3
   #  nntpscmd=nntpd -s listen=nntps prefork=1

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

 # this is only necessary if using notifications
   #  notify   cmd=notifyd listen=/var/lib/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,
 # Sieve or NNTP
 delprune  cmd=cyr_expire -E 3 at=0400

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

(I only want imaps for remote access, imap is only here for cyradmBTW,
if someone can tell me how to use cyradm with imaps, so that I can comment
out imap, it would be great !)



   [EMAIL PROTECTED] ~]# more /etc/postfix/vmailbox
   [EMAIL PROTECTED]virtual
   [EMAIL PROTECTED]virtual

(Here, according to doc, virtual can be anything else, just a random
word to have right-hand valueright ?)

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: Postfix, Cyrus, and virtual domains : verify_user failed: Mailbox does not exist - Help !

2008-04-12 Thread Simon Matter

 Do you have a good reason to use the deprecated 'cyrus' transport?
 Otherwise you may try 'mailbox_transport =
 lmtp:unix:/var/lib/imap/socket/lmtp' instead.

 Simon


 You're right, just didn't see it...and working perfectly with that :-)
 In fact for my case, I used : virtual_transport =
 lmtp:unix:/var/lib/imap/socket/lmtp

 With lmtp transport, do I still need cyrus_destination_recipient_limit = 1
 ?

 Thanx a lot...do you have ideas for my two other questions ?

 My Cyrus-imapd configuration is :
   [EMAIL PROTECTED] ~]# more /etc/cyrus.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/lib/imap/sockets
   SERVICES {
 # add or remove based on preferences
 imap  cmd=imapd listen=localhost:imap prefork=0
 imaps cmd=imapd -s listen=imaps prefork=5
   #  pop3 cmd=pop3d listen=pop3 prefork=3
   #  pop3scmd=pop3d -s listen=pop3s prefork=1
 sieve cmd=timsieved listen=sieve prefork=0

 # these are only necessary if receiving/exporting usenet via NNTP
   #  nntp cmd=nntpd listen=nntp prefork=3
   #  nntpscmd=nntpd -s listen=nntps prefork=1

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

 # this is only necessary if using notifications
   #  notify   cmd=notifyd listen=/var/lib/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,
 # Sieve or NNTP
 delprune  cmd=cyr_expire -E 3 at=0400

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

 (I only want imaps for remote access, imap is only here for cyradmBTW,
 if someone can tell me how to use cyradm with imaps, so that I can comment
 out imap, it would be great !)

Something like this works for me:
cyradm --tls --user cyrus --auth login localhost




   [EMAIL PROTECTED] ~]# more /etc/postfix/vmailbox
   [EMAIL PROTECTED]virtual
   [EMAIL PROTECTED]virtual

 (Here, according to doc, virtual can be anything else, just a random
 word to have right-hand valueright ?)

I have never used that kind of setup but I have used a relay_recipients
map where the right-hand value simply was 'OK'. As the docs state, the
right-hand part is simply ignored.

Simon





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


postix cyrus--imapd virtual domains

2006-10-29 Thread A Clockwork Orange
hi

postfix send to cyrus [EMAIL PROTECTED] but cyrus recieve just user witout 
domain!



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


postix cyrus--imapd virtual domains

2006-10-29 Thread A Clockwork Orange
Postfix send mail for user [EMAIL PROTECTED]

Oct 30 06:40:06 mow postfix/smtpd[10644]: warning: 127.0.0.1: hostname 
localhost verification failed: no address associated with name
Oct 30 06:40:06 mow postfix/smtpd[10644]: connect from unknown[127.0.0.1]
Oct 30 06:40:39 mow postfix/smtpd[10644]: 548722E1: client=unknown[127.0.0.1]
Oct 30 06:40:47 mow postfix/cleanup[13057]: 548722E1: message-id=[EMAIL 
PROTECTED]
Oct 30 06:40:47 mow postfix/qmgr[8166]: 548722E1: from=[EMAIL PROTECTED], 
size=312, nrcpt=1 (queue active)
Oct 30 06:40:49 mow postfix/pipe[22851]: 548722E1: to=[EMAIL PROTECTED], 
relay=cyrus, delay=20, delays=18/0.13/0/1.2, dsn=2.0.0, status=sent (delivered 
via cyrus service)
Oct 30 06:40:49 mow postfix/qmgr[8166]: 548722E1: removed
Oct 30 06:40:51 mow postfix/smtpd[10644]: disconnect from unknown[127.0.0.1]


BUT!
Cyrus recieve mail for user leo!!!

Oct 30 06:40:49 mow lmtpunix[10594]: duplicate_mark: [EMAIL PROTECTED]   
user.leo 1162179648 8



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 virtual domains

2006-10-28 Thread A Clockwork Orange
Hi 

# uname -a
OpenBSD mow.strs.ru 3.9 GENERIC#617 i386
#

# sasldblistusers2
[EMAIL PROTECTED]: cmusaslsecretOTP
[EMAIL PROTECTED]: cmusaslsecretOTP
[EMAIL PROTECTED]: cmusaslsecretOTP
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: cmusaslsecretOTP
#

# cyradm -u admin localhost
Password:
localhost.strs.ru lm
user.1 (\HasNoChildren)   [EMAIL PROTECTED] (\HasNoChildren)
user.leo (\HasNoChildren)
localhost.strs.ru exit
#

 cat /etc/imapd.conf
# $OpenBSD: imapd.conf,v 1.1.1.1 2005/03/27 18:01:50 alek Exp $
# imapd.conf(5)

configdirectory: /var/imap
partition-default: /var/spool/imap
sievedir: /var/sieve
sendmail: /usr/sbin/sendmail
admins: admin
lmtpsocket: /var/imap/socket/lmtp
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
#sasldb_path: /etc/sasldb2.db
sasl_mech_list: PLAIN LOGIN DIGEST-MD5 CRAM-MD5
#allowplaintext: 1
defaultdomain: strs.ru
virtdomains: userid
loginrealms: strs.ru cfe.ru


BUT

imtest fot virtual [EMAIL PROTECTED] - GOOD!

# imtest -m login -a [EMAIL PROTECTED] localhost
S: * OK mow.strs.ru Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 
AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN [EMAIL PROTECTED] {1}
S: + go ahead
C: omitted
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
#

imtest for defaultdomain user [EMAIL PROTECTED] - FAILD!

# imtest -m login -a [EMAIL PROTECTED] localhost
S: * OK mow.strs.ru Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 
AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN [EMAIL PROTECTED] {1}
S: + go ahead
C: omitted
S: L01 NO Login failed: user not found
Authentication failed. generic failure
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
#

OR for user leo

# imtest -m login -a leo localhost
S: * OK mow.strs.ru Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 
AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN leo {1}
S: + go ahead
C: omitted
S: L01 NO Login failed: user not found
Authentication failed. generic failure
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
#

What is heppening???
Have you any idias?



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: cyrus--imapd virtual domains

2006-10-28 Thread Jo Rhett

A Clockwork Orange wrote:

What is heppening???
Have you any idias?


Have you read the logfiles?   Seriously, if you have read the logfiles 
you would understand the problem very clearly.  It will show you the 
name that it tries to authenticate with when you don't specify the 
domain name, and all will become clear.


--
Jo Rhett
Network/Software Engineer
Net Consonance

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: cyrus-imapd virtual domains

2005-08-22 Thread Ondrej Sury
On Fri, 2005-08-19 at 12:52 -0400, Etienne Goyer wrote:
 Ondrej Sury wrote:
  Don't enable virtual domain support in cyrus.  Just create map in your
  MTA which will map email addresses to cyrus names.
 
 The downside being that all the domains share the same namespace, thus 
 there could not be two mailbox named info, for example.

Yeah, but that was already in requirements:
-- cut here --
I have several mail customers with their own domain. I wonder
if there is a way to make cyrus authenticate all the users from any
domain only with their username not using [EMAIL PROTECTED]
-- cut here --

And anyway, he can have [EMAIL PROTECTED] a [EMAIL PROTECTED] email addresses, 
but not
two info mailboxes.  It's important to pinpoint this difference.

O.

-- 
Ondrej Sury [EMAIL PROTECTED]


signature.asc
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

Re: cyrus-imapd virtual domains

2005-08-19 Thread Ondrej Sury
On Thu, 2005-08-18 at 15:23 -0400, Jesus Ruiz wrote:
 Hello, i'm trying to configure a cyrus-imapd server to server virtual
 domains. I have several mail customers with their own domain. I wonder
 if there is a way to make cyrus authenticate all the users from any
 domain only with their username not using [EMAIL PROTECTED]
 
 I have read that cyrus have a default domain, and the users from this
 domain don't need to log using [EMAIL PROTECTED]
 
 If there is  way to do this, can someone please send me suggested
 readings to make this work with sendmail.

Don't enable virtual domain support in cyrus.  Just create map in your
MTA which will map email addresses to cyrus names.

O.
-- 
Ondrej Sury [EMAIL PROTECTED]


signature.asc
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

Re: cyrus-imapd virtual domains

2005-08-19 Thread Etienne Goyer

Ondrej Sury wrote:

Don't enable virtual domain support in cyrus.  Just create map in your
MTA which will map email addresses to cyrus names.


The downside being that all the domains share the same namespace, thus 
there could not be two mailbox named info, for example.


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-imapd virtual domains

2005-08-18 Thread Jesus Ruiz
Hello, i'm trying to configure a cyrus-imapd server to server virtual
domains. I have several mail customers with their own domain. I wonder
if there is a way to make cyrus authenticate all the users from any
domain only with their username not using [EMAIL PROTECTED]

I have read that cyrus have a default domain, and the users from this
domain don't need to log using [EMAIL PROTECTED]

If there is  way to do this, can someone please send me suggested
readings to make this work with sendmail.

Thank you very much

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-imapd virtual domains

2005-08-18 Thread brad
On Thu, 2005-08-18 at 15:23 -0400, Jesus Ruiz wrote:
 Hello, i'm trying to configure a cyrus-imapd server to server virtual
 domains. I have several mail customers with their own domain. I wonder
 if there is a way to make cyrus authenticate all the users from any
 domain only with their username not using [EMAIL PROTECTED]
 
 I have read that cyrus have a default domain, and the users from this
 domain don't need to log using [EMAIL PROTECTED]
 
 If there is  way to do this, can someone please send me suggested
 readings to make this work with sendmail.
 
 Thank you very much

If you don't supply a domain when you log in, then Cyrus should reverse
the IP that the request came in on and use that as the domain to auth
from.  You can either put every domain on a separate IP and nobody would
need their domain, or you can put it all on one IP and have that IP
reverse to the domain you don't want to have to log in fully-qualified
on.

Hope that helps,

Brad Crotchett


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-imapd virtual domains

2004-07-20 Thread Sleepy Chanterelle
Good day,
i am using cyrus sasl 2.2.6 with postfix , mysql, pam-mysql, cyrus sasl
I would like to ask you how is it possible to store the user's imap folder with the 
full email address like [EMAIL PROTECTED] and not just test. in my mysql db i have the 
usernames to be like that. i also set at imapd.conf the virtdomains: userid  Any ideas 
?
thank you 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


which version of cyrus support virtual domains

2004-06-15 Thread Matt Cocker
Hi
Which versions of cyrus-imapd support virtual domains (i.e is it only 
2.2.x)?

Cheers
Matt
---
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: which version of cyrus support virtual domains

2004-06-15 Thread Etienne Goyer
Matt Cocker wrote:
Hi
Which versions of cyrus-imapd support virtual domains (i.e is it only 
2.2.x)?
Yes, only 2.2.x


signature.asc
Description: OpenPGP digital signature


Re: which version of cyrus support virtual domains

2004-06-15 Thread Andreas
On Wed, Jun 16, 2004 at 08:05:48AM +1200, Matt Cocker wrote:
 Which versions of cyrus-imapd support virtual domains (i.e is it only 
 2.2.x)?

Yes

---
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, virtual domains and ldap authentication

2004-05-10 Thread John Arthur
 I have never used virtual domains so I don't know about that. I'm using
 both methods in different configurations and they both work well. However,
 I think for virtual domains, you have to use 'sasl_pwcheck_method: ldap'
 because pam doesn't handle what you want.

 Simon

Hi Simon,

Your Cyrus rpms are very much appreciated thank's very much.

Well I appear to have virtual domains working on redhat 9.

This is what I did.

I got the cyrus-sasl rpms from Fedora Core 1 and rebuilt them on Redhat 9
with ldap support added in (it's off by default).

Changed the saslauthd mech from shadow to ldap.

Created /etc/saslauthd.conf
ldap_servers: ldap://127.0.0.1
ldap_bind_dn: cn=Manager,dc=domain,dc=net
ldap_bind_pw: supersecret
ldap_scope: sub
ldap_search_base: dc=domain,dc=net
ldap_auth_method: bind

---
Used saslauthd in /etc/imapd.conf

#sasl_pwcheck_method: auxprop
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN

default_domain: unused.domain.net

I have different ou's for each domain in my ldap server and each user has a
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]

Now I just have to go through and tighten up the security ;-)

John

---
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


Cyrus imap, virtual domains and ldap authentication

2004-05-09 Thread John Arthur

cyrus-imapd-utils-2.2.3
cyrus-imapd-2.2.3
cyrus-sasl-2.1.15

Hi,

I have a cyrus imap server with virtual domains authenticating against
sasldb2 thats been running sucessfully for several weeks now (Thanks to
Simon Matters rpms) and I'd like to convert to authenticating against my
LDAP server. I've Googled until my fingers bled (quote stolen from a
google search) and I'm totaly confused about how to go about it.

So I'm looking for some tips/pointers about how to go about it.

I've seen references to useing either of sasl_pwcheck_method: saslauthd or
sasl_pwcheck_method: ldap in imapd.conf. Which should I use and then what
else do I need?

Regards John

---
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, virtual domains and ldap authentication

2004-05-09 Thread Simon Matter

 cyrus-imapd-utils-2.2.3
 cyrus-imapd-2.2.3
 cyrus-sasl-2.1.15

 Hi,

 I have a cyrus imap server with virtual domains authenticating against
 sasldb2 thats been running sucessfully for several weeks now (Thanks to
 Simon Matters rpms) and I'd like to convert to authenticating against my
 LDAP server. I've Googled until my fingers bled (quote stolen from a
 google search) and I'm totaly confused about how to go about it.

 So I'm looking for some tips/pointers about how to go about it.

 I've seen references to useing either of sasl_pwcheck_method: saslauthd
 or
 sasl_pwcheck_method: ldap in imapd.conf. Which should I use and then
 what
 else do I need?

I have never used virtual domains so I don't know about that. I'm using
both methods in different configurations and they both work well. However,
I think for virtual domains, you have to use 'sasl_pwcheck_method: ldap'
because pam doesn't handle what you want.

Simon


 Regards John

 ---
 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


Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-14 Thread Igor Brezac

On Fri, 14 Feb 2003, Ken Murchison wrote:



 Igor Brezac wrote:
 
  On Thu, 13 Feb 2003, Ken Murchison wrote:
 
  
  
   Ken Murchison wrote:
   
Igor Brezac wrote:
 I do see the follwing small problem, other cyradm commands seem to work
 fine:

 localhost lm [EMAIL PROTECTED]
 localhost lm ipass.net!user.igor
 [EMAIL PROTECTED] (\HasChildren)
   
Yeah, I see this as well.  I might have broken something when I added
per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
syntax anywhere.  If you do, then something is broken.
  
   After further testing, it appears as if this only fails when the result
   of the LIST is one mailbox.  If you try:
  
   lm user.igor*@ipass.net
  
   does it work?
  
   I have a pretty good idea where to look for this bug.  I'll try to get
   to it later today or tomorrow.


 Fixed in CVS.  A trivial fix once I understood what was going on.


Thanks.  I'll give the latest CVS snapshoot a try.

-- 
Igor




Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Ilya wrote:
 
 I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
 and php imap_deletemailbox. The delete works, but subfolders for that user are
 not deleted.
 If however I create a user in defaultdomain (user.username) than whenever I
 delete the user everything is gone under him as well.
 I believe it is the behaviour of 2.1.1x as well.
 
 Ken, are the subfolders left on purpose, or its and error?

Its an error.  Please at this to bugzilla.

-- 
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



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ilya
Bug 1832 has been added to the database

On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote:
 
 
 Ilya wrote:
  
  I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
  and php imap_deletemailbox. The delete works, but subfolders for that user are
  not deleted.
  If however I create a user in defaultdomain (user.username) than whenever I
  delete the user everything is gone under him as well.
  I believe it is the behaviour of 2.1.1x as well.
  
  Ken, are the subfolders left on purpose, or its and error?
 
 Its an error.  Please at this to bugzilla.
 
 -- 
 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



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Igor Brezac

On Thu, 13 Feb 2003, Ilya wrote:

 Bug 1832 has been added to the database

 On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote:
 
 
  Ilya wrote:
  
   I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
   and php imap_deletemailbox. The delete works, but subfolders for that user are
   not deleted.
   If however I create a user in defaultdomain (user.username) than whenever I
   delete the user everything is gone under him as well.
   I believe it is the behaviour of 2.1.1x as well.
  
   Ken, are the subfolders left on purpose, or its and error?
 

It works fine for me, at least it works with cyradm.  I am using a farily
recent CVS version (2.2).  Is it possible that the mailbox was opened by
another imap client?  Did you chdir to one of the mbox dirs while you
performed deletembox?   How does 'dm [EMAIL PROTECTED]' work vs 'dm
domain.com!user.username'?

I do see the follwing small problem, other cyradm commands seem to work
fine:

localhost lm [EMAIL PROTECTED]
localhost lm ipass.net!user.igor
[EMAIL PROTECTED] (\HasChildren)

-igor

  Its an error.  Please at this to bugzilla.
 
  --
  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


-- 
Igor





Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Igor Brezac wrote:
 
 On Thu, 13 Feb 2003, Ilya wrote:
 
  Bug 1832 has been added to the database
 
  On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote:
  
  
   Ilya wrote:
   
I just tried to delete a top level ([EMAIL PROTECTED]) from both 
cyradmin
and php imap_deletemailbox. The delete works, but subfolders for that user are
not deleted.
If however I create a user in defaultdomain (user.username) than whenever I
delete the user everything is gone under him as well.
I believe it is the behaviour of 2.1.1x as well.
   
Ken, are the subfolders left on purpose, or its and error?
  
 
 It works fine for me, at least it works with cyradm.  I am using a farily

It also works for me.


 recent CVS version (2.2).  Is it possible that the mailbox was opened by
 another imap client?  Did you chdir to one of the mbox dirs while you
 performed deletembox?   How does 'dm [EMAIL PROTECTED]' work vs 'dm
 domain.com!user.username'?
 
 I do see the follwing small problem, other cyradm commands seem to work
 fine:
 
 localhost lm [EMAIL PROTECTED]
 localhost lm ipass.net!user.igor
 [EMAIL PROTECTED] (\HasChildren)


Yeah, I see this as well.  I might have broken something when I added
per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
syntax anywhere.  If you do, then something is broken.

-- 
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



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Ken Murchison wrote:
 
 Igor Brezac wrote:
  I do see the follwing small problem, other cyradm commands seem to work
  fine:
 
  localhost lm [EMAIL PROTECTED]
  localhost lm ipass.net!user.igor
  [EMAIL PROTECTED] (\HasChildren)
 
 Yeah, I see this as well.  I might have broken something when I added
 per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
 syntax anywhere.  If you do, then something is broken.

After further testing, it appears as if this only fails when the result
of the LIST is one mailbox.  If you try:

lm user.igor*@ipass.net

does it work?

I have a pretty good idea where to look for this bug.  I'll try to get
to it later today or tomorrow.
-- 
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



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Igor Brezac

On Thu, 13 Feb 2003, Ken Murchison wrote:



 Ken Murchison wrote:
 
  Igor Brezac wrote:
   I do see the follwing small problem, other cyradm commands seem to work
   fine:
  
   localhost lm [EMAIL PROTECTED]
   localhost lm ipass.net!user.igor
   [EMAIL PROTECTED] (\HasChildren)
 
  Yeah, I see this as well.  I might have broken something when I added
  per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
  syntax anywhere.  If you do, then something is broken.

 After further testing, it appears as if this only fails when the result
 of the LIST is one mailbox.  If you try:

 lm user.igor*@ipass.net

 does it work?

 I have a pretty good idea where to look for this bug.  I'll try to get
 to it later today or tomorrow.


Yup.  I works fine.

Thanks,
-- 
Igor




Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Mark Keasling
Hi,

The original message said:
 I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
 and php imap_deletemailbox. The delete works, but subfolders for that user are
 not deleted. 

What is the server's hierarchy delimiter?
Is [EMAIL PROTECTED] an actual user?
Or is it just a toplevel mailbox?
My limited understanding is that a virtual domain user should be listed as:

  [EMAIL PROTECTED]

If . is the delimiter, wouldn't dm [EMAIL PROTECTED] mean delete
the username@domain user's com mailbox?

On Thu, 13 Feb 2003 14:41:05 -0500 (EST), Igor Brezac [EMAIL PROTECTED] wrote...
 
 On Thu, 13 Feb 2003, Ken Murchison wrote:
 
 
 
  Ken Murchison wrote:
  
   Igor Brezac wrote:
I do see the follwing small problem, other cyradm commands seem to work
fine:
   
localhost lm [EMAIL PROTECTED]
localhost lm ipass.net!user.igor
[EMAIL PROTECTED] (\HasChildren)
  
   Yeah, I see this as well.  I might have broken something when I added
   per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
   syntax anywhere.  If you do, then something is broken.
 
  After further testing, it appears as if this only fails when the result
  of the LIST is one mailbox.  If you try:
 
  lm user.igor*@ipass.net
 
  does it work?
 
  I have a pretty good idea where to look for this bug.  I'll try to get
  to it later today or tomorrow.
 
 
 Yup.  I works fine.
 
 Thanks,
 -- 
 Igor
 


Regards,
Mark Keasling [EMAIL PROTECTED]




Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ilya
nevermind, feeling stupid again...
this is the ugly think i created..
at least we know all folders get created automatically

[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)

sorry guys



On Thu, Feb 13, 2003 at 02:41:05PM -0500, Igor Brezac wrote:
 
 On Thu, 13 Feb 2003, Ken Murchison wrote:
 
 
 
  Ken Murchison wrote:
  
   Igor Brezac wrote:
I do see the follwing small problem, other cyradm commands seem to work
fine:
   
localhost lm [EMAIL PROTECTED]
localhost lm ipass.net!user.igor
[EMAIL PROTECTED] (\HasChildren)
  
   Yeah, I see this as well.  I might have broken something when I added
   per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
   syntax anywhere.  If you do, then something is broken.
 
  After further testing, it appears as if this only fails when the result
  of the LIST is one mailbox.  If you try:
 
  lm user.igor*@ipass.net
 
  does it work?
 
  I have a pretty good idea where to look for this bug.  I'll try to get
  to it later today or tomorrow.
 
 
 Yup.  I works fine.
 
 Thanks,
 -- 
 Igor
 



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Mark Keasling wrote:
 
 Hi,
 
 The original message said:
  I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
  and php imap_deletemailbox. The delete works, but subfolders for that user are
  not deleted.
 
 What is the server's hierarchy delimiter?

In this case '.'

 Is [EMAIL PROTECTED] an actual user?

Yup,  It is username's INBOX in the domain.com domain.

 Or is it just a toplevel mailbox?

 My limited understanding is that a virtual domain user should be listed as:
 
   [EMAIL PROTECTED]

Only if using unixhiersep.  2.2 supports virtual domains natively
(assuming its is enabled).


 
 If . is the delimiter, wouldn't dm [EMAIL PROTECTED] mean delete
 the username@domain user's com mailbox?
 
 On Thu, 13 Feb 2003 14:41:05 -0500 (EST), Igor Brezac [EMAIL PROTECTED] wrote...
 
  On Thu, 13 Feb 2003, Ken Murchison wrote:
 
  
  
   Ken Murchison wrote:
   
Igor Brezac wrote:
 I do see the follwing small problem, other cyradm commands seem to work
 fine:

 localhost lm [EMAIL PROTECTED]
 localhost lm ipass.net!user.igor
 [EMAIL PROTECTED] (\HasChildren)
   
Yeah, I see this as well.  I might have broken something when I added
per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
syntax anywhere.  If you do, then something is broken.
  
   After further testing, it appears as if this only fails when the result
   of the LIST is one mailbox.  If you try:
  
   lm user.igor*@ipass.net
  
   does it work?
  
   I have a pretty good idea where to look for this bug.  I'll try to get
   to it later today or tomorrow.
  
 
  Yup.  I works fine.
 
  Thanks,
  --
  Igor
 
 
 Regards,
 Mark Keasling [EMAIL PROTECTED]

-- 
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



Re: Cyrus and Virtual Domains

2003-01-10 Thread Ken Murchison


Felix Cuello wrote:
 
 Hello!
 
   I have two servers in two different works :-). One of this server are
   running Cyrus 2.1.9 with SASL 2.1.9 with an LDAP. [this server works
   fine!] [under RedHat 7.3]
 
   The second server [the problem :-)] are running a Debian  Linux
   welll... Debian have Cyrus 1.5.19... using apt-get but in this server
   I must install virtual domains.
   Does Cyrus support virtual domains?, what can I read to start with
   Virtual Domains?

It'll be in Cyrus 2.2 which is in CVS.  You can read some of the docs
here:
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/~checkout~/src/cyrus/doc/Attic/install-virtdomains.html?rev=1.1.2.5content-type=text/htmlhideattic=0

-- 
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 and Virtual Domains

2003-01-09 Thread Felix Cuello
Hello!

  I have two servers in two different works :-). One of this server are
  running Cyrus 2.1.9 with SASL 2.1.9 with an LDAP. [this server works
  fine!] [under RedHat 7.3]
  
  The second server [the problem :-)] are running a Debian  Linux
  welll... Debian have Cyrus 1.5.19... using apt-get but in this server
  I must install virtual domains.
  Does Cyrus support virtual domains?, what can I read to start with
  Virtual Domains?

  regards...

  Felix
-- 
Felix Cuello
[EMAIL PROTECTED]
Buenos Aires, ARGENTINA

Qodiga/its
http://www.qodiga.com