in my conf the user that have access to the data base is the user specified in the the file /etc/authlib/authmysqlrc
MYSQL_USERNAME  mail
MYSQL_PASSWORD  XXXXX (clear)
that why autentication of regular user work very well.
but not aliassing (defined in another table by mail adm )
courier mta only use passwd for authentication and note alias table define by mail adm
any help

Neil Stone <[EMAIL PROTECTED]> a écrit :
Papis wrote:
> Hi all,
> I have installes courier mta and mail adm,
> the authentication is mysql based,
> à create some virtual account, system account and they send and receive
> mail very well,
> the only think which does not work is mail alias,
> when i create user from mail adm the user is well autenticated but mail
> alias doesnt work at all
> [EMAIL PROTECTED] is a mail alias dor
> [EMAIL PROTECTED]
> and according to the log the damon try to find it in passwd mysql table
> which contain real mail not aleases
> this is a part of my mailog
> ******************
> May 18 11:31:27 mailserver authdaemond: received userid lookup request:
> [EMAIL PROTECTED]
> May 18 11:31:27 mailserver authdaemond: authmysql: trying this module
> May 18 11:31:27 mailserver authdaemond: SQL query: SELECT id, crypt,
> clear, uid, gid, home, "", "", name, "" FROM passwd WHERE id =
> "[EMAIL PROTECTED]"
> May 18 11:31:27 mailserver authdaemond: zero rows returned
> May 18 11:31:27 mailserver authdaemond: authmysql: REJECT - try next module
> May 18 11:31:27 mailserver authdaemond: authuserdb: trying this module
> May 18 11:31:27 mailserver authdaemond: userdb: unable to stat
> /etc/authlib/userdb.dat: No such file or directory
> May 18 11:31:27 mailserver authdaemond: userdb: looking up
> '[EMAIL PROTECTED]'
> May 18 11:31:27 mailserver authdaemond: authuserdb: REJECT - try next module
> May 18 11:31:27 mailserver authdaemond: authpam: trying this module
> May 18 11:31:27 mailserver authdaemond: authpam: username
> '[EMAIL PROTECTED]' not found in password file
> May 18 11:31:27 mailserver authdaemond: authpam: REJECT - try next module
> May 18 11:31:27 mailserver authdaemond: authldap: trying this module
> May 18 11:31:27 mailserver authdaemond: selected ldap protocol version 3
> May 18 11:31:27 mailserver authdaemond: binding to LDAP server as DN
> 'cn=administrator, o=example, c=com', password 'toto'
> May 18 11:31:38 mailserver authdaemond: ldap_simple_bind_s failed: Can't
> contact LDAP server
> May 18 11:31:38 mailserver authdaemond: authldap: TEMPFAIL - no more
> modules will be tried
> **************************
> any help is welcome
> thanks in advance
>
>
> Alioune Seck
> Ingénieur en Informatique
> Tel: (+221) 516 97 77
>
>
> ------------------------------------------------------------------------
> *Faites de Yahoo! votre page d'accueil sur le web* pour retrouver
> directement vos services préférés : vérifiez vos nouveaux mails, lancez
> vos recherches et suivez l'actualité en temps réel. Cliquez ici
> .
>

Does the user you specified have the required access to the MySQL
database ??

--
Neil Stone

Systems Administrator
FlashTek UK

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+
o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G
e h--- r+++ y++++(**)
-----END GEEK CODE BLOCK-----



Alioune Seck
Ingénieur en Informatique
Tel: (+221) 516 97 77
 


Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici.

Reply via email to