Christian R??ner: > The most common library is libmilter and I have no > idea, what exactly this Postfix feature means? By asking, I think > about two callbacks in libmilter: > > xxfi_header(SMFICTX *ctx, char *header_key, char *header_value)
If the client requests SMTPUTF8, header values may contain UTF-8 content. Otherwise, non-ASCII header values are not SMTP-compliant. The protocol spec does not cover undefined behavior. > xxfi_body(SMFICTX *ctx, unsigned char *bodyp, size_t body_len) Non-ASCII has always been allowed here, as long as the client requests the 8BITMIME extension, and as long as the proper charset is announced in a content header. Otherwise, the message is non-compliant, and the protocol spec does not cover undefined behavior. Wietse