#
# /etc/anubisrc (fit this file to your own needs)
#
# This example works with Sendmail (and should also works with Exim, Qmail,
# and Postfix if they have the 'sendmail' compatible command with the "-bs"
# option), but first deactivate Sendmail with the 'ntsysv' tool or similar.
# This configuration is proper for most home machines using Sendmail as a mail
# transport agent. With this settings you can still connect your MTA on port
# number 25, but Anubis will act as an outgoing mail processor between your
# MUA and the MTA (/usr/sbin/sendmail -bs in this example). The second solution
# is to change your MTA's port number to e.g. 1111 (don't deactivate your local
# MTA), then comment the LOCAL-MTA keyword, uncomment the REMOTE-MTA, and set
# it to port number 1111, for example: "REMOTE-MTA = localhost:1111".
# This method is more efficient. To protect your passwords in the run control
# file use the 0600 (u=rw,g=,o=) permissions, otherwise Anubis won't accept
# this file. The "#" starts a comment line.
#
# NOTE: For security reasons, create an unprivileged user,
# which the server runs as most of the time, when doing unprivileged
# operations. For example: "anubis" (see the example below).
#
# NOTE: Don't forget to generate a proper private key and a certificate.
# For example with: cd anubis-directory; ./autogen.sh keygen
#

#
# The "CONTROL" section.
# A supervisor configuration file.
#

---BEGIN CONTROL---
BIND = localhost:25
#REMOTE-MTA = HOST[:PORT]
LOCAL-MTA = /usr/sbin/sendmail -bs
OUTPUT = NORMAL
#SOCKS-PROXY = HOST[:PORT]
#SOCKS-V4 = yes
#SOCKS-USERNAME = USERNAME
#SOCKS-PASSWORD = PASSWORD
#WINGATE1 = HOST[:PORT]
#WINGATE2 = HOST[:PORT]
SSL = yes
#ONEWAY-SSL = YES-OR-NO
CERT = /usr/share/ssl/certs/anubis.pem
KEY = /usr/share/ssl/certs/anubis.pem
ALLOW-LOCAL-MTA = yes
#ALLOW-EXTERNAL-PROCESSING = YES-OR-NO
USER-NOTPRIVILEGED = anubis
---END---

#
# The "EXTERNAL" section.
# A supervisor configuration file only.
#

#---BEGIN EXTERNAL---
#external = [user@]address local = username
#---END---

