PAM Authentication error...

Ken Murchison ken at oceana.com
Mon Feb 2 00:06:43 EST 2004


Emma Grant wrote:

> Hmmm...
> 
> That would make sense for system users with email accounts, but this is
> a virtual setup using maildir, they don't have a mail box, but rather a
> directory. 
> 
> All my information is stored in a database; the default homedir, the
> maildir, email/username and password...etc

Then you aren't using Cyrus correctly.  You determine the location os 
the mail partitions, and that's it.  Cyrus determines the name and 
location of the user's mailboxes.  Cyrus is not UW IMAP.


> The virtual setup is working because I am able to send to the
> users...and they get a a directory with mail in it automatically. The
> problem is that I am unable to *retrieve* the mail using pop3. 
> 
> Thanks, 
> 
> Emma
> 
> -----Original Message-----
> From: owner-info-cyrus at lists.andrew.cmu.edu
> [mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Ken
> Murchison
> Sent: Monday, February 02, 2004 4:47 AM
> To: Emma Grant
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: Re: PAM Authentication error...
> 
> Emma Grant wrote:
> 
> 
>>Thanks for your reply. 
>>
>>I ended up fixing the error by adding "account required
>>/lib/security/pam_permit.so" at the top of my pop file in pam.d/pop
>>
>>I first tried pam_warn.so, and that told me that my account had
> 
> expired,
> 
>>and since the really is no system account - email is virtual - I
> 
> figured
> 
>>that is why it was giving the error. After adding pam_permit I have
> 
> had
> 
>>no more auth errors.
>>
>>But now I am  getting the error: 
>>
>>	-ERR [SYS/PERM] Unable to locate maildrop
>>
>>any ideas? 
> 
> 
> The system can find the INBOX for the user that is logging in.  You need
> 
> to create a mailbox named user.<username> for each user that will be 
> accessing mail via IMAP or POP.
> 
> 
> 
>>Testsaslauthd? Where would I find this on RH ES? Do I still need it
> 
> now
> 
>>I am not getting auth errors? 
> 
> 
> No.
> 
> 
> 
>>Thanks, 
>>Emma
>>
>>-----Original Message-----
>>From: owner-info-cyrus at lists.andrew.cmu.edu
>>[mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Ken
>>Murchison
>>Sent: Monday, February 02, 2004 12:30 AM
>>To: Emma Grant
>>Cc: info-cyrus at lists.andrew.cmu.edu
>>Subject: Re: PAM Authentication error...
>>
>>Emma Grant wrote:
>>
>>
>>
>>>Hi All,
>>>
>>>
>>>
>>>I am running Cyrus Imap 2.2.3 on RH ES 3.0 using MySQL 3.23.58 as my 
>>>database so I can use my mail server with virtual domains (maildir).
>>>
>>>
>>>
>>>I believe that I have configured everything correctly except I am 
>>>getting the error below when I check pop3 email:
>>>
>>>
>>>
>>>do_auth         : auth failure: [user=me at mydomain.com] [service=pop] 
>>>[realm=] [mech=pam] [reason=PAM auth error]
>>>
>>>pop3[28753]: badlogin: my.ipaddress.location.etc plaintext 
>>>me at mydomain.com SASL(-13): authentication failure: checkpass failed
>>
>>
>>Compile the testsaslauthd program in the SASL distro, and make sure
> 
> that
> 
>>you can authenticate before moving on to Cyrus.
>>
> 
> 
> 


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




More information about the Info-cyrus mailing list