Vetinari's $HOME

NAME

chunking - plugin for the CHUNKING SMTP extension (RFC 1830/3030)

DESCRIPTION

The chunking plugin adds the SMTP CHUNKING extension from RFC 3030 ``SMTP Service Extensions for Transmission of Large and Binary MIME Messages'' to qpsmtpd.

NOTE

This plugin was never tested in the wild, so I don't know how real clients behave ... :-)

Last time this plugin was tested was around qpsmtpd v0.40 or v0.43, it may not even run with >= 0.80

CONFIG

This plugin just accepts one parameter:

binarymime

This enables the "BODY=BINARYMIME" MAIL FROM: parameter. If not present, it will reject a MAIL FROM:<sender@example.net> BODY=BINARYMIME

with a 555 error (see RFC 1869).

Don't enable unless you're sure the backend MTA can handle this.

NOTES

This plugin has never been tested with a real remote MTA

DON'T USE :P

TODO

headers

get headers earlier, so we can run a (currently non existing) data_headers? hook...

NOTE: data_headers_end hook now exists, but this plugin has no support for it.

CRLF

s/\r?\n$/\n/: only in headers ... and in body when BODY=BINARYMIME was not? given