From: Joakim Ryden <jryden@thebox.our-own.net>
To: linux-admin@vger.kernel.org
Subject: Re: Blocking mail from certain domains....
Date: Fri, 10 Oct 2003 09:20:13 -0700 [thread overview]
Message-ID: <200310100920.13864.jryden@thebox.our-own.net> (raw)
In-Reply-To: <20031010110651.GB2221@yagonna.de>
On Friday 10 October 2003 04:06 am, Sven Pfeifer wrote:
SP> Hi,
SP>
SP> urgrue <urgrue@tumsan.fi> wrote:
SP> > i think its even easier to just put:
SP> > bad_domain.com REJECT
SP> > in your access table. this is usually /etc/mail/access.
SP>
SP> but it only works if you have all the bad_domains.tld, not for
SP> admin@some-domain.tld.
SP>
SP> > you may need to hash that table:
SP> > makemap hash /etc/mail/access.db < /etc/mail/access
SP> > but i am under the impression that most sendmails these days are
SP> > configured to hash tables on start, so it may be sufficient to just
SP> > restart sendmail.
SP>
SP> If i guess right, Daniel uses exim, then he can´t restart sendmail.
SP> In this case i think procmail, or an exim-mailinglist would be the
SP> better choice.
Letting an e-mail enter into your mail system(s) instead of rejeceting it in
the SMTP conversation is usually NOT a good choice.
--Jo
-
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
prev parent reply other threads:[~2003-10-10 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-09 23:42 Blocking mail from certain domains Daniel W
2003-10-10 8:15 ` Tommy Tovbin
2003-10-10 8:56 ` urgrue
2003-10-10 11:06 ` Sven Pfeifer
2003-10-10 16:20 ` Joakim Ryden [this message]
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=200310100920.13864.jryden@thebox.our-own.net \
--to=jryden@thebox.our-own.net \
--cc=linux-admin@vger.kernel.org \
/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).