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

Re: Refusing to deliver mail



On Fri, 18 Jun 1999, Mario Jorge Nunes Filipe wrote:

   Hi
   
   Is there a way to configure the email server (sendmail 8.9.3) so
   that it refuses mail coming from a specified address to a specific
   email. Let me clarify:
   
   My user A doesn't wan't to receive mail from b@wherever.com. Is it
   possible (with sendmail or something else) to make b's message
   bouce back complaining about the unavailability of a ?

You can use the access database feature:
  http://www.sendmail.org/m4/anti-spam.html

With this feature enabled, you can use the file /etc/mail/access:

spammer@spam.com     550 We do not accept spam.
spamming.domain.com  550 We do not accept spam from your domain.

I'm not sure if you are familiar with M4, but I'm sure the Debian
package includes a default M4 file that you can modify (adding the
access_db feature) and regenerated your sendmail.cf.  I'm not sure
since the default MTA, exim, has sufficed on all my Debian machines.
(sendmail experience is on Slowlaris)

Dennis
-- 
Dennis Kelly <dpk@egr.msu.edu>
Network Adminstrator
College of Engineering, MSU




Reply to: