I'm working on a script to allow me to bulk import mail forwards. When I add forwards manually, I can see the MySQL table mail_forwarding specifies the sys_userid and sys_groupid fields. I want to determine how to pick values for these fields based on the source e-mail domain. I first thought it would be the web_domain table, but in this table, all of the sys_userid values are 1, even though I have multiple domains. I next thought it might be dns_soa, but it seems that the sys_userid and sys_groupid values here are 1:1 with a specific client, not with a domain. Can anyone tell me sys_userid and sys_groupid are computed when adding a forwarding e-mail address?