Hello, I have a java based web site with registered users. (users can dynamically register to my site anytime) I like to allow my users to send mails to each other and I like to track the mails in my MySql database. I like the users to use their personal email accounts/clients, but that they will send email to special user account in my site. I want to dynamically create an email account for every registered user. I will use the userId and have for example emails like: user_...@topicexpress.com (for user 232) user_...@topicexpress.com (for user 542) user_...@topicexpress.com (for user 111) ...
How to integrate Postfix with MySql ? How to dynamically create user email account for Postfix in MylSql database ? How to be notified in my web application when new email has arrived ? (so I can forward that email to that personal user account) for example user one (id=200) has personal email like: m...@gmail.com user two (id=444) has personal email like: ama...@gmail.com mike wants to send mail to amanda through my web site. the mail will be sent first time from my site, from "user_...@mysite.com" to "ama...@gmail.com" (user 200 is mike) my site keep track of the message. now, amanda can do relpy to "user_...@mysite.com" (mike) through her own personal email client. the email server will keep copy of the message in MySql db and forward the email to "m...@gmail.com" from "user_...@mysite.com (user 444 is Amanda) and so Amanda can reply again through her private email client and then Mike can reply and so on... How do I implement that ? thankyou