openbsd-ports/mail/mimedefang/pkg
ajacoutot 9e74a35423 * set default email to postmaster@localhost since this alias exists by default
and change AdminName accordingly
* disable the filter_bad_filename filter by default, it is the admin's
job to choose whether he wants to enable it or not
* remove useless spamassassin.cf patch
* run mimedefang with -G so that external helpers (e.g. antivirus scanners)
can access its socket by being added to the _mdefang group

ok okan@ (maintainer)
2012-09-18 15:34:39 +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 * set default email to postmaster@localhost since this alias exists by default 2012-09-18 15:34:39 +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).