summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2009-09-01 14:46:44 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2009-09-01 14:46:44 +0000
commit3a9917047bbbcb090a8f1a5fb75931fcf9807f8f (patch)
treed303f766123679898c306ddad9cf01e194a08f2d /libexec
parentc162a5f99a6cc1da1d71c5f14d85f67aee2d710c (diff)
match samples here with pf.conf(5) sample ruleset following recent pf changes
ok henning@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/spamd/spamd.815
1 files changed, 9 insertions, 6 deletions
diff --git a/libexec/spamd/spamd.8 b/libexec/spamd/spamd.8
index 7ba25611a8c..f07b888e46c 100644
--- a/libexec/spamd/spamd.8
+++ b/libexec/spamd/spamd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: spamd.8,v 1.114 2009/04/20 21:08:27 jmc Exp $
+.\" $OpenBSD: spamd.8,v 1.115 2009/09/01 14:46:43 todd Exp $
.\"
.\" Copyright (c) 2002 Theo de Raadt. All rights reserved.
.\"
@@ -22,7 +22,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 20 2009 $
+.Dd $Mdocdate: September 1 2009 $
.Dt SPAMD 8
.Os
.Sh NAME
@@ -282,8 +282,11 @@ The following
example is suggested:
.Bd -literal -offset 4n
table \*(Ltspamd-white\*(Gt persist
-rdr pass inet proto tcp from !\*(Ltspamd-white\*(Gt to any \e
- port smtp -\*(Gt 127.0.0.1 port spamd
+table \*(Ltnospamd\*(Gt persist
+pass on egress proto tcp from any to any port smtp \e
+ rdr-to 127.0.0.1 port spamd
+pass on egress proto tcp from \*(Ltnospamd\*(Gt to any port smtp
+pass on egress proto tcp from \*(Ltspamd-white\*(Gt to any port smtp
.Ed
.Pp
.Nm
@@ -467,8 +470,8 @@ Any other addresses
are passed to the real MTA.
.Bd -literal -offset 4n
table \*(Ltspamd\*(Gt persist
-rdr pass inet proto tcp from \*(Ltspamd\*(Gt to any \e
- port smtp -\*(Gt 127.0.0.1 port spamd
+pass on egress proto tcp from \*(Ltspamd\*(Gt to any \e
+ port smtp rdr-to 127.0.0.1 port spamd
.Ed
.Pp
Addresses can be loaded into the