This project is read-only.

501 Parameter Not Recognised


When receiving a message with the following MAIL FROM verb, a 501 Parameter not recognised message is returned.

MAIL SIZE=5754 ENVID=X400-MTS-Identifier:+20[/PRMD+3dFirst+20Organizati/ADMD+3d+20/C+3dGB/;DC01-140416101643Z-98] RET=FULL

I have created an extension to handle the ENVID and RET parameters, however when the verb is parsed, the ENVID parameter is read in as "ENVID=X400-MTS-Identifier" and the remainder handled as an additional parameter. According to RFC 3461, ':' is a valid character for the ENVID parameter, however it is not treated as such.