9front - general discussion about 9front
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9front@sirjofri.de>
To: 9front@9front.org
Subject: Smtpd spam prevention
Date: Fri, 20 Nov 2020 15:53:35 +0000 (UTC)	[thread overview]
Message-ID: <d87d5a63-524a-44ed-b39b-feeeb863351f@sirjofri.de> (raw)

Hello all,

my smtpd server runs fine, but I recently got some spam mails. Currently 
my server doesn't filter anything and does nothing to prevent spam.

There are two options to smtpd, according to the man:

> -D sleeps for 15 seconds usually at the start of the SMTP
> dialogue; this deters some spammers.  Connections from
> Class A networks frequented by spammers will incur a
> longer delay.

> -g turns on grey/white list processing.  All mail is
> rejected (with a retry code) unless the sender's IP
> address is on the whitelist, /mail/grey/whitelist, an
> append only file.  Addresses can be added to the whitel-
> ist by the administrator.  However, the usual way for
> addresses to be added is by smtpd itself. ... (Greylisting)

Both options make sense to me. -g might work out of the box, is there 
anything I need to know before enabling it?

-D is new to me. I never heard about this extra delay when handling mail. 
Can I safely enable that?

What configurations do you use?

I don't want to dive into ratfs for now. My mail traffic is low anyways.

sirjofri


             reply	other threads:[~2020-11-20 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 15:53 sirjofri [this message]
2020-11-20 16:41 ` [9front] " Stanley Lieber
2020-11-20 16:44 ` ori
2020-11-20 17:04   ` Steve Simon

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=d87d5a63-524a-44ed-b39b-feeeb863351f@sirjofri.de \
    --to=sirjofri+ml-9front@sirjofri.de \
    --cc=9front@9front.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).