Authenticating Mail Users

Krishna Krishna_shekhar at gmx.net
Wed Mar 5 14:09:21 EST 2003


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=<root at linux.krishna.com>, 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
>>[root at linux /]# 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
>>[root at linux /]#
>>
>>regards
>>Krishna
>><http://www.KrisinDigitalAge.com>http://www.KrisinDigitalAge.com
>>





More information about the Info-cyrus mailing list