openbsd-ports/mail/mimedefang/pkg
ajacoutot 2ef10db042 Follow the default init scripts examples and set maxSlaves to 10 which
is a reasonnable amount even on a not too busy machine.

ok okan@ (maintainer)
2012-10-25 14:03:47 +00:00
..
DESCR
mimedefang_daemon.rc * set default email to postmaster@localhost since this alias exists by default 2012-09-18 15:34:39 +00:00
mimedefang_multiplexor.rc Follow the default init scripts examples and set maxSlaves to 10 which 2012-10-25 14:03:47 +00:00
PLIST Add some commented examples on how to do most usual tasks (tag spam, 2012-06-01 15:35:48 +00:00
README Add some commented examples on how to do most usual tasks (tag spam, 2012-06-01 15:35:48 +00:00

$OpenBSD: README,v 1.4 2012/06/01 15:35:48 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Post-installation steps
=======================
Register the mimedefang milter with sendmail(8) by adding the following
to your .mc file:

    INPUT_MAIL_FILTER(`mimedefang', \
        `S=local:/var/spool/MIMEDefang/mimedefang.sock, \
        F=T, T=C:15m;S:4m;R:4m;E:10m')dnl

Then re-generate your .cf file.

When using administrator notifications, it is advised to add the
"_mdefang" user to the list of users that are allowed to set their
envelope "from" address to a different user. This is done in:
    /etc/mail/trusted-user

IP validation header
====================
To retain relay's IP address information between Mail eXchangers, an
identical ${SYSCONFDIR}/mail/mimedefang-ip-key must be installed on all
relays. The content of this file is generated using:
    # ${PREFIX}/share/examples/gen-ip-validator.pl

Start-up order
==============
Be sure to start mimedefang_multiplexor before mimedefang_daemon in
rc.local(8).