Written by mdisabatino
This post will show you how to create a mail server for test Apache Syncope notification.
apt-get install postfix
apt-get install postfix-pcre
# Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = debian alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = $myhostname localhost postfixtest.org mynetworks = 127.0.0.0/8 192.168.0.0/24 mydomain = postfixtest.org mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mail_spool_directory = /var/mail home_mailbox = Maildir/ recipient_delimiter = + default_transport = error relay_transport = error inet_interfaces = 192.168.0.136,127.0.0.1 virtual_alias_maps = pcre:/etc/postfix/virtual
This page aims to show how to configure notifications by using Apache Syncope.
Now you can check if everything works fine.