Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!anselmo-ed From: anselmo-ed@CS.YALE.EDU (Ed Anselmo) Newsgroups: comp.mail.sendmail Subject: Re: Restricting gateway mail Message-ID: <27993@cs.yale.edu> Date: 10 Jan 91 14:01:40 GMT References: Sender: news@cs.yale.edu Organization: Yale University, Dept. of Computer Science, New Haven, CT Lines: 26 Nntp-Posting-Host: bigbird.cf.cs.yale.edu In-reply-to: ehrlich@cs.psu.edu's message of 9 Jan 91 19:30:43 GMT An ancient hack (dating from the 9600 baud fuzzball days when they didn't allow everyone to send ARPANET mail) at Yale CS enables the checkcompat() routine in conf.c. The default configuration simply returns TRUE. Returning FALSE from checkcompat() results in EX_UNAVAILABLE errors. Comments from the code follow: ** YALEACCESS -- The routine used to check if the sender is allowed ** to send mail out to the ARPA Internet. ** ** The following algorithm is used to determine if the sender ** is allowed access: ** ** 1) If the destination address is not an ARPA address, or if ** it is YALE.ARPA, access is automatically allowed. ** 2) If the sender address is an ARPA address other than YALE, ** access is automatiically allowed. ** 3) Otherwise (i.e. if the destination is an ARPA address ** other than YALE, and the sender address is a non-ARPA ** address or a YALE.ARPA address), then access is checked ** by seeing if the sender address is listed in the ARPA ** access file. ** -- Ed Anselmo anselmo-ed@cs.yale.edu {harvard,cmcl2}!yale!anselmo-ed