Re: The issue of checking filename from mailscanner

Shawn Iverson via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
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?
>
>
>



-- 
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.