Peter Stuge wrote:
On Mon, Nov 22, 2004 at 09:14:01PM -0700, RYAN vAN GINNEKEN wrote:
Peter Stuge wrote:
How exactly is your virtual domain and virtual user system set up?
I don't know anymore i got servers all over town and domains everywhere
mostly i use my computerking server as the base for virtual domains.
Sounds like a lot of work.
[..]
I want to keep it very simple right now postfix looks to a file like this
[EMAIL PROTECTED] ketingc sculpturaldesign.ca/keaingc/
Hm, is that an extra "ketingc" in the middle, or is that really valid
syntax?
[EMAIL PROTECTED] classicautographics.com/sharpd/
[EMAIL PROTECTED] ybotstudios.com/andersont/
[EMAIL PROTECTED] ybotstudios.com/andersont/
on the left virtual domains hosted from computerking.ca on the
right virtual mailboxes that that are located at
/usr/local/etc/postfix but i can make postfix put them anywhere
using this section of the main.cf file
virtual_alias_domains = sculpturaldesign.ca, ybotstudios.com
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
virtual_mailbox_domains = classicautographics.com
virtual_mailbox_base = /usr/local/etc/postfix/vhosts/
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:200
virtual_gid_maps = static:200
There is also a virtual alias file that uses real unix user accounts and
works fine. Mabey i need sql data base it that hard to setup would
that do what i need. Please help
I don't know much about Postfix so I can't say if some kind of SQL
database system would magically solve all your problems, but from
reading a little on postfix.org it seems that it wouldn't.
All right, virtual_uid_maps and virtual_gid_maps have the information
about uid (and hence supplementary groups) and gid that are needed by
a checkpassword implementation.
The virtual_mailbox_maps file has the working directory.
Assuming there's an easy way to query these postfix configuration
directives and databases (virtual_mailbox_base, virtual_mailbox_maps,
virtual_uid_maps and virtual_gid_maps) it doesn't look like a lot of
work to add this compatibility into bchkpw. (Or make pchkpw.) However,
I find practically zero information about integrating other software
with Postfix on www.postfix.org, so finding how to actually do the
table lookups will require some effort.
If you can help by finding out how to do this, that would be great.
//Peter
First THANKS 10000000 times as i am sure i have stated before that
without this list i would
dead in the water. I will help you in anyway that i can so you need to
find out how postfix does
table lookups right? I will do some digging see what i can come up
with...................................
........................................................................
jackpot
http://www.postfix.org/DATABASE_README.html
Don't really know much about this stuff but i guess now is a gooda time
as any to learn right? Also
i love to learn stuff that might make my or someone elses life easier
however this stuff does not look
very easy.