linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Camelia NASTASE <camelia@office.dnt.ro>
To: Bruce Ferrell <bferrell@baywinds.org>
Cc: Mohammed Zahid Hossain <zahid@spaninn.com>, linux-admin@vger.kernel.org
Subject: Re: How can I deny to receive mail from specific host(s)?
Date: Thu, 16 May 2002 09:24:45 +0300 (EEST)	[thread overview]
Message-ID: <20020516091528.M62092-100000@bofh.dnt.ro> (raw)
In-Reply-To: <3CDF38E0.B8CD218C@baywinds.org>

>
> Look in /etc/mail for a file called access.  Edit that file and add a
> line with the IP address of the host you want to reject mail from
> followed by the word REJECT.  Restart sendmail and mail from that host
> will be denied.

He should also rebuild the hash before restarting sendmail.
 makemap hash /etc/mail/access < /etc/mail/access

>
> Mohammed Zahid Hossain wrote:
> >
> > Hello,
> > Can anyone tell me..
> >
> > How can I deny to receive mail from specific host(s)?
> > System: Slackware 7.0
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

-- 
Camelia Nastase, camelia@office.dnt.ro
Network Administrator
Dynamic Network Technologies, Romania
Tel: +40-1-2106863 Fax: +40-1-3122745



  reply	other threads:[~2002-05-16  6:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13  3:22 How can I deny to receive mail from specific host(s)? Mohammed Zahid Hossain
2002-05-13  3:54 ` Bruce Ferrell
2002-05-16  6:24   ` Camelia NASTASE [this message]
2002-05-17  7:43     ` Mark Shadley
2002-05-17  9:02       ` Camelia NASTASE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020516091528.M62092-100000@bofh.dnt.ro \
    --to=camelia@office.dnt.ro \
    --cc=bferrell@baywinds.org \
    --cc=linux-admin@vger.kernel.org \
    --cc=zahid@spaninn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).