Mercurial > libervia-backend
diff src/plugins/plugin_misc_imap.py @ 261:0ecd9c33fa3a
IMAP & SMTP Port parameters are now merged in "Mail Server" category
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 18 Jan 2011 15:22:58 +0100 |
parents | c8406fe5e81e |
children | 62b17854254e |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_imap.py Tue Jan 18 03:59:59 2011 +0100 +++ b/src/plugins/plugin_misc_imap.py Tue Jan 18 15:22:58 2011 +0100 @@ -54,8 +54,8 @@ params = """ <params> <general> - <category name="IMAP Server"> - <param name="Port" value="10143" type="string" /> + <category name="Mail Server"> + <param name="IMAP Port" value="10143" type="string" /> </category> </general> </params> @@ -68,7 +68,7 @@ #parameters host.memory.importParams(self.params) - port = int(self.host.memory.getParamA("Port", "IMAP Server")) + port = int(self.host.memory.getParamA("IMAP Port", "Mail Server")) info(_("Launching IMAP server on port %d"), port) self.server_factory = ImapServerFactory(self.host)