summaryrefslogtreecommitdiffstats
path: root/amavis
AgeCommit message (Collapse)Author
2019-02-01Update dates in copyright headersMichael Weiser
Happy new year!
2018-11-12Work around Perl 5.22.1 UTF-8 encoding problemMichael Weiser
When running under perl 5.22.1 e.g. on Ubuntu 16.04 safe_decode_mime somehow corrupts the original value of its argument so we may get errors in totally unrelated code later on such as: FAILED: Malformed UTF-8 character (fatal) at /usr/sbin/amavisd-new line 10210. Work around that by forcing a copy.
2018-09-03Fix custom protocol call parameter graftingMichael Weiser
Changing @_ is a bad idea because Perl is call-by-reference and changing an element of @_ doesn't replace the reference in that array element with another but changes the referenced object's value. In our case, due to the internals of amavis, this would make the next call that should go to ask_peekaboo go completely around it and run_av and directly into ask_peekaboo_internal which would choke on the wrong argument data types. The seeming nondeterminism of this is aggravated by the fact that amavis' children and objects seem to have a lifetime after which they would revert to a sane state, masking the problem.
2018-08-28Clean up meta info protocolMichael Weiser
Remove unused meta info fields from protocol, i.e. queue_id, type_long, type_short, size, digest and attributes.
2018-08-28Switch to JSON protocol on amavis socketMichael Weiser
Expect metadata JSON encoded via socket instead of going searching for metadata files. This should also eliminate any need for chown2me.
2018-08-23Update documentation regarding amavis patchingMichael Weiser
Remove references to patched amavis and replace with the new ask_peekaboo plugin. Include the ask_peekaboo amavis plugin here. Add documentation on AMaViS version requirements.
2018-01-09Remove patches for AMaViSdSebastian Deiss
As of today we provide a patched version of AMaViSd in a separate repository. https://github.com/scVENUS/PeekabooAV-amavisd
2017-05-23Import from our internal VCSSebastian Deiss