The issue of checking filename from mailscanner

Shawn Iverson shawniverson at summitgrid.com
Sun Mar 14 14:02:44 UTC 2021


Are you wanting to quarantine the whole message if a file is blocked?

On 3/12/21 4:12 AM, zephyr wrote:
>
> I use filename.rules.conf to detect unallowed filenames,and setting 
> partameter such as “deny \.iso$” to quarantine the email message that 
> contain the illegal file type.
>
> After checking it,I can release then original message to user.( cp -p 
> $quarantined_file /var/spool/postfix/incoming/$mailname)
>
> But this command still send the mail to the receiver but without the 
> quarantined file before I release the email.
>
> I am wondering if there is a command can quarantine this mail and stop 
> sending to user, until I checked and allow it to the recipient?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20210314/bf138178/attachment.html>


More information about the MailScanner mailing list