Re: Authenticating Mail Users

2003-03-06 Thread Eugene Chow
Was this error present before you opted to authenticate from sasldb2 or 
did it appear after you did that?

I've not encountered this problem before so I cannot comment. 
Sorry...perhaps you might find an answer on the web.
*
Krishna wrote:

Hi,
 I am using Cyrus version cyrus-imapd-2.1.12-4 , I installed it 
from an rpm.
I did what you said and it worked. Users got authenticated via sasldb2 
file.

Now I can't send mails through sendmail, I have configured it as was 
written in the How-To
but I get "Data format error"

Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: 
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, 
mailer=cyrus, pri=30392, dsn=5.6.0, stat=Data format error
Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: h25CmpI03923: 
return to sender: Data format error
Mar  5 18:18:51 linux sendmail[3923]: h25CmpI03923: to=root, 
delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=30492, dsn=5.6.0, 
stat=Data format error
Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: Losing 
./qfh25CmpH03923: savemail panic
Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: SYSERR(root): 
savemail: cannot save rejected email anywhere

regards
Krishna
http://www.KrisinDigitalAge.com 





Re: Authenticating Mail Users

2003-03-04 Thread Krishna
Hi,
 I am using Cyrus version cyrus-imapd-2.1.12-4 , I installed it from 
an rpm.
I did what you said and it worked. Users got authenticated via sasldb2 file.

Now I can't send mails through sendmail, I have configured it as was 
written in the How-To
but I get "Data format error"

Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: 
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, 
pri=30392, dsn=5.6.0, stat=Data format error
Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: h25CmpI03923: return to 
sender: Data format error
Mar  5 18:18:51 linux sendmail[3923]: h25CmpI03923: to=root, 
delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=30492, dsn=5.6.0, 
stat=Data format error
Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: Losing 
./qfh25CmpH03923: savemail panic
Mar  5 18:18:51 linux sendmail[3923]: h25CmpH03923: SYSERR(root): savemail: 
cannot save rejected email anywhere

regards
Krishna
http://www.KrisinDigitalAge.com
At 03:05 PM 3/5/2003 +0800, you wrote:
Hi,
 I am using Horde/IMP on RedHat 7.3 with Cyrus IMAP. I am having 
problems authenticatin users. I folowed the Cyrus howto and added users.

The problem is that it is authenticating users from the /etc/passwd and 
shadow file and not from sasldb and mails go to the Cyrus Imap mail 
directories, which works ok.
With this method I have to create the user both from cyradm and useradd.
I want to get users authenticated from the sasldb file and not 
/etc/passwd and shadow.
Which version of Cyrus IMAP are you using? These instructions are for 
Cyrus IMAP v2.1. If you want users to be auth-ed from the sasldb2 file, 
the parameter

sasl_pwcheck_method: auxprop

must be defined in this manner. Then create users using the saslpasswd2 
mechanism.

This is what my imapd.conf shows
[EMAIL PROTECTED] /]# cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
sieveuserhomedir: no
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_sasldb_path: /etc/sasldb
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
[EMAIL PROTECTED] /]#
regards
Krishna
http://www.KrisinDigitalAge.com



Re: Authenticating Mail Users

2003-03-04 Thread Danny García Hernández
Have you running the saslauthd daemon with sasldb mech?

Some thing like this in your cyrus´s init file.

/path/to/saslauthd -a sasldb &


Regards
Danny

- Original Message -
From: "Krishna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:54 PM
Subject: Authenticating Mail Users


> Hi,
>   I am using Horde/IMP on RedHat 7.3 with Cyrus IMAP. I am having
> problems authenticatin users. I folowed the Cyrus howto and added users.
>
> The problem is that it is authenticating users from the /etc/passwd and
> shadow file and not from sasldb and mails go to the Cyrus Imap mail
> directories, which works ok.
> With this method I have to create the user both from cyradm and useradd.
> I want to get users authenticated from the sasldb file and not /etc/passwd
> and shadow.
>
> This is what my imapd.conf shows
> [EMAIL PROTECTED] /]# cat /etc/imapd.conf
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> allowanonymouslogin: no
> sieveuserhomedir: no
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_sasldb_path: /etc/sasldb
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
> tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
> [EMAIL PROTECTED] /]#
>
> regards
> Krishna
> http://www.KrisinDigitalAge.com
>
>
>



Re: Authenticating Mail Users

2003-03-04 Thread Eugene Chow




Hi, 
 I am using Horde/IMP on RedHat 7.3 with Cyrus IMAP. I am having
problems authenticatin users. I folowed the Cyrus howto and added users. 
  
The problem is that it is authenticating users from the /etc/passwd and
shadow file and not from sasldb and mails go to the Cyrus Imap mail
directories, which works ok. 
With this method I have to create the user both from cyradm and
useradd. 
I want to get users authenticated from the sasldb file and not
/etc/passwd and shadow. 


Which version of Cyrus IMAP are you using? These instructions are for
Cyrus IMAP v2.1. If you want users to be auth-ed from the sasldb2 file,
the parameter

sasl_pwcheck_method: auxprop

must be defined in this manner. Then create users using the saslpasswd2
mechanism.

This is what
my imapd.conf shows 
[EMAIL PROTECTED] /]# cat /etc/imapd.conf 
configdirectory: /var/lib/imap 
partition-default: /var/spool/imap 
admins: cyrus 
allowanonymouslogin: no 
sieveuserhomedir: no 
sievedir: /var/lib/imap/sieve 
sendmail: /usr/sbin/sendmail 
hashimapspool: true 
sasl_sasldb_path: /etc/sasldb 
sasl_pwcheck_method: saslauthd 
sasl_mech_list: PLAIN 
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem 
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem 
[EMAIL PROTECTED] /]# 
  
regards 
Krishna 
http://www.KrisinDigitalAge.com 
  
  







Authenticating Mail Users

2003-03-04 Thread Krishna
Hi,
 I am using Horde/IMP on RedHat 7.3 with Cyrus IMAP. I am having 
problems authenticatin users. I folowed the Cyrus howto and added users.

The problem is that it is authenticating users from the /etc/passwd and 
shadow file and not from sasldb and mails go to the Cyrus Imap mail 
directories, which works ok.
With this method I have to create the user both from cyradm and useradd.
I want to get users authenticated from the sasldb file and not /etc/passwd 
and shadow.

This is what my imapd.conf shows
[EMAIL PROTECTED] /]# cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
sieveuserhomedir: no
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_sasldb_path: /etc/sasldb
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
[EMAIL PROTECTED] /]#
regards
Krishna
http://www.KrisinDigitalAge.com