1

Topic: Mark email with banned file as spam?

- iRedMail version: 0.7.4
- Linux/BSD distribution name and version: Debian Squeeze

I have a stock install and users are getting spam with a zip file containing an exe. I want to either have this marked as spam and delivered or have it discarded.  In/etc/amavis/conf.d/50-user, I see that the final_banned_destiny is set to D_PASS. How would I get this type of email marked as spam?  In the email that was delivered I see the X-Amavis-Alert: BANNED, message contains .exe,.exe-ms,BBB report.exe, but that's it.

Thanks,

Mike

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Mark email with banned file as spam?

mikeb wrote:

I see that the final_banned_destiny is set to D_PASS. How would I get this type of email marked as spam?

I'm afraid you cannot mark it as spam in Amavisd directly. Try global sieve rule instead.

3

Re: Mark email with banned file as spam?

Thanks, I'll try that.