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.

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.
I assume postfix relies on proper content-* lines, but through telnet
these here lines are not added and postfix just passes the mail over.

How do I tell Postfix to do 8bit->7bit conversion then?

I have tried some dirty tricks too: like trying (as a first step) to
add  content-type header lines to all outgoing emails with
smtpd_sender_restrictions = regexp:/etc/postfix/access in my main.cf and
/.*/ PREPEND mime-header-example: just an example 8bit to my access file
(for a later postfix 8 to 7 conversion) but nothing is added at all to
the headers.

I am stuck there. Any help greatly appreciated.

Thanks,
RC.

Reply via email to