Article delegate-en/4579 of [1-5042] on the server localhost:7119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] POP3 Filtering Issue
23 Sep 2009 19:08:14 GMT Patrick Chee <p4miqbdyi-2t53nteaift6.ml@delegate.org>

What is it about this following that delegate chokes on after being
processed thru a message filter?

 *Return-Path:*
<juanvi@affinity.every1.net<http://musidata.com/webmail/src/compose.php?send_to=juanvi%40affinity.every1.net>
>
*X-Original-To:*
info@classics-plus..<http://musidata.com/webmail/src/compose.php?send_to=info%40classics-plus.com>
*Delivered-To:*
info_classics@musidata..<http://musidata.com/webmail/src/compose.php?send_to=info_classics%40181692-web1.musidata.com>
*Received:* from g225065124.adsl.alicedsl.de
(g225065124.adsl.alicedsl.de[92.225.65.124])
     by 181692-web1.musidata.com (Postfix) with SMTP id 01E3B6582EF
     for <info@classics-plus.com<http://musidata.com/webmail/src/compose.php?send_to=info%40classics-plus.com>>;
Tue, 22 Sep 2009 19:30:27 -0500 (CDT)
*Received:* (qmail 261[3
*Message-Id:* <20090923003028.01E3B6582EF@musidata..>
*Date:* Tue, 22 Sep 2009 19:30:27 -0500 (CDT)
*From:* juanvi@every1..<http://musidata.com/webmail/src/compose.php?send_to=juanvi%40affinity.every1.net>
*To:* undisclosed-recipients:;
Here is the perl script I use:

#!/usr/bin/perl

open  TORD, ">", "temp.txt";
open LOG, ">worklog.txt";
print LOG "reading STDIN\n";
readline <STDIN>;
print LOG "writing temp\n";
while (<STDIN>)

{
    s/[\x7f-\xff]/??/g;

    print TORD $_;

}

close TORD;
print LOG "running spamc\n";
$ech = `/usr/bin/spamc < temp.txt`;
#print $meh;
#print $ech;
print LOG "final output\n";
print "+OK ".length($ech)." octets\015\012";
print $ech;
print ".\015\012";
print LOG "finished\n";
close LOG;
exit 0;

Any help would be appreciated.

fliptw


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V