[Mimedefang] Mime no longer dying but filter not working

Mark Penkower mark at roycenet.com
Thu Dec 4 10:19:08 EST 2003


my $syslog = &_PATH_LOG || croak "_PATH_LOG
  not found in syslog.ph";
And what does the FAQ say it should read? ;-)


David,

Sorry for my bad proofreading - I changed the line, and Mimedefang no 
longer dies.

I still have 2 issues:

1 - Here is my /etc/mimedefang-filter:

sub filter_end {
    my($e) = @_;
    append_text_boilerplate($e, "Lame plain-text boilerplate", 0);
    append_html_boilerplate($e, "Lame <em>HTML</em> boilerplate", 0);
}


1;

The filter dosen't add the text -  The message arrives unchanged - what am 
I doing wrong?

Here are the entries in the maillog:

Dec  4 10:03:51 questbarf sendmail[996]: hB4F3pf0000996: 
from=<mark at roycenet.com
 >, size=349, class=0, nrcpts=1, 
msgid=<5.1.0.14.2.20031204100343.03f66c88 at 192.16
8.253.50>, proto=ESMTP, daemon=MTA, relay=[192.168.253.112]
Dec  4 10:03:51 questbarf mimedefang.pl[864]: 
MDLOG,hB4F3pf0000996,mail_in,,,<ma
rk at roycenet.com>,<mark at roycenet.com>,Test
Dec  4 10:03:51 questbarf sendmail[996]: hB4F3pf0000996: Milter add: 
header: X-S
canned-By: MIMEDefang 2.39
Dec  4 10:03:51 questbarf sendmail[999]: hB4F3pf0000996: 
to=<mark at roycenet.com>,
  ctladdr=<mark at roycenet.com> (101/100), delay=00:00:00, xdelay=00:00:00, 
mailer=
local, pri=30600, dsn=2.0.0, stat=Sent


2 - Can I configure Mimedefang to not add the X-S
canned-By: MIMEDefang 2.39 header.


Thank you again.


Mark Penkower



More information about the MIMEDefang mailing list