Hello everyone,
I am not claiming that this will work or that I have enough
knowledge to say that this is right. I am using LDAP with tpop3d and I
am able to authenticate for virtual domains without all the typing. I
am not sure how your sql database is built nor do I know enough about
SQL to tell you. I'm just thinking that if it is possible for me to use
LDAP it should be very much possible to use SQL in the same way, it just
would depend on your search of the SQL database. Maybe I'm going about
this all wrong but I'm just using the little logic I have and trying to
help. My LDAP config is like so, can't you use something like this for
SQL, not literally but in this format somehow? And I'd like to say
sorry ahead if I'm all wrong and didn't help. Just trying ;)...
listen-address: 0.0.0.0()
mailbox: maildir:/home/mailspool/$(domain)/$(user)/
append-domain: yes
auth-ldap-enable: yes
auth-ldap-url: ldap://192.168.1.150/o=mye-znet
auth-ldap-searchdn:
auth-ldap-password:
auth-ldap-scope: base
auth-ldap-filter: (&(dc=$(domain))(uid=$(local_part)))
auth-ldap-mailbox-attr: mailMessageStore
auth-ldap-mail-user: nobody
auth-ldap-mail-group: nobody
-----Original Message-----
From: tpop3d-discuss-admin@???
[
mailto:tpop3d-discuss-admin@lists.beasts.org] On Behalf Of cking
Sent: Monday, April 07, 2003 1:54 PM
To: tpop3d-discuss@???
Subject: Re: [tpop3d-discuss] virtual domains
that didnt work.. any ideas
On Mon, 7 Apr 2003 17:40:02 +0100
Chris Lightfoot <chris@???> wrote:
> On Mon, Apr 07, 2003 at 11:06:51AM -0500, cking wrote:
> > heh.. cause we have over 200 domains. lots of typing.
>
> one-line awk script?
>
> awk '/pop3\./ { printf("%s(%s) ", $1, substr($2, 6)) }' < /etc/hosts
>
> --
> ``Saying that road tax should be spent on transport is like
> saying that alcohol duty should be spent on pubs.'' (seen on the
internet)
>
> _______________________________________________
> tpop3d-discuss mailing list
> tpop3d-discuss@???
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss
>
--
A good Linux operating system distribution makes a great
computer-related Christmas gift, winter-holiday gift, or any-occasion
gift. If you do not have Linux already, give it to yourself. Give Linux
to friends, relatives, and others on your gift lists that do not already
have Linux. If you or the people to whom you give gifts already have
Linux, give them a Linux upgrade gift. Linux is a great gift idea.
_______________________________________________
tpop3d-discuss mailing list
tpop3d-discuss@???
http://lists.beasts.org/mailman/listinfo/tpop3d-discuss