Age | Commit message (Collapse) | Author |
|
Happy new year!
|
|
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.
|
|
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.
|
|
Remove unused meta info fields from protocol, i.e. queue_id, type_long,
type_short, size, digest and attributes.
|
|
Expect metadata JSON encoded via socket instead of going searching for
metadata files. This should also eliminate any need for chown2me.
|
|
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.
|
|
As of today we provide a patched version of AMaViSd in a separate repository.
https://github.com/scVENUS/PeekabooAV-amavisd
|
|
|