<div><div class="gmail_quote">On Tue, Nov 4, 2008 at 10:52 PM, Scott Silva <span dir="ltr"><<a href="mailto:ssilva@sgvwater.com">ssilva@sgvwater.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
on 11-4-2008 10:01 AM Symon Chalk spake the following:<br>
<div><div></div><div class="Wj3C7c">> I had an issue come up today with MailScanner, quite why it only<br>
> suddenly surfaced I don't know (I'm guessing someone did an update on<br>
> the server and hasn't fessed up).<br>
><br>
> Anyway, the issue was that MailScanner would continually cycle over the<br>
> same messages time and again, never actually processing them (although<br>
> it'd virus and SpamAssassin scan them, just not deliver them on). The<br>
> only error was in /var/log/messages, being variations on the following:<br>
> "Process did not exit cleanly, returned 255 with signal 0".<br>
><br>
> Running check_MailScanner with Debug = yes and Debug SpamAssassin = yes<br>
> turned up the following error: "Unmatched ) in regex; marked by <-- HERE<br>
> in m/\.[a-z0-9]{3}) <-- HERE \1$/ at<br>
> /usr/lib/MailScanner/MailScanner/SweepOther.pm line 273."<br>
><br>
> I took a look at that file and couldn't see anything obviously wrong,<br>
> although it's hard to tell as the regex is actually being passed in as a<br>
> variable. To get round the problem I added the following: "$regex =<br>
> quotemeta ($regex);" just before that line, which cured the problem and<br>
> doesn't seem to have broken anything else (check_MailScanner returned no<br>
> problems and the server is now processing mail correctly).<br>
><br>
> Any thoughts on what could have caused this and whether my fix is okay?<br>
><br>
> TIA,<br>
><br>
> Symon.<br>
><br>
</div></div>Since you didn't state which version you are running, it could be an old bug,<br>
or it could be new.</blockquote><div><br></div>D'oh! I'm running 4.72.5-1 on a CentOS 5.2 box.<div><br></div><div>Symon. </div></div></div>