On Thu, 24 Jan 2013, Rolf E. Sonneveld wrote: >Hi, all, > >running MD 2.71 (but the same problems shows up in 2.73) > >I have a mimedefang-filter which has run fine for more than a year now >on an old Solaris 10 system. I have installed MD and the same >mimedefang-filter on a new system (both Solaris, old one sun4u >architecture, the new one sun4v architecture). On both systems Postfix >is talking to MD, with milter version = 6. The problem I see is, that >the mimedefang-filter does not convert the message on the new system, >while it does at the old system. All I see in the log file (when I >enable debugging) is:
[snip] >MDLOG,91D573CA46,mail_in,,,<[email protected]>,<[email protected]>,New >Message [snip] The logs show than mimedefang is running and that a message has been processed. >Now, even if I add a simple log statement as begin of the filter_begin >routine, like: > >my $filename = '/tmp/report.txt'; >open(my $fh, '>>', $filename) or die "Could not open file '$filename' $!"; >print $fh "This is a test of mimedefang\n"; >close $fh; > >and I send a message, the output file of these four lines is not >written. So for some reason, it seems that mimedefang is not executing >the mimedefang-filter script at all. > >I checked file ownerships, permissions, umask etc. and compared with the >old system and everything seems to be OK, except for the result of the >mimdefang pass. > >Any suggestions much appreciated! Mimedefang won't run without a filter and it doesn't seem to be using the file you think it's using. So it probably uses another filter file. 1) Examen mimedefang.pl to see the default filter file (build time option): grep 'Filter =' `which mimedefang.pl` 2) Examen your startup scripts (and config) to see if a filter is specified at run time. Regards, Kees Theunissen. -- Kees Theunissen, System and network manager, Tel: +31 (0)30 6096724 Dutch Institute For Fundamental Energy Research (DIFFER) e-mail address: [email protected] postal address: PO Box 1207, 3430 BE Nieuwegein, NL visitors address: Edisonbaan 14, 3439 MN Nieuwegein, NL _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

