Hello!
I am looking at integrating PLESK within a corporate enviroment. I would need to be able to extract a list of _Every_ mail adress that the system would accept in order to send to their external antispam solution.
I have found "normal" mail accounts by doing something like this
select accounts.id, concat(mail.mail_name,'@',domains.name), accounts.password from mail left join domains on domains.id = mail.dom_id left join accounts on mail.account_id = accounts.id;
But, what other sources do i need to analyse? Aliases i have found, but i cannot figure it out. mail_aliases has a mn_id, that i cannot link to a domain...
Also, mailing lists.. where can i extract that?
Am i missing any other types of mail adresses?
I am looking at integrating PLESK within a corporate enviroment. I would need to be able to extract a list of _Every_ mail adress that the system would accept in order to send to their external antispam solution.
I have found "normal" mail accounts by doing something like this
select accounts.id, concat(mail.mail_name,'@',domains.name), accounts.password from mail left join domains on domains.id = mail.dom_id left join accounts on mail.account_id = accounts.id;
But, what other sources do i need to analyse? Aliases i have found, but i cannot figure it out. mail_aliases has a mn_id, that i cannot link to a domain...
Also, mailing lists.. where can i extract that?
Am i missing any other types of mail adresses?