|OS type and version||CentOS 7|
I want to make a web portal so that the user can put or remove his vacation message and forward you address from his email through the virtualmin API.
I have identified the path to read message content, forwarded addresses and modify-user statements to make these changes. But I need to check whether the user’s Mail Forwarding Settings checkbox is checked or not (Yes, deliver to mailbox. Yes, forward to addresses. Yes, respond with message).
How can I do it?
Is there a file or field in any of the database tables where I can get this information?