Re: The issue of checking filename from mailscanner

zephyr via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
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 <[email protected]>
To: mailscanner-qhrM8SXbD5JTOyd/[email protected]
Subject: Re: The issue of checking filename from mailscanner
Message-ID: <0a733130-eade-3a9c-2eb5-7f1af2a580aa-CHF4LgeilpSzSzjNS9e3XA@public.gmane.org>
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-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner


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

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



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.