Quote:
|
Originally Posted by RobLarose Is there a simple way to turn off 8BitMime entirely in Postfix, so that even though Exchange allows it, it will send everything in 7bit? |
Well there's a command for the
exact opposite of what you want to do; added in 2.1? I think. It disables the conversion of 8BIT > 7BIT format, so that it uses 8bit only. (disable_mime_output_conversion the default is no)
But you want "to turn off 8BitMime entirely"... not force the use of it, so you can pretty much ignore that.
Now the idea-(though this would kill 8bit in exchange)
-leaving the above alone so that postfix still 8bit > 7bit
-turn off ESMTP verbs in exchange
How to turn off ESMTP verbs in Exchange 2000 Server and in Exchange Server 2003
(for those that find this later there's also
How to turn off 8BITMIME in Windows 2000 and in Windows Server 2003 SMTP service)
-thus 8bit will not be advertised on the exchange box, so the postfix box will send in 7bit
-then there's no downgrade of any type on the exchange box taking place!
So your mail looks like:
postfix internal: 8bit > 7bit
postfix external to exchange: 7bit
exchange to some other domain: 7bit
It's not really your fault that the other end doesn't take 8bit-they really should upgrade. But at the same time exchange should be better backwards compatible...I don't feel like wasting my time reading into MS shortcommings...
Alternatively, you could force exchange to use of the simpler HELO command instead, or the more complicated EHLO scheme; by creating a SMTP connector for just the domains that are failing.
How to configure the SMTP connector in Exchange 200x Quote:
|
Originally Posted by RFC2821 sec 3.2 Servers MUST NOT return the extended EHLO-style response to a HELO command. |
While I hate to blame the box that works...on the Postfix helo front there's also
smtpd_recipient_restrictions of always_send_ehelo=yes, never_send_ehelo=yes, (and think there's even the opposites never_send_helo & always_send_helo - which would be the same as always send ehelo so I don't know why this redundancy)
EDIT:
smtpd_discard_ehlo_keywords -A case insensitive list of EHLO keywords (pipelin- ing, starttls, auth, etc.) that the SMTP server will not send in the EHLO response to any remote SMTP client.
or the more complicated:
smtpd_discard_ehlo_keyword_address_maps - Lookup tables, indexed by the remote SMTP client address, with case insensitive lists of EHLO keywords (pipelining, starttls, auth, etc.) that the SMTP server will not send in the EHLO response to a remote SMTP client.
Note: smtpd_helo_required is
not what your looking for; even though it sound's like it would be. It has to do with requiring that the client sends the HELO/EHLO command before sending the MAIL FROM/ETRN command. This is off by default.