[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

virtual domain



 --- Michael Devogelaere <michael@xxxxxxxxxx> wrote:
> Could you please send your new sqlserver-file ? Could you check your
> locals-file (/var/qmail/control) and see if it contains 'mydomain.net'
?

Here is my configuration file ,

----- start  my control/sqlserver file ----
db_use yes
check_host yes
connectionstring host=localhost user=userconsult password=readonly
dbname=userdb
popconnectionstring user=usermgr password=secretdb dbname=userdb
dbtable passwd
autohomedir yes
localtable locals
virt_host_field virtual_host
login_field login
uid_field uid
gid_field gid
home_field home
quota_field hardquota
enable_field enable
startdate_field startdate
stopdate_field stopdate
passwd_field password
lastlogin_field lastlogin
---- end control/sqlserver file ----------------

---  start control/locals --------
localhost
mail.localdomain.com
mydomain.net
---- end control/locals --------------------

--  passwd table
------------------------------------------------------------------
alias |  1|  1|/home/mydomain.net | mydomain.net   |   | 0 | Tue Jan 23
11:45:32 2001 MYT | infinity|t  |
user | 10 | 2| /home/mydomain.net/user  | mydomain.net |  | 0 | Tue Jan
23 11:47:26 2001 MYT | infinity | t|
master| 11|  2 | /home/mydomain.net/master | mydomain.net |  | 0 | Tue
Jan 23 16:27:40 2001 MYT | infinity | t |
-------------------------------------------------------------------------------



----- locals table ----------
mail.localdomain.com
mydomain.net
------------------------


> And are your sure you're using the patched qmail-getpw ? Did you run
> ./qmail-getpw from your source-tree ?

Yes. I'm sure that i'm using the patched qmail-getpw. I have try to run
./qmail-getpw from the source-tree.
The result is :
[root@relay control]# qmail-getpw master mydomain.net; echo $?
alias510502/var/qmail/alias-master00


Thank you ...
amin.