🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3185

Re: UK-Sendmail Authorisation program

#3185
From: Jim Crammond
Date: Thu, 09 Feb 1989 09:39
20 lines
1084 bytes
|Ideally I'd like to be able to ban any mail from the student machine
|Is there anyway setting up authorise so it knows where the
|mail came from in a multi-host environment?

The answer to this one is yes!

By default the authorise program receives "$g" as the from address from
sendmail. If instead you change this to "$s" - i.e. the sender domain
(which includes the actual host) then you can authorise on that.

So, you could put something in your localise.sh such as:

	ed mailers.m4 <<'EOF'
	/authorise janet/s/$g/$s/
	w
	q
	EOF


-Jim.
Technical Details
Message-ID: <27606.8902090939@sophocles.doc.ic.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!imagen!atari!portal!uunet!mcvax!ukc!etive!glasgow!jac

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!imagen!atari!portal!uunet!mcvax!ukc!etive!glasgow!jac
From: jac@doc.ic.ac.uk (Jim Crammond)
Newsgroups: comp.mail.sendmail
Subject: Re: UK-Sendmail Authorisation program
Message-ID: <27606.8902090939@sophocles.doc.ic.ac.uk>
Date: 9 Feb 89 09:39:40 GMT
Sender: daemon@cs.glasgow.ac.uk
Lines: 20
Phone: 01-589 5111 ext 5065
In-Reply-To: Jonathan Knight's message of Tue, 7 Feb 89 12:19:43 GMT
X-Mailer: mail-news 2.0.4