Hi People,
Massive change is possible with remote api-mail accounts? For example, change a user's maildir. Just as when you create a mailbox with the following function:
$params = array( 'server_id' => 1,
'name' => 'name of user1',
'email' => 'user1@domain.tld',
'password' => 'somepass',
'quota' => '0',
'maildir' => '/var/vmail/domain.tld/user1'
'homedir' => '/var/vmail','uid' => '5000',
'gid' => '5000',
'postfix' => 'y',
'disableimap' => '0',
'disablepop3' => '0');
$client_id = 0;
$domain_id = $client->mail_user_add($session_id,$client_id, $params);
What would happen if I just change by sql query maildir field value of a user? It would make the mailbox pass another location in /var/vmail/? For example, I need to change a user
user1@domain1.tld user1@domain2.tld, as you might do this?
user1 maildir is /var/vmail/domain1.tld/user1 and need to be /var/vmail/domain2.tld/user1
Thanks.
Recent comments
3 hours 54 min ago
10 hours 35 min ago
14 hours 26 min ago
16 hours 4 min ago
1 day 30 min ago
1 day 9 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 18 hours ago
1 day 19 hours ago