1

Topic: block letters in spoiled headers

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):0.9.4
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: debian 8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi.
Amavis skips invalid headers:
X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: part did not end with     expected boundary; ; error: unexpected end of parts before epilogue

Pass letters from intruders.
How to block such letters?
Thank.

----

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

2

Re: block letters in spoiled headers

Do you want to block bad-header emails?
If so, update /etc/amavis/conf.d/50-user, and set:

$final_bad_header_destiny = D_DISCARD;

Note: you should find it present in this file, just update the value and restart "amavis" service.

If you're running iRedAdmin-Pro, it's easy to update it with one click in "System -> Anti Spam -> Global Spam Policy" page.

3

Re: block letters in spoiled headers

A big thank you to You and Your project!