Contact a mail server through a web application

I am not familiar with mail servers at all, so please excuse my ignorance.

I need to be able to administer a mail server through my Spring-based web application. When administering, I mean creating mail accounts for new users, listening to incoming updates from these users, deleting accounts, deleting user accounts, etc. Etc.

I assume that mail servers (at least good ones) provide some kind of service API (SOAP, REST, it does not matter) through which the application can connect and make changes. However, I'm really not familiar with what good open source servers are and what options they provide.

I would be glad if someone can offer a solution.

+5
source share
2 answers

There is a Zimbra mail server that has an open source community version that has a REST interface as well as SOAP.

  • REST link (if I understand correctly, this does not suit your needs, because you can manipulate an existing account using this)
  • SOAP-interface ; One example here , there are many others on the forum.
+3
source

- . - , mysql. . , " " " IMAP", " homedir/maildir",... , .

.

dovecot IMAP/POP3. , , .. , dovecot : http://wiki2.dovecot.org/AuthDatabase/SQL

stmp MTA. postfix. , mysql, postfix, . , : http://www.postfix.org/VIRTUAL_README.html

, , SASL postfix. , dovecot. postfix ", , dovecot, , dovecot ". : http://www.postfix.org/SASL_README.html#server_dovecot

+4

All Articles