🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #5606

Re: Bouncing mail for expired users

#5606
From: Mark Towfigh
Date: Sat, 10 Mar 1990 17:58
33 lines
1798 bytes
[how to bounce mail, informing the sender that the user's account has
expired.]

In article <KARL.90Mar7082150@giza.cis.ohio-state.edu>
karl@giza.cis.ohio-state.edu (Karl Kleinpaste) writes:

   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

Building on Karl's suggestion, how about returning some sensible
error, like

	67 -- EX_NOUSER		(addressee unknown)
	69 -- EX_UNAVAILABLE	(service unavailable)
	73 -- EX_CANTCREAT	(can't create (user) output file)
	77 -- EX_NOPERM		(permission denied)

(taken from sysexits.h)

Mark
--
Mark Towfigh, Racal Interlan, Inc.                 towfiq@interlan.Interlan.COM
W: (508) 263-9929 H: (617) 488-2818                       uunet!interlan!towfiq

  "The Earth is but One Country, and Mankind its Citizens" -- Baha'u'llah
Technical Details
Message-ID: <TOWFIQ.90Mar10115821@interlan.Interlan.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!tut.cis.ohio-state.edu!uc!nic.MR.NET!thor.acc.stolaf.edu!stolaf!towfiq
References: <5637@ur-cc.UUCP> <KARL.90Mar7082150@giza.cis.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!tut.cis.ohio-state.edu!uc!nic.MR.NET!thor.acc.stolaf.edu!stolaf!towfiq
From: towfiq@interlan.Interlan.COM (Mark Towfigh)
Newsgroups: comp.mail.misc
Subject: Re: Bouncing mail for expired users
Message-ID: <TOWFIQ.90Mar10115821@interlan.Interlan.COM>
Date: 10 Mar 90 17:58:21 GMT
References: <5637@ur-cc.UUCP> <KARL.90Mar7082150@giza.cis.ohio-state.edu>
Sender: news@thor.acc.stolaf.edu
Followup-To: comp.mail.misc
Organization: Racal InterLan Inc., Boxborough, MA (1-800-LAN-TALK)
Lines: 33
In-reply-to: karl@giza.cis.ohio-state.edu's message of 7 Mar 90 13:21:50 GMT