[Mimedefang] Embedded Perl mode not working

Mark London mrl at psfc.mit.edu
Thu Feb 16 15:54:16 EST 2023


ARG.   This is confusing because mimedefang.pl has 
/etc/mail/mimedefang-filter as it's default.

sub main {
     my($Filter);
     my($workdir);
     $Filter = '/etc/mail/mimedefang-filter';

At some point I must have removed the symbolic 
link/etc/mimedefang-filter by accident, and I ran

mimedefang -test

And I thought everything was ok.  I didn't notice that the processes 
were looking at a different file.

So  /etc/mimedefang-filter the default setting for SUBFILTER?

Foobar! - Mark

On 2/16/2023 2:55 PM, Richard Laager via MIMEDefang wrote:
> On 2/16/23 13:36, Mark London via MIMEDefang wrote:
>> Note that I’m using the version that is downloaded from Ubuntu and 
>> not from the mimedefang’s website.
>
> FWIW (which is not much), embedded Perl works on Ubuntu 20.04. I have 
> not tested on Ubuntu 22.04.
>
> In this message:
> https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/2023-February/118878.html 
>
>
> Your output contains:
> defang     26322   26295  0 16:58 ?        00:00:00
> /usr/bin/mimedefang-multiplexor -E -F /etc/mimedefang-filter -m 2 -x 10
> -U defang -b 600 -l -y 0 -s
>
> Note the /etc/mimedefang-filter while you indicated your filter is at 
> /etc/mail/mimedefang-filter.
>




More information about the MIMEDefang mailing list