LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-09-2010, 05:46 AM   #1
linux_bud
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
block IP/domainname in sendmail


Hi,

I want to block a domain name in sendmail server. I added the domain name and "REJECT"in /etc/mail/access file. What has to be done for the changes to take effect? when i run make command in /etc/mail dir i get following error : make: Nothing to be done for `all'.
Can anyone please guide me the correct direction and why i am receiving this error?
Thanks.
 
Old 07-09-2010, 06:03 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You have to run
Code:
makemap hash /etc/mail/access < /etc/mail/access
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - change domainname local users RattleSn@ke Linux - Networking 4 04-08-2010 12:15 PM
How to Block domains in sendmail?? lhx820000 Linux - Newbie 2 06-17-2009 05:22 AM
Set domainname of sendmail ? :-S freakin'me Linux - Networking 1 03-12-2006 06:28 AM
Block some users in sendmail gosyx Linux - General 0 12-13-2005 04:22 PM
sendmail and domainname zeky Linux - Networking 4 05-02-2005 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration