• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Postfix and corrupted attachments in e-mails

awitt

New Pleskian
Plesk 9.5.4 MU16 (Debian 5.0 / Fedora 8), Postfix v2.4.5/2.5.5/2.7.1

I noticed that the postfix does not remove the invalid characters (including the NULL character) from the e-mail.
Enabling "message_strip_characters = \0" in postfix not give the expected result.


When you disable a filter in master.cf

smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
on
smtp inet n - - - - smtpd

everything is working properly. Attachment from an e-mail is not corrupt, illegal characters are removed by the system.


---- To reproduce the problem ----
Use the swaks (apt-get install swaks) and a file attachment file_a1.txt (https://rapidshare.com/files/2733667230/file_a1.txt)

swaks --to email@domain.com --add-header "Mime-Version: 1.0" --add-header "Content-Type: multipart/mixed; boundary=\"------------020306020107050807090401\"" --body file_a1.txt -S

file containing a NULL character: https://rapidshare.com/files/2733667230/file_a1.txt
file containing the command swaks: https://rapidshare.com/files/1372573367/file_a2.txt
 

Attachments

  • files_a1a2.zip
    4.7 KB · Views: 0
Back
Top