This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
how_to:data_stream_contained_nul_character [2016/05/11 09:39] – paul | how_to:data_stream_contained_nul_character [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Data stream contained NUL character====== | ======Data stream contained NUL character====== | ||
+ | |||
+ | =====Description of the problem===== | ||
NUL characters (bytes with value 0) are not allowed in email messages and should not be transmitted over POP3, SMTP or IMAP4 except in certain circumstances. If an attachment contains such a byte it must be encoded using //Base64// or // | NUL characters (bytes with value 0) are not allowed in email messages and should not be transmitted over POP3, SMTP or IMAP4 except in certain circumstances. If an attachment contains such a byte it must be encoded using //Base64// or // | ||
Line 6: | Line 8: | ||
For incoming SMTP, VPOP3 will reject a message that contains a NUL character and the sender should receive a delivery failure report. This is the correct thing to do when receiving an invalid message. | For incoming SMTP, VPOP3 will reject a message that contains a NUL character and the sender should receive a delivery failure report. This is the correct thing to do when receiving an invalid message. | ||
- | For incoming POP3, VPOP3 will not download the message, it will report an error message to the administrator, | + | For incoming POP3, VPOP3 will not download the message, it will report an error message to the administrator, |
So, the ideal solution would be for the upstream mail server to sort the problem out, as the problem is coming from there (they should either reject the message, or recode the message to base64 or quoted-printable encoding). | So, the ideal solution would be for the upstream mail server to sort the problem out, as the problem is coming from there (they should either reject the message, or recode the message to base64 or quoted-printable encoding). | ||
Line 38: | Line 40: | ||
Set the < | Set the < | ||
- | **Note:** you should use VPOP3 v6.16 or later if possible. Earlier versions had a bug which meant this setting did work in every situation. | + | **Note:** you should use VPOP3 v6.16 or later if possible. Earlier versions had a bug which meant this setting did not work in every situation. |
| | ||
| | ||
Keywords: null character 10506 | Keywords: null character 10506 |