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