Re: Feature request

Magnus Holmgren <[email protected]> Thu, 30 Aug 2007 23:12:07 +0200
Newsgroups gmane.mail.exim.spamassassin
Organization Lysator ACS
Message-ID <[email protected]>
--===============1172947295==
Content-Type: multipart/signed; boundary="nextPart1455256.5VdqkYvSWS";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1455256.5VdqkYvSWS
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 30 August 2007 22:50, Eduardo Diaz Comellas wrote:
> I think it would be very useful if sa-exim could implement another
> action (apart from teergrube), that would consist on closing the
> connection inmediately. This way, if a spammer sends a high scoring
> mail, the connection would be dropped inmediately and he would have no
> time to send more spam.

Unfortunately Exim's local_scan API doesn't support it (see=20
http://www.exim.org/exim-html-current/doc/html/spec_html/ch42.html). It's=20
only possible to accept, permreject and tempreject (with some variations).=
=20
You have to submit a feature request (for a LOCAL_SCAN_DROP return code and=
=20
the corresponding action) to Exim first. But I doubt that it would be very=
=20
effective and/or efficient. By the time SA-Exim is run, the message has=20
already been transmitted and stored to disk. The spammer doesn't lose much =
by=20
having to reconnect. I think it would be better for SA-Exim to write a reco=
rd=20
to a file that can be checked in the ACLs in order to stop all further mail=
=20
before DATA for some time period.

=2D-=20
Magnus Holmgren        [email protected]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for=20
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

--nextPart1455256.5VdqkYvSWS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBG1zKuk7mRNn1h4+YRAjd8AKCZzMliwSWCrG5+geuEa6bcvpokWACgtcCF
Fka1OGZ79KZS+htgbTKcGxY=
=5Do+
-----END PGP SIGNATURE-----

--nextPart1455256.5VdqkYvSWS--


--===============1172947295==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SA-Exim mailing list
[email protected]
http://lists.merlins.org/lists/listinfo/sa-exim

--===============1172947295==--