Re: Cyrus IMAP - Can't write proc file?

2005-01-13 Thread Base David

Check ownership and permissions on ~/imap/proc/*   Should be cyrus:mail
and I think at least 750.

Dave

"H. Scott Brown" wrote:
> 
> Hi, List,
> 
> Having re-configured and re-compiled Cyrus IMAP, I get the following error
> when attempting to connect (with  Outlook):
> 
> Fatal error: can't write proc file
> Protocol:   IMAP
> Server: smtp.x.com
> Port:   143
> 
> Can anyone help?
> 
> TIA,
> --H. Scott Brown
> 
> ---
> 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 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


pam_login_attribute

2004-11-30 Thread Base David

Can pam_login_attribute be set to two attributes at the same time in
ldap.conf?  For instance:

pam_login_attribute uid
pam_login_attribute sAMAccountName

I want one pam_login_attribute for all users and a different one for my
cyrus administrative account.

Thanks,
Dave Base

---
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+openldap+smtp server

2004-11-15 Thread Base David

Check this out:

http://www.ibiblio.org/oswg/oswg-nightly/oswg/en_US.ISO_8859-1/articles/exchange-replacement-howto/exchange-replacement-howto.html

It's probably not your exact solution, but it's a good place to start.

Dave

Hamish wrote:

> sam wun wrote:
>
> > Hi
> >
> > I need to implement a mail system using cyrus+openldap+postfix/exim.
> > Can anyone please point me to the right direction or is there any
> > howto for that?
> >
> > Thanks
> > Sam
> >
> > ---
> > 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
> >
> Hi Sam
> I am working on doing the same, and hopefully making a howto. Could you
> please post all your findings in this thread? I will do the same
> Thanks,
> H
> ---
> 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 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: OT: migrating exchange mailboxes to cyrus?

2004-10-19 Thread Base David
Carl Brewer wrote:

> My applogies for the off topic question, but I figure that here is
> likely to be a huge pool of experience with what I'm trying to do.
>
> I'm migrating a small business away from exchange to a cyrus imapd
> mail server (one for the good guys!).  There's only one mail
> account, but it's got thousands of archived emails sitting on
> the exchange server - so many that I tried to import them into
> Mozilla Thunderbird with the import tool, and after letting it run
> for 12 hours, it had hardly moved the progress bar.  I think the PC
> hasn't enough grunt to do it.  It's an old win98 box with abuot 64 MB
> or so of RAM.
>
> Can anyone here suggest another way to extract this email from the
> exchange server onto my new NetBSD cyrus server, so my user can
> get at his old email?
>
> thanks!
>
> Carl
>
> ---
> 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

Install fetchmail on the cyrus server.  See
http://catb.org/~esr/fetchmail/

Good luck,
Dave

---
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 imap to alias against ldap

2004-09-14 Thread Base David

Hi All,

I have an LDAP directory where, say, attribute sAMAccountName has a
value of   and attribute objectGUID has a value of .

I've got solaris 9, sendmail 8.12.10, cyrus imap 2.2.6, cyrusv2 using
lmtp successfully delivering mail addressed to  to
/var/spool/imap/user/ created with cyradm.  The line in sendmail.mc
that does this is "define(`ALIAS_FILE', `ldap: -h xxx.xx.xxx.xx:389 -k
sAMAccountName=%s -v objectGUID')dnl"

I want user  to use his sAMAccountName  in his desktop mail
client config, but I want imap to retrieve the mail from
/var/spool/imap/user/.  I can create a symbolic link  ->  in
Solaris, but I would really like imap to do aliasing against LDAP like
sendmail does when it delivers.  So far I haven't found the answer.

Any ideas?
Dave Base

p.s. imap uses cyrus sasl 2.1.15 with pam_ldap to authenticate against
ldap.

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


cyrusv2 delivery to non-local mailboxes?

2004-08-27 Thread Base David

Hi all,

I've got solaris 9, sendmail 8.12.10, cyrus imap 2.2.6, cyrusv2 using
lmtp successfully delivering mail to /var/spool/imap/user/ created
with cyradm.

But, the customer wants ~/user/ to actually live out on a SAN behind
a windows file server (which I can mount using Sharity).  I understand
cyrus is not supposed to be able to do this because it needs Unix
semantics and a working mmap()/write() combination.  And , in fact,
delivery does fail and logs the following:

lmtpunix[9891]: [ID 860734 local6.debug] verify_user(user.c0539a30a)
failed: Mailbox has an invalid format

Rather than punt and buy terrabytes of local solaris disk, I thought I
would check with you guys for a possible work-around.

Any ideas?

Thanks,
Dave Base

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