Check Edit User -> Mail Forwarding Settings checkbox

SYSTEM INFORMATION
OS type and version CentOS 7
Webmin version 1.930
Virtualmin version 6.07
Related packages SUGGESTED

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?

Thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.