mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Horst von Brand <vonbrand@inf.utfsm.cl>
Cc: jdow <jdow@earthlink.net>, Jesper Juhl <jesper.juhl@gmail.com>,
	nick@linicks.net, Bernd Petrovitsch <bernd@firmix.at>,
	marty fouts <mf.danger@gmail.com>,
	Matti Aarnio <matti.aarnio@zmailer.org>,
	linux-kernel@vger.kernel.org
Subject: Re: VGER does gradual SPF activation (FAQ matter)
Date: Tue, 13 Jun 2006 15:34:16 +0100	[thread overview]
Message-ID: <1150209257.2844.11.camel@hades.cambridge.redhat.com> (raw)
In-Reply-To: <200606131328.k5DDSRd4003689@laptop11.inf.utfsm.cl>

On Tue, 2006-06-13 at 09:28 -0400, Horst von Brand wrote
> > >> Greylist those who have not subscribed.
> > > That is not easy to do.
> 
> > Somebody needs to write the code to make it easy to do for a list
> > server. It should not be hard to do.
> 
> Great! Show us how. I'd be delighted to use it here. 

For me, it would be three lines of extra code in my Exim configuration
and a cron job to extract the subscriber lists into a text file which
Exim can read -- and the latter is just because I haven't bothered to
check whether Exim could read the mailman database directly.

Once I ditch mailman and switch to something like exilist, Exim _will_
be able to get at those lists directly, so it'll be even simpler.

Given a config like my existing one at http://david.woodhou.se/eximconf/
all you have to do to trigger greylisting for a particular 'offence' is
to add to the $acl_m0 variable when your check for it is triggered.

Whenever that variable is non-empty, the mail is considered for
greylisting by the snippet of ACL code which I've put in its own file at
http://david.woodhou.se/eximconf/include/acl-greylist and which gets
called from the post-DATA ACL after the SpamAssassin stuff (which also
triggers greylisting, at low scores).

(Hm, I _really_ should pull my finger out and switch from my original
hackish implementation to the sqlite version which Jeff sent me --
acl-greylist-sqlite in the same directory.)

All I'd need would be a cron job which sticks a file for each list
somewhere, say /foo/bar/subscribers/, with the filename being the full
(user@domain) name of the list, and the file being just a plain text
list of addresses, one per line.

Then I'd add three lines to the Exim configuration, in the RCPT ACL:

warn recipients = dsearch;/foo/bar/subscribers
     !senders = lsearch;/foo/bar/subscribers/$local_part@$domain
     set acl_m0 = Post to $local_part list by non-subscriber.

Entirely untested... but certainly not particularly hard.

-- 
dwmw2


  reply	other threads:[~2006-06-13 14:34 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-10 22:27 Matti Aarnio
2006-06-10 23:06 ` David Woodhouse
2006-06-11  0:16   ` Rik van Riel
2006-06-11  0:44     ` David Woodhouse
2006-06-11 13:02     ` Theodore Tso
2006-06-11 13:55       ` Rik van Riel
2006-06-11 14:03         ` Avi Kivity
2006-06-12  8:47           ` Matthias Andree
2006-06-12 10:17             ` Neil Brown
2006-06-12 10:35               ` David Woodhouse
2006-06-12 11:07               ` Matthias Andree
2006-06-11  2:24   ` marty fouts
2006-06-11  2:41     ` jdow
2006-06-11  2:58       ` David Schwartz
2006-06-11  5:17         ` jdow
2006-06-12  8:18           ` Bernd Petrovitsch
2006-06-12  8:23             ` jdow
2006-06-12  8:31               ` Bernd Petrovitsch
2006-06-12  9:47               ` Neil Brown
2006-06-12 10:30                 ` Alan Cox
2006-06-12 10:33                   ` Neil Brown
2006-06-12 17:37               ` Gerhard Mack
2006-06-12 18:14                 ` Krzysztof Halasa
2006-06-12 18:46                   ` jdow
2006-06-12 19:16                     ` Krzysztof Halasa
2006-06-12 21:51                   ` Bernd Petrovitsch
2006-06-13 21:12                 ` David Woodhouse
2006-06-12  9:53             ` Alan Cox
2006-06-12 10:01               ` Bernd Petrovitsch
2006-06-12 11:14                 ` Matthias Andree
2006-06-12 10:58               ` Neil Brown
2006-06-12 11:22                 ` Matthias Andree
2006-06-12 11:42             ` Kyle Moffett
2006-06-13 23:32               ` Scott Lockwood
2006-06-13 23:42                 ` Kyle Moffett
2006-06-14  0:02               ` Neil Brown
2006-06-14 10:20                 ` Matthias Andree
2006-06-16  3:53                   ` Kyle Moffett
2006-06-12  8:27     ` Bernd Petrovitsch
2006-06-12 20:25       ` Horst von Brand
2006-06-12 21:10         ` Nick Warne
2006-06-12 22:06           ` Jesper Juhl
2006-06-12 22:12             ` Randy.Dunlap
2006-06-12 23:03             ` jdow
2006-06-13  3:00               ` Horst von Brand
2006-06-13  5:54                 ` jdow
2006-06-13  8:36                   ` Bernd Petrovitsch
2006-06-13  9:58                   ` Marc Perkel
2006-06-13 13:28                   ` Horst von Brand
2006-06-13 14:34                     ` David Woodhouse [this message]
2006-06-13  9:05                 ` David Woodhouse
2006-06-13 10:45                   ` Matthias Andree
2006-06-13 12:24                     ` David Woodhouse
2006-06-13 12:49                       ` Matthias Andree
2006-06-13 13:10                         ` David Woodhouse
2006-06-13 15:19                         ` Marc Perkel
2006-06-13 15:57                           ` Auke Kok
2006-06-13 19:54                             ` David Woodhouse
2006-06-13 20:31                               ` Lennart Sorensen
2006-06-13 20:48                                 ` David Woodhouse
2006-06-15 17:05               ` Keith Owens
2006-06-15 23:14                 ` Wakko Warner
2006-06-13  0:11             ` Phil Oester
2006-06-13  0:26               ` David Miller
2006-06-13  4:18                 ` Willy Tarreau
2006-06-13 15:17               ` Joel Jaeggli
2006-06-12 21:43         ` Bernd Petrovitsch
2006-06-13  3:05           ` Horst von Brand
2006-06-13  8:31             ` Bernd Petrovitsch
2006-06-13 10:50               ` Matthias Andree
2006-06-13 13:15                 ` Justin Piszcz
2006-06-11  5:09   ` Neil Brown
2006-06-11  5:26     ` jdow
2006-06-11  6:12       ` Willy Tarreau
2006-06-11 16:02 ` Folkert van Heusden
2006-06-11 17:54   ` Lee Revell
2006-06-11 18:54     ` David Miller
2006-06-12  9:09       ` Matthias Andree
2006-06-12 11:32       ` Nikita Danilov
2006-06-12 14:52       ` Jeff Garzik
2006-06-12 20:00         ` David Miller
2006-06-12 22:29           ` Jesper Juhl
2006-06-12 22:48             ` David Miller
2006-06-12 22:57               ` Jesper Juhl
2006-06-13  3:54         ` VGER does gradual SPF activation (FAQ matter) - Alternative Marc Perkel
2006-06-13  4:51           ` David Miller
2006-06-13 13:41         ` VGER does gradual SPF activation (FAQ matter) Athanasius
2006-06-11 17:31 ` Marc Perkel
2006-06-11 18:50 ` Florian Weimer
     [not found] ` <20060611072223.GA16150@flint.arm.linux.org.uk>
2006-06-12  8:32   ` Matti Aarnio
2006-06-12  8:40     ` Russell King
2006-06-12  9:57       ` Neil Brown
2006-06-12 15:55         ` Russell King
2006-06-12 20:06       ` Zwane Mwaikambo
2006-06-12 11:22     ` David Woodhouse
2006-06-12 15:41     ` Simon Oosthoek
2006-06-12 22:55       ` Matthias Andree
2006-06-13 17:41       ` Matti Aarnio
2006-06-12  9:05 ` Matthias Andree
2006-06-12 17:28   ` Matthew Frost
2006-06-13  0:12   ` David Woodhouse

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=1150209257.2844.11.camel@hades.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=bernd@firmix.at \
    --cc=jdow@earthlink.net \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matti.aarnio@zmailer.org \
    --cc=mf.danger@gmail.com \
    --cc=nick@linicks.net \
    --cc=vonbrand@inf.utfsm.cl \
    /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

all inboxes | Powered by JetHome®