I have created a small script to easily add email alias to ISPC and some spam blocking (blacklist, content filter). That all seems to work well, except adding an email alias. I just noticed today, when I had need for another alias that it's somehow not working. The created alias through the script can be viewed correctly on the ISPC page. It is there and activated. However sending mail to results in "User unknown in virtual mailbox table". I've waited for 20 minutes and it's still the same. However, as soon as I edit that alies on ISPC web interface it works then. So, is the API missing any kind of trigger that's necessary?
Is this a multiserver or single server nstall? Did you compare the record in the database before you edited it with the one after you edited it in ispconfig?
It's single server install. I didn't check in the DB directly but only web interface of ISPConfig. I'll check in the DB. There we go:
You have to compare the record in the db right after you inserted it with the api with the record after you edited and saved it in ispconfig.