9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] upas contrib package
Date: Mon,  1 Jun 2009 12:57:16 -0400	[thread overview]
Message-ID: <7d96a24a4c9cea46bedde70b17199b8d@quanstro.net> (raw)

i've rolled all the upas changes into a contrib package,
quanstro/nupas.  unfortunately, it's not as clean an
installation as i would like.  i'm sure there will be some
rough edges.  problems reports and suggestions for cleaning
things up are welcome.

there is a few steps to prepare for this package.

	; mv /sys/src/cmd/upas /sys/src/cmd/oupas
	; mv /386/bin/upas /386/bin/oupas
	; mkdir /386/bin/upas

once installed, you'll either (a) need to change /lib/profile
as follows. add the marked line

	# standard bin
>>	bind /$cputype/bin/nupas /$cpu/bin/upas
	bind /$cputype/bin /bin

or (b) use the script usenupas anywhere upas is called.  this
will be necessary for smtp, smtpd, imap4d, etc.

finally, take a look at validatesender.  nupas smtpd
passes some extra arguments to /mail/lib/validatesender
to facilitate spf and spamhaus checks.  the version provided
insists that both spf and spamhaus check out.  alternately
one could use spamhaus only on spf fail or neutral.
i have a vague recollection of a large pile of spam that
passed spf checks so i haven't don that.

- erik



                 reply	other threads:[~2009-06-01 16:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7d96a24a4c9cea46bedde70b17199b8d@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).