summaryrefslogtreecommitdiff
path: root/mail/clamsmtp
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-03 08:23:06 +0000
committerjlam <jlam@pkgsrc.org>2004-08-03 08:23:06 +0000
commitf2a1fee7710ca87dbbfa1e5bac6c324e525f90c7 (patch)
treef71efe71d944ba304d2c6e0f2aa2f72a35ce2b51 /mail/clamsmtp
parent60a3632e19df6f9c31f9f442259e3f64a75c5959 (diff)
downloadpkgsrc-f2a1fee7710ca87dbbfa1e5bac6c324e525f90c7.tar.gz
Correct the example to follow postfix guidelines, and point the user to
additional documentation.
Diffstat (limited to 'mail/clamsmtp')
-rw-r--r--mail/clamsmtp/MESSAGE37
1 files changed, 20 insertions, 17 deletions
diff --git a/mail/clamsmtp/MESSAGE b/mail/clamsmtp/MESSAGE
index 542945e19fa..c9b8d61f472 100644
--- a/mail/clamsmtp/MESSAGE
+++ b/mail/clamsmtp/MESSAGE
@@ -1,31 +1,34 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2004/07/21 03:54:25 xtraeme Exp $
+$NetBSD: MESSAGE,v 1.2 2004/08/03 08:23:06 jlam Exp $
-In order to use ${PKGBASE} with postfix, a possible configuration would
-be:
+In order to use with postfix, a possible configuration using clamsmtpd as
+an after-queue content filter would be:
[main.cf]
-content_filter = scan:127.0.0.1:10025
+content_filter = scan:localhost:10025
receive_override_options = no_address_mappings
[master.cf]
# AV scan filter (used by content_filter)
scan unix - - n - 16 smtp
- -o smtp_send_xforward_command=yes
+ -o smtp_send_xforward_command=yes
# For injecting mail back into postfix from the filter
-127.0.0.1:10026 inet n - n - 16 smtpd
- -o content_filter=
- -o receive_override_options=no_unknown_recipient_checks
- -o smtpd_helo_restrictions=
- -o smtpd_client_restrictions=
- -o smtpd_sender_restrictions=
- -o smtpd_recipient_restrictions=permit_mynetworks,reject
- -o mynetworks_style=host
- -o smtpd_authorized_xforward_hosts=127.0.0.0/8
-
-That's all! please visit ${HOMEPAGE}
-if you need more information.
+localhost:10026 inet n - n - 16 smtpd
+ -o content_filter=
+ -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
+ -o smtpd_helo_restrictions=
+ -o smtpd_client_restrictions=
+ -o smtpd_sender_restrictions=
+ -o smtpd_recipient_restrictions=permit_mynetworks,reject
+ -o mynetworks_style=host
+ -o smtpd_authorized_xforward_hosts=127.0.0.0/8
+
+That's all! please visit the following links for more information on this
+setup:
+
+ ${HOMEPAGE}postfix.html
+ http://www.postfix.org/FILTER_README.html
===========================================================================