Chris Wilkes <[EMAIL PROTECTED]> wrote:
> I struggled to get courier-imap to work with tcpserver yesterday and
> finially got it working.  Here's a quick breakdown (only one of which is
> related to tcpserver):
> 
> 1) I didn't have the user database setup correctly with passwords.
>    Examining the perl code for pw2userdb I should of passed it a
>    --shadow=/etc/master.passwd switch to handle FreeBSD's shadow file.

I'm using vmailmgr, and auth is against passwd.cdb. If I run the
courier-imap with couriertcpd the auth process is ok.

> 2) Test out to see if authenication is working by running
>      authlib/authtest <username>
>    initially to see if it can locate the user and then
>      authlib/authtest <username> <passwd>
>    to see if it authenicates. If it doesn't then stop there.  In your
>    case you'll have to do something different with authvmailmgr, I can't
>    see what's obvious from running authtest.  maybe pass that along with
>    the -s switch?

i don't have authtest command/script.

> 3) I didn't suck in all the config files at the start of my imap script.
>    You might want to put this at the top of yours:
>      prefix=/usr/local
>      . ${prefix}/etc/imapd-ssl
>      . ${prefix}/etc/imapd
>    That's a little easier to maintain than having then in your script
>    like above. Plus why bind to 127.0.0.1? Is anyone but the local
>    machine going to be able to access it then?  You probably want that
>    to be either "0" or the local IP address.

i want imap acces only from web interface

-- 
Eduardo Gargiulo
ejg(at)ar.homelinux.org

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to