Stephen Gran on 11 Jan 2005 22:58:05 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Mail Question


On Tue, Jan 11, 2005 at 04:34:20PM -0500, Doug Crompton said:
> I am running 8.11.6 sendmail. Guess I should update. BUT...
> 
> I do have access.db installed and the appropriate commands in sendmail.cf
> and I have defined the REJECT entries in access and made access.db BUT it
> does not seem to work...
> 
> Access example -
> 
> man REJECT
> 
> sending mail locally to man still accepts it.
> 
> any ideas?

The line needs to be 
To:man@        ERROR:550 This address does not send or accept email

To: is important, as is ERROR:

and then put
FEATURE(`blacklist_recipients')
in sendmail.mc

And this is absolutely necessary.

> Doug
> 
> On Tue, 11 Jan 2005, Stephen Gran wrote:
> >
> > I think, looking over the system where I have this arrangement, I
> > mispoke, or spoke too broadly.  The error:nouser setting works in
> > virtusertable, not aliases, so you need to do some other hackery to make
> > it work - fortunately, there are already m4 macros for all of it :)
> > You'll need to set FEATURE(`blacklist_recipients') in sendmail.mc for
> > this trick to work.  Then in your access file, put:
> > To:bin@        ERROR:550 This address does not send or accept email
> >
> > Or whatever address or error message you want.  This is just a
> > cut-n-paste, so sprinkle to taste.
> >
> > HTH,
> > --
> >  --------------------------------------------------------------------------
> > |  Stephen Gran                  | QOTD:  Talk about willing people...     |
> > |  steve@lobefin.net             | over half of them are willing to work   |
> > |  http://www.lobefin.net/~steve | and the others are more than willing to |
> > |  			         | watch them.                             |
> >  --------------------------------------------------------------------------
> >
> 
> 
> ****************************
> *  Doug Crompton	   *
> *  Richboro, PA 18954	   *
> *  215-431-6307		   *
> *		  	   *
> * doug@crompton.com        *
> * wa3dsp@wa3dsp.ampr.org   *
> * http://www.crompton.com  *
> ****************************
> 
> 
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> 

-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | They finally got King Midas, I hear.    |
|  steve@lobefin.net             | Gild by association.                    |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgpgMrL0VrHmi.pgp
Description: PGP signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug