Table of Objects

1. account

2. cli

3. connection_data

4. contact_info

5. context

6. dnr

7. domain

8. domain_registration

9. field

10. filter

11. folder_rcpt

12. forwarder

13. ftp_backup

14. imap

15. ldap_connector

16. limits

17. list

18. listener

19. loader

20. log

21. maillist

22. mapping_data

23. migration

24. migration_data

25. nameserver

26. pop3

27. processing

28. proxy

29. public_folder

30. queue

31. queue_item

32. quotas

33. registry_information

34. report

35. rpop

36. saver

37. server

38. services

39. session

40. smtp_out

41. spe

42. string_list

43. upload_wmfilter

44. url_redirect

45. userdb

46. webadmin

47. webmail

48. webmaildata

38. services

Methods
Member Objects


1. Methods

Function name Function signature
services_processing_set_enable int services_processing_set_enable (object:services s, int val)
This function enables/disables the processing service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_imap_set_enable int services_imap_set_enable (object:services s, int val)
This function enables/disables the imap service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_reporting_set_enable int services_reporting_set_enable (object:services s, int val)
This function enables/disables the reporting service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_save int services_save (object:services services, object:tcp_connection con)
services_smtp_outgoing_is_enable int services_smtp_outgoing_is_enable (object:services s)
This function returns 1 if the smtp outgoing services is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_pop3_proxy_set_enable int services_pop3_proxy_set_enable (object:services s, int val)
This function enables/disables the pop3 proxy service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_rpop_set_enable int services_rpop_set_enable (object:services s, int val)
This function enables/disables the rpop service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_imap_is_enable int services_imap_is_enable (object:services s)
This function returns 1 if the imap service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_cli_is_enable int services_cli_is_enable (object:services s)
This function returns 1 if the cli service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_rpop_is_enable int services_rpop_is_enable (object:services s)
This function returns 1 if the rpop service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_webadmin_is_enable int services_webadmin_is_enable (object:services s)
This function returns 1 if the webadmin service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_webadmin_set_enable int services_webadmin_set_enable (object:services s, int val)
This function enables/disables the webadmin service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_ftp_backup_is_enable int services_ftp_backup_is_enable (object:services s)
This function returns 1 if the ftp backup service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_smtp_outgoing_set_enable int services_smtp_outgoing_set_enable (object:services s, int val)
This function enables/disables the smtp outgoing service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_pop3_proxy_is_enable int services_pop3_proxy_is_enable (object:services s)
This function returns 1 if the pop3 proxy service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_cli_set_enable int services_cli_set_enable (object:services s, int val)
This function enables/disables the cli service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_processing_is_enable int services_processing_is_enable (object:services s)
This function returns 1 if the processing service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_smtp_incoming_set_enable int services_smtp_incoming_set_enable (object:services s, int val)
This function enables/disables the smtp incoming service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_pop3_is_enable int services_pop3_is_enable (object:services s)
This function returns 1 if the pop3 service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_pop3_set_enable int services_pop3_set_enable (object:services s, int val)
This function enables/disables the pop3 service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_smtp_incoming_is_enable int services_smtp_incoming_is_enable (object:services s)
This function returns 1 if the smtp incoming service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_webmail_is_enable int services_webmail_is_enable (object:services s)
This function returns 1 if the webmail service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_ftp_backup_set_enable int services_ftp_backup_set_enable (object:services s, int val)
This function enables/disables the ftp backup service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_imap_proxy_is_enable int services_imap_proxy_is_enable (object:services s)
This function returns 1 if the imap proxy service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_imap_proxy_set_enable int services_imap_proxy_set_enable (object:services s, int val)
This function enables/disables the imap proxy service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_webmail_set_enable int services_webmail_set_enable (object:services s, int val)
This function enables/disables the webmail service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_log_is_enable int services_log_is_enable (object:services s)
This function returns 1 if the log service is enabled, 0 if it is not and -1 if the service is not valid for the current context
services_log_set_enable int services_log_set_enable (object:services s, int val)
This function enables/disables the log service if the val parameter is 1/0. It returns 0 on succes and -1 on failure (eg. when the service is not valid, like the imapProxy service for an account context (object) )
services_reporting_is_enable int services_reporting_is_enable (object:services s)
This function returns 1 if the reporting service is enabled, 0 if it is not and -1 if the service is not valid for the current context

2. Member Objects

filters

Functions that apply to member object:
Function name Function signature
server_filters_get object:filters server_filters_get (object:server server, object:session session)
This function returs a filters object. This object can be used at configuring various filters options on the server.

services

Functions that apply to member object:
Function name Function signature
server_services_get object:services server_services_get (object:server obj)
This function returns a services object corresponding the enabled services on the server. This object can be used to enable/disable services and check their state