Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<mail>
    <whiteList>john@test.com</whiteList>
    <whiteList>*@example.com</whiteList>
    <redirectToFile>/opt/example/example-mail-notifications.log</redirectToFile>
</mail>

If When white list is specified, then all addresses are blacklisted, except for those that match a white list entry. For this example, emails for john@test.com or *@example.com (for example jack@example.com, jack124@example.com, jack.miller@example.com) will be sended, and emails for other address will be writed to file /opt/example/example-mail-notifications.log.

...