Which patches have you applied to qmail. Because djb's qmail source
code does not check mysql.
> If no user on /etc/passwd, qmail search Mysql database for use name.
This is not part of djb's qmail distribution. What patches to qmail
did you apply?
Why not put your users and domains in /var/qmail/users/assign and
compile
that with qmail-newu into a cdb file. That way you can do whatever you
want for email delivery and not have to worry about patching the qmail
source code.
>From my own experience looking over the qmail source code, there is
almost no reason to patch it. It provides many modular options
to add features without changing the base source code. I prefer to
add small external programs to make my wacky delivery options.
Let's all think about software engineering.
Ken Jones
http://www.inter7.com/
Daniel Carlos wrote:
>
> The problem isan't the authentication by Mysql.
>
> The problem is that when a mail is recieved on host, qmail check /etc/passwd at
>first.
> If no user on /etc/passwd, qmail search Mysql database for use name.
> If qmail find the username on Mysql, it send the mail to under the directory that
>you set mysql 'home' filed.
>
> I would like that the Qmail not looked for user on /etc/passwd. I would like that
>it I looked on Mysql without passing for /etc/passwd
>
> The qmail functions in this mode:
>
> smtp, pop3
> |
> | found
> /etc/passwd -----------------> ~user/Maildir
> |
> | not found
> |
> Mysql
>
> I would like it functions in this mode:
>
> smtp, pop3
> |
> |
> |
> Mysql
>
> Daniel Carlos
> www.atarde.com.br
>
> *********** REPLY SEPARATOR ***********
>
> On 3/21/00 at 8:53 AM iv0 wrote:
>
> >You might want to try using vpopmail. It supports mysql authentication
> >
> >http://www.inter7.com/vpopmail/
> >
> >Ken Jones
> >
> >Daniel Carlos wrote:
> >>
> >> I installed the patch of mysql and this functioning ok,
> >> my problem is that I want to authentication only by Mysql without using pwd.
> >>
> >> Daniel Carlos
> >> www.atarde.com.br
> >>
> >>
> >> *********** REPLY SEPARATOR ***********
> >>
> >> On 3/21/00 at 1:42 PM Juergen Hoffmann wrote:
> >>
> >> >Daniel Carlos [[EMAIL PROTECTED]] wrote:
> >> >-> Hello,
> >> >->
> >> >-> I am using Qmail(1.03) + Mysql (3.22.30). I would like to authentication the
>users only by Mysql without passing for pwd. (/etc/passwd)
> >> >-> I modified some lines in qmail-getpw but I dont got success.
> >> >-> Somebody knows as to make this?
> >> >->
> >> >-> Thank you very much!!
> >> >-> Daniel
> >> >->
> >> >
> >> >http://www.qmail.org and get takeshis fine qmail-mysql patches ...
> >> >
> >> >kind regards
> >> >
> >> >--
> >> >Mit freundlichen Gruessen
> >> >Juergen Hoffmann
> >> >-------------------------------------------------------------------------------
> >> >Juergen Hoffmann LueneCom ISC
> >> >System Administrator Rote Str. 9-10
> >> > 21335 Lueneburg
> >> >[EMAIL PROTECTED] +49-4131-731904
> >> >http://www.luenecom.de +49-4131-731906
> >> >-------------------------------------------------------------------------------