Date: Mon, 04 Jan 2010 07:24:26 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Matt Emmerton <matt@gsicomp.on.ca> Cc: freebsd-questions@freebsd.org Subject: Re: spamassassin Y2010 bug Message-ID: <4B4197AA.4070105@infracaninophile.co.uk> In-Reply-To: <0B5EA5AACF984974820923C1FC65D7DB@hermes> References: <EB178F24-BF6F-4645-AB0F-5A15A2F51736@goldmark.org><20100101231924.4df469df@gumby.homeunix.com><35F4927C-D6EA-4C27-B9ED-3E07FFA5FD28@goldmark.org><4B3F46ED.7080100@infracaninophile.co.uk><20100102144557.5ad217f7@gumby.homeunix.com><5B9046E5-B39C-434A-9B8E-8C105869C327@goldmark.org><4B406B21.5000800@infracaninophile.co.uk><4B40F9AB.8030409@infracaninophile.co.uk> <20100104004550.2b4eda47@gumby.homeunix.com> <0B5EA5AACF984974820923C1FC65D7DB@hermes>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2431C857FEB5D65EDFEAF0D2
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Matt Emmerton wrote:
>> On Sun, 03 Jan 2010 20:10:19 +0000
>> Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
>>
>>> Comments, critique are welcome. Unless there are any killer bugs,
>>> I'll send-pr(1) in a week or so.
>>
>> You have:
>>
>> : ${daily_sa_compile=3D"YES"}
>>
>> sa-compile is installed by the SA port, but it requires devel/re2c,
>> which is an optional dependency. With a standard install your script
>> will update the rules, the compile will unconditionally fail, and so
>> spamd won't get restarted.
>>
>> You could detect the re2c port, but I think it would be better to turn=
>> it off by default
Hmmm... good point. =20
>> I'd also suggest running sa-compile with nice by default.
>=20
> I've put up a set of diffs (patches) in shar format that address some o=
f=20
> these issues:
>=20
> 1) re2c is listed as a run dependency. No two ways around it - if you =
> do plan on running sa-compile at some time, you'll need re2c, and=20
> chances are that the machine that is running sa-update is also going to=
=20
> be running sa-compile.
Yes. Agreed. =20
=20
> 2) sa-compile is nice(1)'d by default, and you can provide other flags =
> to nice(1) as well.
This is a good idea too.
=20
> See http://www.gsicomp.on.ca/~matt/sa-utils-patches.shar
I'll add your patches and post an updated shar later on.
Thank you all very much for your comments.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
--------------enig2431C857FEB5D65EDFEAF0D2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAktBl7AACgkQ8Mjk52CukIxGjgCghsX0+WUfbPwfOSqthkbEVCnM
6PoAnjV240nZGmCQvuTaweA9FKNsQG2X
=0iUI
-----END PGP SIGNATURE-----
--------------enig2431C857FEB5D65EDFEAF0D2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4197AA.4070105>
