rc: > My ultimate goal: Send 7bit mail to certain users > > I have tried the brute force smtp_never_send_ehlo=yes in the mail.cf and > I have tried the more elegant solution using > master.cf > sevenbit unix - - n - - smtp > -o smtp_never_send_ehlo=yes > > and transport file > > Both solutions work as expected if I test them with a mail command > ie: echo test ? | mail [EMAIL PROTECTED] > I get quoted-printable for the designed addresses and 8 bit for the others.
Your mail command creates an 8BITMIME message. Postfix down-grades it to 7BIT as required by Internet mail RFC documents. > However if I telnet to port 25 it does't work. There is no conversion, > and no mime headers are present or added by Postfix. Postfix does not add MIME headers. That is the job of the mail USER agent, not the job of the mail TRANSFER agent. > How do I tell Postfix to do 8bit->7bit conversion then? MIME conversions are defined only for mail that plays by the rules of the MIME protocols. So it is your job to provide MIME compliant messages. Wietse