No Subject

2001-08-29 Thread nomad4

unsubscribe


No Subject

2001-09-08 Thread nomad4

unsubscribe


Authentication failed. generic failure with sasl and cyrus imap/pop server

2001-04-14 Thread nomad4

All,

I am having a weird user auth issue with sasl and cyrus imap/pop server.
My os is Freebsd 4.2 w/the latest Berkeley db 3.2, Cyrus 2.0.12, and sasl-
1.5.14.

I want to allow some users with unix logins and users without unix 
logins to pop mail off the server. My MTA is postfix.

I created the mailboxes under cyradm and gave them passwords using 
saslpasswd -c cyrus and saslpasswd -c bender

Here is my /etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
logins: cyrus root
srvtab: /var/imap/srvtab
allowanonymouslogin: no
sasl_passwd_check: shadow
sasl_pwcheck_method: pwcheck
#sasl_passwd_check: sasl
#sasl_pwcheck_method: sasl


At one point I even did a allowanonymouslogin: yes, but that did not resolve 
my issue, I did a sasl_pwcheck_method: pwcheck instead of sasl_pwcheck_method: 
sasl 
because when I use sasl my imtest tests dies.

#imtest -m login -p imap localhost (as user cyrus)
C: C01 CAPABILITY
S: * OK hostname Cyrus IMAP4 v2.0.12 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID 
NO_ATOMI
C_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
IDLE
AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {7}
+ go ahead
C: 
L01 OK User logged in
Authenticated.
Security strength factor: 0

This works when I have sasl_pwcheck_method: pwcheck since cyrus is also 
a local 
account.  The imap part looks good so I try popping mail off

When I type in the wrong password in my e-mail client, I get this which 
is correct
Mar 11 12:03:32 hostname pop3d[41133]: badlogin: [10.44.11.11] plaintext 
cyrus Incorrect password

When I type in the right password in my e-mail client then it fails with
Mar 11 12:03:43 hostname pop3d[41135]: login: [10.44.11.11] cyrus plaintext

When I use imapd on my e-mail client to login I get the same error messages 
too in both cases.


So I did another test using sasl_pwcheck_method: sasl in imapd.conf. This 
time around both cyrus unix password and saslpassword accounts during a 
imap and pop connection via Eudora fail with the very same errors.

I did a imap cmd line test 
#  imtest -m login -p imap localhost (as user cyrus)
C: C01 CAPABILITY
S: * OK hostname Cyrus IMAP4 v2.0.12 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID 
NO_ATOMI
C_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
IDLE
AUTH=ANONYMOUS AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {7}
+ go ahead
C: 
L01 NO Login failed: no mechanism available
Authentication failed. generic failure
Security strength factor: 0

Now it tells me there is a generic failure.
What gives?


On another note, I have a saslpasswd entry for bender too, but not a unix 
login.
A imtest gives me the same errors as above and when I try to pop mail off 
I get
Mar 1 3:11:01 hostname pop3d[41102]: badlogin: [10.44.11.11] plaintext bender 
Userid not found
Mar 1 3:11:21 hostname pop3d[41103]: login: [10.44.11.11] cyrus plaintext
Mar 1 3:11:53 hostname pop3d[41104]: login: [10.44.11.11] cyrus plaintext

This shows up in /var/log/messages
hostname imapd[77700]: unrecognized plaintext verifier sasl

So I reset benders passwd using saslpasswd and I get this
"saslpasswd: failed to set plaintext secret for bender:
requested change was not needed" error message.

I then try to pop the mail off and get this
hostname pop3d[77723]: unrecognized plaintext verifier sasl

I do notice that I don't have a /usr/lib/sasl/saslpasswd.conf. Does this 
matter?

I think my sasl install is misconfigured. Any suggestions?


2. On another box where I have both postfix and cyrus configured the same 
way,
I get a pause forever when I do
#imtest -m login -p imap localhost (as user cyrus)
C: C01 CAPABILITY

It doesn't go anywhere after this. When I proceed to do a cyradm localhost,
it also pauses forever, the /var/log/messages do complain of a DBerror.
I installed Berkeley dbm the very same way I did on the other machine too.
Does anyone know what these symptoms mean?


Thanks.
Free, encrypted, secure Web-based email at www.hushmail.com


pop/imap auth issues

2001-04-18 Thread nomad4

I  can login to imap via the command line 

# su - cyrus -c "imtest -m login -u cyrus -p imap localhost"
C: C01 CAPABILITY
S: * OK mail Cyrus IMAP4 v2.0.12 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID 
NO_ATOMI
C_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
IDLE
AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {7}
+ go ahead
C: 
Apr 1 18:00:00 mail imapd[48372]: login: localhost[127.0.0.1] cyrus plaintext
Apr 1 18:00:00 mail imapd[48372]: login: localhost[127.0.0.1] cyrus plaintext
L01 OK User logged in
Authenticated.
Security strength factor: 0


However, when I log in via imap or pop Outlook/Eudora it says invalid login

Although the /var/log/messsages reports all as ok
Apr 1 11:54:01 mail imapd[48367]: login: [1.1.1.1] cyrus plaintext
Apr 1 11:54:01 mail pop3d[48367]: login: [1.1.1.1] cyrus plaintext

In imap mode, I can see my list of folders in Outlook, but I can not download
or view them. I get a subscribe permission denied error. I checked the acls
and the owner can do anything on the mailbox. So what gives?

Thanks.
Free, encrypted, secure Web-based email at www.hushmail.com


cyrus queue

2001-04-19 Thread nomad4

All,

I am using cyrus 2.0.12 with the latest postfix on freebsd 4.2
In postfix's config file I removed the ${extension} from the postfix config 
in master.conf
Now mail gets passed to and accepted by cyrus from postfix as seen in maillog.
The issue is that  the local mail never gets delievered or bounced. 
How do I check on the status of these messages in cyrus? Mail to other domains 
which
work fine, but all local mail and invalid mail (fake users, etc.) don't 
show up in the mailq
or get bounced.

Thanks.
Free, encrypted, secure Web-based email at www.hushmail.com


local mail delivery

2001-04-20 Thread nomad4

I am using cyrus for local delivery and postfix for smtp. My virtual users 
based on sasl accounts work fine for imap/pop access. Their mail boxes were 
created by cyradm. What happens to mail that cyrus processes
for local users with unix logins like root,cyrus, etc.? I checked /var/log/maillog 
and it says all the mail was sent, but my local users never get them. I 
even used cyradm to create a imap mailbox for local user accounts cyrus 
and johndoe, but mail never arrives in /var/mail/username or the mailboxes 
created by cyradm. They don't even bounce. What is happening here?  
Free, encrypted, secure Web-based email at www.hushmail.com