> On Oct 5, 2017, at 8:46 AM, florian <[email protected]> wrote:
>
> 220 SMTP Welcome
> EHLO XXXXXXXXXXXX
> 250-SIZE 12582912
> 250-DSN
> 250-ENHANCEDSTATUSCODES
> 250-AUTH NTLM
> 250-8BITMIME
> 250 OK
> MAIL FROM:<XXXXXXX@XXX>
> 250 2.1.0 Sender OK
> RCPT TO:<XXXX@XXXX> ORCPT=rfc822;XXX@XXXX
> 250 2.1.5 Recipient OK
> DATA
> 354 Start mail input; end with <CRLF>.<CRLF>
Postfix sends "SIZE=" in "MAIL FROM" unless it is going to do 8bit to 7bit
downgrade:
case SMTP_STATE_MAIL:
request->msg_stats.reuse_count = session->reuse_count;
GETTIMEOFDAY(&request->msg_stats.conn_setup_done);
REWRITE_ADDRESS(session->scratch2, request->sender);
QUOTE_ADDRESS(session->scratch, vstring_str(session->scratch2));
vstring_sprintf(next_command, "MAIL FROM:<%s>",
vstring_str(session->scratch));
/* XXX Don't announce SIZE if we're going to MIME downgrade. */
if (session->features & SMTP_FEATURE_SIZE /* RFC 1870 */
&& !SMTP_MIME_DOWNGRADE(session, request))
vstring_sprintf_append(next_command, " SIZE=%lu",
request->data_size);
if (session->features & SMTP_FEATURE_8BITMIME) { /* RFC 1652 */
if (strcmp(request->encoding, MAIL_ATTR_ENC_8BIT) == 0)
vstring_strcat(next_command, " BODY=8BITMIME");
else if (strcmp(request->encoding, MAIL_ATTR_ENC_7BIT) == 0)
vstring_strcat(next_command, " BODY=7BIT");
else if (strcmp(request->encoding, MAIL_ATTR_ENC_NONE) != 0)
msg_warn("%s: unknown content encoding: %s",
request->queue_id, request->encoding);
}
So it would appear (if your reported transcript is accurate) that
Postfix did not believe the peer to be 8BITMIME-capable. Since
the SMTP server's EHLO reply does in fact include 8BITMIME, I can
only conclude that you have some sort of filter in place on the
EHLO keywords or server reply.
Post configuration details. http://www.postfix.org/DEBUG_README.html
Try to avoid links to pictures. Use "tshark" instead of "wireshark",
and post text.
--
Viktor.