Hello,
* Gregor Szaktilla <[EMAIL PROTECTED]> [010214 15:22] wrote:
I'm a big fan of /var/qmail/users/assign :-)
[ man qmail-users ]
> [EMAIL PROTECTED] should go to dom-1-01
> [EMAIL PROTECTED] should go to dom-1-02
> [EMAIL PROTECTED] should go to dom-1-03
> [EMAIL PROTECTED] should go to dom-2-01
> [EMAIL PROTECTED] should go to dom-2-02
> [EMAIL PROTECTED] should go to dom-2-03
* Put in /var/qmail/controls/virtualdomains:
dom-1.dom:dom1
dom-2.dom:dom2
* Create /var/qmail/users/assign and put into it:
=dom1-info:virtual:888:888:/home/popboxes/dom-1-01:::
=dom1-peter:virtual:888:888:/home/popboxes/dom-1-02:::
=dom1-tim:virtual:888:888:/home/popboxes/dom-1-03:::
=dom2-info:virtual:888:888:/home/popboxes/dom-2-01:::
=dom2-peter:virtual:888:888:/home/popboxes/dom-2-02:::
=dom2-hans:virtual:888:888:/home/popboxes/dom-2-03:::
.
[ point at the and of this file is _required_ ]
where:
virtual - username (from /etc/password)
888:888 - uid:gid of the user
/home/popboxes/.... - patch to user's .qmail file ( in this file
You shoud put for ex: ./Maildir/ )
What does it mean?
Mail for [EMAIL PROTECTED] will be delivery to user 'virtual' with uid
888 and gid 888 and delivery is controlling by .qmail in this user's
home directory.
* Run /var/qmail/bin/qmail-newu
(it builds database for assign file)
* Remove dom-1.dom and dom-2.dom from /var/qmail/control/locals
* Give qmail-send a HUP signal
Greets,
pawel
--
pawel garbowski
[EMAIL PROTECTED]