LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail --> Blocking email from senders (https://www.linuxquestions.org/questions/linux-general-1/sendmail-blocking-email-from-senders-33741/)

ForumKid 10-25-2002 02:01 PM

Sendmail --> Blocking email from senders
 
HI,
Is there a way for sendmail 8.11.6 to be configured to block certain senders from sending me emails. Kind of like a filtering process.
Thanks

markus1982 10-25-2002 02:12 PM

First of all: Thanks that you are a contributing member ;)

Regarding your question:
Yep it's possible using /etc/mail/access, just add an entry of the form:
Code:

user@host.net        550 Rejected due massive amout of spam!
domain.com        550 Rejected due massive amout of spam!

Check /usr/share/doc/sendmail-8.11.6/README.cf, section access_db for more information regarding this!

ForumKid 10-25-2002 02:46 PM

Thank you very much!


All times are GMT -5. The time now is 04:06 PM.