You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.1 KiB

  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Author: Nicolas Bessi
  5. # Copyright 2012 Camptocamp SA
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. 'name': 'Server env config for mail + fetchmail',
  23. 'version': '0.1',
  24. 'category': 'Tools',
  25. 'description': """
  26. Extend mail and fetch mail with server environment module.
  27. In config files, sections outgoint_mail and incoming_mails are default values
  28. for all Outgoing Mail Servers and Fetchmail Servers.
  29. For each server, you can (re)define values with a section named
  30. "outgoing_mail.resource_name" where resource_name is the name of your server.
  31. Exemple of config file :
  32. [outgoing_mail]
  33. smtp_host = smtp.myserver.com
  34. smtp_port = 587
  35. smtp_user =
  36. smtp_pass =
  37. smtp_encryption = ssl
  38. [outgoing_mail.openerp_smtp_server1]
  39. smtp_user = openerp
  40. smtp_pass = openerp
  41. [incoming_mail.openerp_pop_mail1]
  42. server = mail.myserver.com
  43. port = 110
  44. type = pop
  45. is_ssl = 0
  46. attach = 0
  47. original = 0
  48. user = openerp@myserver.com
  49. password = openerp
  50. """,
  51. 'author': 'Camptocamp',
  52. 'license': 'AGPL-3',
  53. 'website': 'http://openerp.camptocamp.com',
  54. 'depends': ['mail', 'fetchmail', 'server_environment', 'server_environment_files', 'crm'],
  55. 'init_xml': [],
  56. 'update_xml': ['mail_view.xml'],
  57. 'demo_xml': [],
  58. 'installable': True,
  59. 'active': False,
  60. }