6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Stumped w/ maildr...
FromSent OnAttachments
JonathanSep 22, 2005 10:14 am 
JonathanSep 22, 2005 11:24 am 
Sam VarshavchikSep 22, 2005 3:50 pm 
JonathanOct 5, 2005 7:44 am 
Gordon MessmerOct 5, 2005 7:53 am 
JonathanOct 5, 2005 8:11 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Stumped w/ maildrop mysql postfixActions...
From:Jonathan (jona@sysbliss.com)
Date:Sep 22, 2005 11:24:16 am
List:net.sourceforge.lists.courier-users

Well, here's my *real* problem.... In my authdaemonrc file i had: authmodulelist="authmysql authpam"

and when i started authdaemon, i noticed i got: authdaemond: libauthpam.so: cannot open shared object file: No such file or directory

I just ignored this (cause i'm dumb) at first. Then i decided to remove authpam from the list, and guess what i got....

authdaemond: libauthmysql.so: cannot open shared objectfile: No such file or directory

then i looked in /usr/local/lib/courier-authlib/ and sure enough, there's not libauthmysql.so!! Problem is, i don't know how to get it compiled/installed. When i configured courier and authlib i used:

Courier

---------- ./configure --prefix=/usr/local/courier \ --enable-workarounds-for-imap-client-bugs \ --with-mysql-libs=/usr/local/mysql/lib/mysql \ --with-mysql-includes=/usr/local/mysql/include/mysql/ \ --with-authmysql \ --with-authmysql=yes \ --with-authchangepwdir \ --enable-unicode=iso-8859-1,utf-8 \ --with-trashquota

authlib

---------- ./configure \ --prefix=/usr/local/courier \ --enable-maildirquota \ --enable-maildropmysql \ --with-mysqlconfig=/usr/local/courier/etc/maildropmysql.config \ --enable-maildrop-uid=1005 \ --enable-maildrop-gid=1005 \ --with-trashquota

can someone tell me why i don't have the libauthmysql.so? or more importantly, how to get it compiled/installed?

Thanks!

I've searched the archives and googled a bunch, but i still can't find a solution to this. Basically I have courier-auth, courier-imap, courier-maildrop, sasl2, postfix and mysql running. Everything runs ok, but when i try to send a test email i get:

postfix/pipe[28322]: 9771B27D84: to=<te@test.com>, relay=maildrop, delay=0, status=bounced (user unknown. Command output: Invalid user specified. )

I compiled everything with the mysql option enabled, and if i look at the mysql log, i can see postfix running queries to get user info, etc. I'm sending to and from te@test.com

the vmail user is uid:1005 gid:1005 everything under /home/vmail is uid:1005 gid:1005

in master.cf i have: maildrop unix - n n - - pipe flags=R user=vmail argv=/usr/local/courier/bin/maildrop -d ${recipient}

In the mysql tables, i have the following:

postfix_access

------------- source access type

--------------------------------------- te@test.com OK sender te@test.com OK recipient

postfix_transport

------------------ domain destination

------------------------------- maildrop: test.com maildrop:

postfix_users

------------- email uid gid homedir maildir access postfix

------------------------------------------------------------------------------------------------------------

te@test.com 1005 1005 /home/vmail test.com/test/Maildir/ Y Y

Can anyone help me figure out why i can't send/receive mail????