Jason L Tibbitts III wrote:
> I was more interested in how you define virtual domains, what the
> virtusertable looks like, etc.
Well, vut (virtusertable) also needs to be setup in the config files
(M4) as it adds a whole bunch of rulesets. That includes what file is
uses for the text layout (default I believe is /etc/virtusertable) and
what file for the database (d: /etc/virtusertable.db). You also need to
specify what database format to use. Then everytime you edit the text
layout, you need to turn it into that database format, and the string
used to do that is different depending on which database format you
chose. We use btree, for example, but you can use a whole bunch of other
formats.
In other words, it's not simple -- and I'm not even sure you can use
multiple databases.
As for defining the hosts that you're allowed to use (you can stick
anything you want into the database, but if sendmail isn't accepting
mail for them, it won't matter) -- you stick them into the sendmail.cw
file, which lists the hosts sendmail will accept mail for. So if you
accept mail for 10 hosts, any one of them could use the vut.
--
---------------
| Brock Rozen |
---------------
References:
|
|