The issue of checking filename from mailscanner

zephyr zephyr at flytonet.com
Wed Mar 17 01:45:30 UTC 2021


Thanks for your relply. Yes,I want know how to quarantine the whole message
if a file is blocked.

I can forward email to myblacklist account to achieve my goal. But I cannot
release original message as before.

Any idea?

-----Original Message-----

Message: 1
Date: Sun, 14 Mar 2021 10:02:44 -0400
From: Shawn Iverson <shawniverson at summitgrid.com>
To: mailscanner at lists.mailscanner.info
Subject: Re: The issue of checking filename from mailscanner
Message-ID: <0a733130-eade-3a9c-2eb5-7f1af2a580aa at summitgrid.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

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/bf
138178/attachment-0001.html>

------------------------------

Subject: Digest Footer



--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner


------------------------------

End of MailScanner Digest, Vol 183, Issue 3
*******************************************



More information about the MailScanner mailing list