Hi I am missing some real obvious here but I just can't see what when I create a domain it does not pick up the mailroot as it should. Even if I amend the maildir in the db then send a test to postmaster at test2.com it still tries to deliver to /test2.com/postmaster/Maildir
ls -al /usr/home/exim4u/mail/ total 8 drw-r--r-- 2 exim4u exim4u 512 Feb 6 00:18 . drw-r--r-- 3 exim4u exim4u 512 Feb 6 00:18
id exim4u uid=1002(exim4u) gid=1002(exim4u) groups=1002(exim4u)
mysql_setup/mysql.sql uid smallint(5) unsigned NOT NULL default '1002', gid smallint(5) unsigned NOT NULL default '1002',
variables.php $uid = shell_exec('id -u exim4u'); $gid = shell_exec('id -g exim4u'); $mailroot = "/home/exim4u/mail/";
mysql> SELECT `maildir`, `uid`, `gid` FROM `domains` WHERE `domain` LIKE 'test2.com' ; +------------+------+------+ | maildir | uid | gid | +------------+------+------+ | /test2.com | 1002 | 1002 | +------------+------+------+ 1 row in set (0.00 sec)
The "real obvious" is that you forgot to update the records in `users` table.
Regards, Rimas
Turned out to be simple permissions error on the base of the home directory All sorted now thanks for the help and you were right about the users table which got me looking in the right direction Thanks Terry