Doug Crompton on 11 Jan 2005 21:34:30 -0000 |
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? 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
|
|