Mail server module proposal (fate #307142)
---------------------------------------------

Tasks:
    - configure the SMTP server used for sending mails:
        - smtp server address
        - authentication fields

Model

    singleton class MailServer

    attributes
        string smtp_server
        string login
        string password
        string tls

    access to the system:
        YaPI::MailServer
        YaPI::SERVICES


Policies

    org.opensuse.yast.modules.yapi.mailserver.read
    org.opensuse.yast.modules.yapi.mailserver.write

API

    URL: /mail

    REST service pseudo-code:

    # GET method
    def show

        read and return current settings

    # PUT method
    def update (params)

        save new settings: smtp server address and credentials
        if there was a change, reload of postfix service is needed

-- 
Jiri Suchomel

SUSE LINUX, s.r.o.                            e-mail: [email protected]
Lihovarská 1060/12                            tel: +420 284 028 960
190 00 Praha 9, Czech Republic                http://www.suse.cz
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to