mail.rst 1.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
.. _mail_configuration:

****
Mail
****

.. index:: mail

This section describes how to configure the mail server shipped with XiVO (Postfix) and the way XiVO handles mails.

11
In :menuselection:`Configuration --> Network --> Mail`, the following options can be configured:
12

13 14
* :guilabel:`Domain Name messaging` : the server's displayed domain. Will appear in "Received" mail headers.
* :guilabel:`Source address of the server` : domain part of headers "Return-Path" and "From".
15
* :guilabel:`Relay SMTP` and :guilabel:`FallBack relay SMTP` : relay mail servers.
Sylvain Boily's avatar
Sylvain Boily committed
16
* :guilabel:`Rewriting shipping addresses` : Canonical address Rewriting. See `Postfix canonical documentation <http://www.postfix.org/ADDRESS_REWRITING_README.html#canonical>`_ for more info.
17 18 19 20 21 22

.. warning::
   Postfix, the mail server shipped with XiVO, should be stopped on an installed XiVO with no valid and reachable DNS servers configured. If Postfix is not stopped, messages will bounce in queues and could end up affecting core pbx features.

If you need to disable Postfix here is how you should do it::

23 24
     systemctl stop postfix
     systemctl disable postfix
25 26 27

If you ever need to enable Postfix again::

28 29
    systemctl enable postfix
    systemctl start postfix
30 31 32 33

Alternatively, you can empty Postfix's queues by issuging the following commands on the XiVO server::

    postsuper -d ALL