I've installed and integrated the program renattach.
exist on Debian 10 as renattach_1.2.4-5_amd64.deb in Debian Main repository.
Of course we need a link to plesk mailhandler. Here is.
Its perl and bash.
put the perl program to /usr/local/sbin and both bash scripts to /usr/local/bin. and make them executable
.
Configuration is made within renattach
exist on Debian 10 as renattach_1.2.4-5_amd64.deb in Debian Main repository.
Renattach is a small, efficient and surprisingly effective filter
designed primarily to offer an additional level of safety to Windows
users whose e-mails pass through a UNIX-like mail server. Many modern
viruses are spread through e-mail, and renattach combats such viruses by
filtering e-mail attachments based on file extension. The idea is to
rename potentially dangerous attachments (executable ones) so that
the user, or the user's poorly written e-mail software, does not
accidentally execute the attachment.
Of course we need a link to plesk mailhandler. Here is.
Its perl and bash.
put the perl program to /usr/local/sbin and both bash scripts to /usr/local/bin. and make them executable
.
Configuration is made within renattach