From: Chris Knadle <Chris.Knadle@coredump.us>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] Setup access rule to only allow single sender IP
Date: Wed, 08 Apr 2015 01:34:18 +0000 [thread overview]
Message-ID: <5524859A.6080505@coredump.us> (raw)
In-Reply-To: <20150407222757.3cea20fa@chg-trisquel>
On 04/07/2015 04:27 PM, Christian Gleerup wrote:
> Hello list.
>
> I have a newsletter where only one is allowed to send out emails,
> currently I have a rule in the access file that only allows emails
> where the from header corresponds to the correct sender email.
>
> but I can see there are some attempts to abuse the list, so I would
> like to add a limit on the IP adress?
>
> Is that possible? (I am not sure the IP itself is part of the email
> address)
I imagine you could do something like:
allow ^Received: from mail.itoverblik.dk ([81.7.162.170])
assuming that the MTA you're using includes the sending IP address in
these headers (most do).
-- Chris
--
Chris Knadle
Chris.Knadle@coredump.us
next prev parent reply other threads:[~2015-04-08 1:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 20:27 [mlmmj] Setup access rule to only allow single sender IP Christian Gleerup
2015-04-08 1:34 ` Chris Knadle [this message]
2015-04-08 5:48 ` Christian Gleerup
2015-04-08 6:16 ` Chris Knadle
2015-04-08 21:06 ` Chris Knadle
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=5524859A.6080505@coredump.us \
--to=chris.knadle@coredump.us \
--cc=mlmmj@mlmmj.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