🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #5587

Re: Bouncing mail for expired users

#5587
From: Karl Kleinpaste
Date: Wed, 07 Mar 1990 13:21
16 lines
1101 bytes
msir@uhura.cc.rochester.edu writes:
   What I think I want to do is create an alias in sendmail's alias file which
   will cause a message to bounce, but with a particular message.

With apologies for a certain tendency to grotesque hacks, try this:
	some-expired-user:	"|/usr/local/lib/expire-bounce"
where /usr/local/lib/expire-bounce consists of
	#!/bin/sh
	echo 500 User no longer on system.
	exit 1
which results in bounces of the form:
	   ----- Transcript of session follows -----
	500 User no longer on system.
	554 "|/usr/local/lib/expire-bounce"... unknown mailer error 1

--karl
Technical Details
Message-ID: <KARL.90Mar7082150@giza.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!giza.cis.ohio-state.edu!karl
References: <5637@ur-cc.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!giza.cis.ohio-state.edu!karl
From: karl@giza.cis.ohio-state.edu (Karl Kleinpaste)
Newsgroups: comp.mail.misc,comp.mail.sendmail
Subject: Re: Bouncing mail for expired users
Message-ID: <KARL.90Mar7082150@giza.cis.ohio-state.edu>
Date: 7 Mar 90 13:21:50 GMT
References: <5637@ur-cc.UUCP>
Sender: news@tut.cis.ohio-state.edu
Followup-To: comp.mail.misc
Organization: Ohio State Computer Science
Lines: 16