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(a)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) 2014-02-06 17:24:35 1WBSgl-000MjW-3V == /test2.com/postmaster/Maildir <postmaster(a)test2.com> R=virtual_domains T=virtual_delivery defer (13): Permission denied: cannot create /test2.com/postmaster/Maildir Any pointers welcome Thanks -- ------------------------------------ Terry
Hi, 2014.02.06 12:15, Terry (1stKMH) rašė:
The "real obvious" is that you forgot to update the records in `users` table. Regards, Rimas
participants (2)
-
Rimas Kudelis
-
Terry (1stKMH)