Patch: Fix header wrap character error

2018-07-11 Thread Patrick Ben Koetter
The attached patch fixes a header wrap problem. Amavis would, regardless of the wrap char used in the original mail, always use a TAB to indent the long header lines. This would break DKIM signatures. The patch makes the behaviour configurable. p@rick -- [*] sys4 AG https://sys4.de, +49

Patch: Fix UTF8 character encoding

2018-07-11 Thread Patrick Ben Koetter
The attached patch fixes an UTF8 encoding error in amavis. p@rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief

Patch: New PGP handling

2018-07-11 Thread Patrick Ben Koetter
The attached patch introduces a new, separate way to handle PGP messages alternatively from CC_UNCHECKED.',1', which puts PGP and password-protected Archives into the same bucket. The latter approach is not able to alarm / edit the subject, when a password-protected ZIP is detected, but remain

Patch: Long SMTP response lines

2018-07-11 Thread Patrick Ben Koetter
The attached patch sets a new length for SMTP response lines and makes the length configurable at the same time. It became necessary to develop this patch, to store (and not truncate) SMTP responses when multiple virus scanners detect malware and all report the finding and the overall length