Re: list test

[email protected] Sat, 20 Sep 2003 18:29:28 +0200
Newsgroups gmane.comp.apache.metuxmpm
Message-ID <[email protected]>
-                                                 [email protected]
---------------------------------------------------------------------


--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Sep 20, 2003 at 06:25:37PM +0200, [email protected] wrote:
> -                                                 [email protected]
> ---------------------------------------------------------------------
> 
> On Sat, Sep 20, 2003 at 06:24:14PM +0200, [email protected] wrote:
> 
> > > please ack if you receive this mail.
> > 
> > my bsmtp spool says, this mail goes only to 2 people outside of my host :(
> 
> changed the list, but again only to 2 outgoing people.
> must be some sendmail problem.

Hah! It was my outgoing spamfilter!

This thing should filter out error replies, since I get the whole domain
via UUCP and so cant stop non-existent targets ...

I can't find the error, please have a look over it.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT services

 phone:     +49 36207 519931         www:       http://www.metux.de/     
 fax:       +49 36207 519932         email:     [email protected]
 cellphone: +49 174 7066481	     
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bsmtp.filter"

#!/usr/bin/perl

$cmdline = "|/usr/lib/bsmtp/bsmtp.orig ".$ARGV[0]." ".$ARGV[1]." ".$ARGV[2]." ".$ARGV[3]." ".$ARGV[4];

$_ = $cmdline;
if (/MAILER-DAEMON/)
{
    die ( "outpost to MAILER-DAEMON - not wanted\n" );
}

while (<STDIN>)
{
    if (/name="[A-Za-z0-9_\-\.]+\.pif"/)
    {
	die ( ">>>> BSMTP ABORT: possible virus postout - prohibited\n" );    
    }
    if (/MAIL FROM:.*MAILER-DAEMON/)
    {
	die ( ">>>> BSMTP ABORT: looping back MTA error message - we dont want this.\n" );    
    }
    $text .= $_;
}

open ( FILE, $cmdline );
print FILE $text;
close ( FILE );

--wac7ysb48OaltWcw--