You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2005/11/17 03:40:41 UTC

[Spamassassin Wiki] Update of "PreflightByMail" by JustinMason

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/PreflightByMail

The comment on the change is:
details about the mass-check-by-mail system

New page:
= Preflight Mass-Checks By Mail =

The email address {{{automc /at/ spamassassin.zones.apache.org}}} is used to run mass-checks by email.

If a mail arrives from a known good source to that address, containing a text/plain attachment, that attachment is extracted and saved, and the PreflightBuildBot signalled.

When those buildbot slaves run, they'll pick up the rules file, and check it with "spamassassin --lint".  If it passes, it's used in the mass-check for that buildbot slave.

Results are visible immediately through the normal buildbot web UI. They are presented as 'freqs' output (as usual).  They are also fed into the RuleQaApp.

== Security ==

Because mail-submitted rules are OK, we have to be a little more careful than normal. For example, plugins are ignored in mail-submitted rules. Nothing is run if --lint fails.  In addition, the preflight mass-check script runs with very paranoid ulimits, to trap CPU-load problems, and executes in a chroot jail with an unprivileged UID.

== Adding Sources ==

A committer needs to edit {{{build/automc/automc-by-mail}}} and add the email address to the $ALLOWED_MAIL_PEOPLE regexp.

''(history: see RulesProjBuildBot for planning decisions.)''